USB start failed in Uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB start failed in Uboot

595 Views
rahul_raja
Contributor I

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.

Labels (1)
0 Kudos
Reply
5 Replies

537 Views
rahul_raja
Contributor I

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

0 Kudos
Reply

481 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

How about your design, usb1 work as otg and usb2 work as host? Which usb interface are you using, type-C or micro usb?

0 Kudos
Reply

449 Views
rahul_raja
Contributor I
Yes, our design configures USB1 to work as OTG and USB2 to function as host and also using micro usb
0 Kudos
Reply

432 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You modify the usb2 setting may not affect the USB1 in generally, are you changing in the board dts file or chip dts file?

0 Kudos
Reply

546 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version BSP are you using? And which boot device you boot up from here, SD card or emmc?

0 Kudos
Reply