Hi there I’m trying this out on a Rockpi 4b, and wondering if USB OTG is supported?
I see on the bootlog of the announcement that it probably is. Is there some clues somewhere about how to enable the board to boot to that mode?
gpio0: mem 0x2000a000-0x2000a0ff irq 86 on simplebus0
gpioc0: on gpio0
gpiobus0: on gpio0
gpio1: mem 0x2003c000-0x2003c0ff irq 87 on simplebus0
device_attach: gpio1 attach returned 6
gpio1: mem 0x2003e000-0x2003e0ff irq 88 on simplebus0
device_attach: gpio1 attach returned 6
gpio1: mem 0x20080000-0x200800ff irq 89 on simplebus0
device_attach: gpio1 attach returned 6
dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0x10180000-0x101bffff irq 48 on simplebus0
usbus0 on dwcotg0
dwcotg1: <DWC OTG 2.0 integrated USB controller> mem 0x101c0000-0x101fffff irq 49 on simplebus0
usbus1 on dwcotg1
uart0: <16650 or compatible> mem 0x20064000-0x200643ff irq 68 on simplebus0
uart0: console (115200,n,8,1)
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen1.1: at usbus1
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: at usbus0
uhub1: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
random: unblocking device.
Release APs
I have tried also using the dwc3 usb driver, with no better results. It seems to be in host mode, not device mode no matter what position the physical switch is in.
I’m using this documentation to try to make an iSCSI target accessible as a USB mass storage device to whatever host I plug it in to.