USB start failed in Uboot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB start failed in Uboot

612 次查看
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 回复数

554 次查看
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 项奖励
回复

498 次查看
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 项奖励
回复

466 次查看
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 项奖励
回复

449 次查看
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 项奖励
回复

563 次查看
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 项奖励
回复