Can not mount iMX8QM emmc "Couldn't init USB controller"

Hello,

i am trying to mount the emmc of an imx8qm device with a new yocto build. However with the new build (and u-boot) it is not possible on my windows nor my linux machine to mount the emmc.
I get the following error

Apalis iMX8 # ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1da4000
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
Couldn't init USB controller.

The whole boot sequence is:

U-Boot 2020.04-5.1.0-devel+git.0a26a04408ca (Dec 28 2020 - 14:02:46 +0000)

CPU:   NXP i.MX8QM RevB A53 at 1200 MHz

DRAM:  4 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT V1.1B, Serial# 06738462

 BuildInfo: 
  - SCFW 732e719a, SECO-FW 376e3c15, IMX-MKIMAGE 6745ccdc, ATF 
  - U-Boot 2020.04-5.1.0-devel+git.0a26a04408ca 

switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
Net:   eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0 
Apalis iMX8 # ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1da4000
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
Couldn't init USB controller.

any ideas?

Thank you for your help!

1 Like

Please do a usb start first.

Thank You,

I tried that but the result is still the same;

U-Boot 2020.04-5.1.0-devel+git.0a26a04408ca (Dec 28 2020 - 14:02:46 +0000)

CPU:   NXP i.MX8QM RevB A53 at 1200 MHz

DRAM:  4 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT V1.1B, Serial# 06738462

 BuildInfo: 
  - SCFW 732e719a, SECO-FW 376e3c15, IMX-MKIMAGE 6745ccdc, ATF 
  - U-Boot 2020.04-5.1.0-devel+git.0a26a04408ca 

switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
Net:   eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0 
Apalis iMX8 # 
Apalis iMX8 # 
Apalis iMX8 # usb start
starting USB...
Bus usb@5b0d0000: usb dr_mode not found
USB EHCI 1.00
Bus usbh3: XHCI-imx8 init hccr 0x000000005b130000 and hcor 0x000000005b130080 hc_length 128
Register 2000820 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@5b0d0000 for devices... 1 USB Device(s) found
scanning bus usbh3 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Apalis iMX8 # ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1da4000
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
Couldn't init USB controller.
Apalis iMX8 #

Hi
Did you remove the jumper JP2 on Ixora? I tested this and it is working fine.

Best regards,
Jaski

Hello,
no JP2 and JP3 are still in place.

Best regards

Thank you! That solved this problem!
Best regards

Perfect. You are welcome.

Could you remove JP2 and try this again?
Thanks and best regards,
Jaski