USB start failed in Uboot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB start failed in Uboot

617件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

559件の閲覧回数
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 件の賞賛
返信

503件の閲覧回数
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 件の賞賛
返信

471件の閲覧回数
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 件の賞賛
返信

454件の閲覧回数
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 件の賞賛
返信

568件の閲覧回数
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 件の賞賛
返信