Hi,
I have flashed the i.MX8M Mini board and interrupted the boot process to access the U-Boot prompt. However, when I run the usb start command, I receive the following output
u-boot=> usb start
starting USB...
Bus usb@32e40000: Port not available.
Bus usb@32e50000: Port not available.
It seems that the USB ports are not being detected or initialized correctly in U-Boot. I need to access USB functionality from U-Boot for further testing. Could you please guide me on how to debug or resolve this issue?
Looking forward to your suggestions.
BSP Version: Yocto Scarthgap (6.6.52)
Boot Device: SD Card
Additional Information:
I have modified the U-Boot Device Tree Source (DTS) file by setting dr_mode = "host" for the usbotg2 node (usb@32e50000). Following this change, the USB controller at usb@32e50000 is now functional and successfully detecting connected USB devices.
However, the USB controller at usb@32e40000 (usbotg1) is still experiencing detection issues. The current configuration for usbotg1 has dr_mode = "otg".
Looking forward to your suggestion
How about your design, usb1 work as otg and usb2 work as host? Which usb interface are you using, type-C or micro usb?
You modify the usb2 setting may not affect the USB1 in generally, are you changing in the board dts file or chip dts file?
Which version BSP are you using? And which boot device you boot up from here, SD card or emmc?