Since I am unable to install images any other way, I am trying to get the Toradex Easy Installer installed via recovery mode.
Following the instructions given here, I shorted the pads on the module, connected the USB cable to the PC, and then ran the recovery-windows.bat script. (I had to try several times before anything happened.)
On the attempts that result with any activity, the script fails on step 1 of 9 with Failure open usb device and the following was displayed on the console:
U-Boot 2018.03-toradex_imx_v2018.03_4.14.98_2.3.0_bringup+g553fb1fa86 (Nov 02 2020 - 09:44:18 +0000)
CPU: Freescale i.MX8QM revB A53 at 1200 MHz at 39C
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.0B, Serial# 06494646
BuildInfo:
- SCFW b929edfe, SECO-FW 27167ff2, IMX-MKIMAGE d7f9440d, ATF bb209a0
- U-Boot 2018.03-toradex_imx_v2018.03_4.14.98_2.3.0_bringup+g553fb1fa86
switch to partitions #0, OK
mmc0(part 0) is current device
Detected a V1.0 module, setting correct devicetree
Saving Environment to MMC... Writing to MMC(0)... OK
Detect USB boot. Will enter fastboot mode!
Net: eth0: ethernet@5b040000
Fastboot: Normal
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: select_dt_from_module_version && fastboot 0
Hit any key to stop autoboot: 0
Detected a V1.0 module, setting correct devicetree
Saving Environment to MMC... Writing to MMC(0)... OK
Repeated attempts yield the same result, except now my module has a corrupted u-boot environment.
I would appreciate help on this issue as I have been stuck in problems like this for the past week!
Downloading Toradex Easy Installer...
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-0-ga9c099a
Success 0 Failure 1
1:9 1/ 0 [Failure open usb device ]
ECHO is off.
Downloading Toradex Easy Installer failed...
Press any key to continue . . .
Some of the output is erased: I start recovery-windows.bat and it says it is waiting; I then power up the Apalis evaluation board with the recovery pads shorted; then I plug in the USB cable; at this point uuu detects the module and starts the first step of loading and on the serial console I see:
U-Boot 2018.03-toradex_imx_v2018.03_4.14.98_2.3.0_bringup+g553fb1fa86 (Nov 02 2020 - 09:44:18 +0000)
CPU: Freescale i.MX8QM revB A53 at 1200 MHz at 26C
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.0B, Serial# 06494646
BuildInfo:
- SCFW b929edfe, SECO-FW 27167ff2, IMX-MKIMAGE d7f9440d, ATF bb209a0
- U-Boot 2018.03-toradex_imx_v2018.03_4.14.98_2.3.0_bringup+g553fb1fa86
switch to partitions #0, OK
mmc0(part 0) is current device
Detect USB boot. Will enter fastboot mode!
Net: eth0: ethernet@5b040000
Fastboot: Normal
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: select_dt_from_module_version && fastboot 0
Hit any key to stop autoboot: 0
Detected a V1.0 module, setting correct devicetree
Saving Environment to MMC... Writing to MMC(0)... OK
Then it gives the error message shown immediately above.
I set up a Linux system and I am able to flash the Toradex Easy Installer. However, the Ethernet port does not seem to be enabled, so I cannot install a Toradex pre-built image.
Tried Linux Reference Minimal Downstream SoC vendor based kernel Wayland/XWayland graphics back-end supported but not included 5.0.0: Apalis iMX8 (2020-10-06) from Toradex Embedded Linux Quarterly Releases
Linux boots, but Ethernet link cycles up and down and is unusable. Also, run bootcmd_usb0 fails due to some misconfiguration as described in my other posts, so I must use recovery mode to install a different image. I will try the latest monthly release next.
Ixora is an Apalis carrier board. Do you mean Apalis evaluation board? Ethernet works there as well. Please replace an Ethernet cable and\or Ethernet router.
Summary of the solutions to the problems I encountered:
Use a Linux machine with Recovery Mode; Windows 10 does not work.
Use a gigabit Ethernet switch with the Apalis module; the most recent versions of Easy Installer, TorizonCore, the Embedded Reference Images, and reference images built from yocto have a bug that prevents the Ethernet port from working with 100baseT switches.
Use Recovery Mode to install new images; the version of u-boot installed by any of the above images has incorrect settings that cause run bootcmd_usb0 to fail.
I hope that these problems can be addressed soon, especially the last one, since updating via USB stick is much faster without having to first go through Recovery Mode.
Please do not hijack existing threads. If you have a similar issue, kindly start a new thread and include as many details as possible, such as the hardware revision of your Apalis iMX8QM SOM and specifics about where you are encountering difficulties. Additionally, please share logs from the debug UART and any output generated by the recovery script…