Hi NXP,
I wish I can test usb 2.0 high speed electrical on i.mx8x.
I notice there has a usb tool in uboot.
But when I try to use it I got an error.
On imx8qm-mek
=> usb start
starting USB...
Bus usb@5b0d0000: usb dr_mode not found
Port not available.
Bus usbh3: Failed to initialize board for USB
probe failed, error -62
On imx8qxp custom board :
=> usb start
starting USB...
Bus usb@5b0d0000: Port not available.
Bus usbh3: Failed to initialize board for USB
probe failed, error -22
How can I fix it?
Solved! Go to Solution.
Hi @WolsYang ,
Hi @WolsYang,
&usbotg1 {
vbus-supply = <®_usb_otg1_vbus>;
srp-disable;
hnp-disable;
adp-disable;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg1>;
power-polarity-active-high;
disable-over-current;
status = "okay";
};
Hi @Dhruvit ,
Sorry for the late reply, USB works well in kernel but not in Uboot.
The reason I wish I can use USB in Uboot is for open USB test mode(Which I see a cmd in Uboot ' $ usb test ').
It seems like I have to set the Uboot USB config as Kernel USB config to make it work, right?
Hi @WolsYang ,
Hi @Dhruvit
CONFIG_USB=y
#Get
=> usb start
starting USB...
Bus usb@5b0d0000: Port not available.
Bus usbh3: Failed to initialize board for USB
probe failed, error -22
Should I turn some thing else on?