I am trying to get a new Pi 5 board to work as a USB Gadget. It has a combined NVME/PoE hat for power and SSD.
I am looking for suggestions on what I am doing wrong or not doing.
Thanks!
I have this working on a Pi 4 (also with a PoE hat).
I have dtoverlay set in /boot/firmware/config.txt:
By comparison on my Pi 4 I normally would see:
I am looking for suggestions on what I am doing wrong or not doing.
Thanks!
I have this working on a Pi 4 (also with a PoE hat).
I have dtoverlay set in /boot/firmware/config.txt:
After booting I do not see the dwc2 module loaded and this is what is seen from dmesg:[cm5]
dtoverlay=dwc2
Interestingly, I see the above even if the dtoverlay=dwc2 line is commented out in config.txt.dmesg | egrep dwc
[ 0.365952] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.365974] dwc_otg: FIQ enabled
[ 0.365975] dwc_otg: NAK holdoff enabled
[ 0.365977] dwc_otg: FIQ split-transaction FSM enabled
[ 0.365980] Module dwc_common_port init
By comparison on my Pi 4 I normally would see:
And of course, there is no UDC being shown in /sys/class/udc:[ 1.568703] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.571687] dwc_otg: FIQ enabled
[ 1.571702] dwc_otg: NAK holdoff enabled
[ 1.571718] dwc_otg: FIQ split-transaction FSM enabled
[ 1.571737] Module dwc_common_port init
[ 5.667303] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
[ 5.668021] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
[ 5.895744] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[ 5.902911] dwc2 fe980000.usb: DWC OTG Controller
[ 5.902951] dwc2 fe980000.usb: new USB bus registered, assigned bus number 3
[ 5.903015] dwc2 fe980000.usb: irq 37, io mem 0xfe980000
[ 5.903574] usb usb3: Manufacturer: Linux 5.10.103-v7l+ dwc2_hsotg
Confirming by trying to load g_ether:ll /sys/class/udc/
total 0
Again on the Pi 4 for comparison:dmesg | egrep g_ether
[ 1056.360992] UDC core: g_ether: couldn't find an available UDC
ll /sys/class/udc/
total 0
lrwxrwxrwx 1 root root 0 Aug 19 11:17 fe980000.usb -> ../../devices/platform/soc/fe980000.usb/udc/fe980000.usb/
Statistics: Posted by stuartlynne — Mon Aug 19, 2024 6:38 pm — Replies 0 — Views 6