Hi,
I’m currently experience the same issue like in USB storage not found in U-Boot when using USB Hub - Apalis iMX8 with the Ixora 1.3A Carrier Board and an Apalis iMX8 QuadPlus 2GB.
If I put the apalis into an ixora 1.2A the usb storage device is detected in u-boot.
The workaround with setting GPI 132 works for me too.
I’m on the Toradex Reference Image TDX Wayland with XWayland 6.3.0-devel-20230626+build.320 (kirkstone) apalis-imx8-07314409 ttyLP1
Apalis-iMX8_Reference-Minimal-Image with u-boot U-Boot 2022.04-6.3.0-devel+git.c71ae7141f30 (May 15 2023 - 16:20:01 +0000)
So we maybe need an change in the device tree in u-boot?
U-Boot 2022.04-6.3.0-devel+git.c71ae7141f30 (May 15 2023 - 16:20:01 +0000)
CPU: NXP i.MX8QM RevB A53 at 1200 MHz at 37C
DRAM: 2 GiB
Core: 193 devices, 19 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Toradex 0049 Apalis iMX8QP 2GB V1.1C
Serial#: 07314409
BuildInfo:
- SCFW f5623878, SECO-FW c9de51c0, IMX-MKIMAGE 3bfcfccb, ATF 3c1583b
- U-Boot 2022.04-6.3.0-devel+git.c71ae7141f30
flash target is MMC:0
Net: eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
Apalis iMX8 # usb start
starting USB...
Bus usb@5b0d0000: Port not available.
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 usbh3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Apalis iMX8 # usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
Apalis iMX8 # gpio set 132
gpio: pin 132 (gpio 132) value is 1
Apalis iMX8 # usb reset
resetting USB...
Bus usb@5b0d0000: Port not available.
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 usbh3 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Apalis iMX8 # usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Mass Storage (480 Mb/s, 100mA)
ATP Electronics NANODURA 9900422021600626
Hi @jonas-licht,
Thanks for reporting.
Do you see the same behaviour if you use the Toradex Reference Image 6.2 instead of 6.3 ?
Best Regards
Kevin
Hello @jonas-licht ,
Do you have any updates on this topic?
Best regards,
Josep
Hi,
sorry for the delay, I was on vacation.
I see the same behavior with the 6.2 reference image:
U-Boot 2022.04-6.2.0+git.0e1f11392251 (Mar 07 2023 - 15:27:59 +0000)
CPU: NXP i.MX8QM RevB A53 at 1200 MHz at 33C
DRAM: 2 GiB
Core: 193 devices, 19 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Toradex 0049 Apalis iMX8QP 2GB V1.1C
Serial#: 07314409
BuildInfo:
- SCFW f5623878, SECO-FW c9de51c0, IMX-MKIMAGE 3bfcfccb, ATF 3c1583b
- U-Boot 2022.04-6.2.0+git.0e1f11392251
flash target is MMC:0
Net: eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
Apalis iMX8 # usb start
starting USB...
Bus usb@5b0d0000: Port not available.
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 usbh3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Apalis iMX8 # usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
Apalis iMX8 # gpio set 132
gpio: pin 132 (gpio 132) value is 1
Apalis iMX8 # usb reset
resetting USB...
Bus usb@5b0d0000: Port not available.
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 usbh3 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Apalis iMX8 # usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Mass Storage (480 Mb/s, 100mA)
ATP Electronics NANODURA 9900422021600626
Apalis iMX8 #
Regards, Jonas
Hello @jonas-licht ,
I have been able to reproduce your issue and have asked internally. about it.
We will post any updates on this thread.
Best regards,
Josep
Hello @jonas-licht ,
This issue will be fixed in version 6.5.0 (and also in 5.7.4 for those using BSP 5)
Best regards,
Josep
@josep.tx I see a tag for release 5.7.4, but I do not see that release on Embedded Computing News (toradex.com). There the last release is 5.7.2.
Also on Embedded Linux Release Matrix | Toradex Developer Center the latest release in the BSP5 series is 5.7.2.
Could you give some insights in the fitness of release 5.7.4 for use in production?
Hello @hvdbrand ,
5.7.4 has just been released. You can find it here:
Download Links | Toradex Developer Center
Regarding your question :
Maintenance releases are production releases. We run a set of tests to validate them.
Learn more about our release types from our Embedded Linux Support Strategy.
Best regards,
Josep