I have the USB OTG port (micro connector), ethernet and console connected to my Linux host.
I run recovery-linux.sh from the Linux host
I get the following in the Console output:
U-Boot 2020.04-5.3.0+git.7f3416a28c34 (Jul 06 2021 - 15:49:48 +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... *** Warning - bad CRC, using default en+-----------------------------+
In: serial
Out: serial
Err: serial
Model: Toradex Apalis iMX8 QuadPlus 2GB V1.2A, Serial# 10774541
BuildInfo:
- SCFW bc122ee1, SECO-FW d63fdb21, IMX-MKIMAGE 8947fea3, ATF 835a8f6
- U-Boot 2020.04-5.3.0+git.7f3416a28c34
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
*** Warning - Use default environment for mfgtools
, using default environment
Run bootcmd_mfg: select_dt_from_module_version && fastboot 0
Hit any key to stop autoboot: 0
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
USB init failed: -19
Apalis iMX8 TEZI #
It looks like that you entered the wrong SN, this Serial number is from the carrier board and not from the module. Could you stop in U-Boot and launch the command cfgblock create and enter the correct SoM information?
I am using v1.1c for the SoM, with Ixora V1.2A. I am running recovery-linux.sh from my Ubuntu host.
Here is the complete bootlog:
U-Boot 2020.04-5.3.0+git.7f3416a28c34 (Jul 06 2021 - 15:49:48 +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... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: Toradex Apalis iMX8 QuadMax 4GB IT V1.1C, Serial# 06874843
BuildInfo:
- SCFW bc122ee1, SECO-FW d63fdb21, IMX-MKIMAGE 8947fea3, ATF 835a8f6
- U-Boot 2020.04-5.3.0+git.7f3416a28c34
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
*** Warning - Use default environment for mfgtools
, using default environment
Run bootcmd_mfg: select_dt_from_module_version && fastboot 0
Hit any key to stop autoboot: 0
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
USB init failed: -19
Apalis iMX8 TEZI #
U-Boot 2020.04-5.3.0+git.7f3416a28c34 (Jul 06 2021 - 15:49:48 +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... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: Toradex Apalis iMX8 QuadMax 4GB IT V1.1C, Serial# 06874843
BuildInfo:
- SCFW bc122ee1, SECO-FW d63fdb21, IMX-MKIMAGE 8947fea3, ATF 835a8f6
- U-Boot 2020.04-5.3.0+git.7f3416a28c34
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
*** Warning - Use default environment for mfgtools
, using default environment
Run bootcmd_mfg: select_dt_from_module_version && fastboot 0
Hit any key to stop autoboot: 0
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
USB init failed: -19
Apalis iMX8 TEZI #
I don’ t know why the configblock information was wrong. I checked the production and testing log for this module and the configblock was programmed. Nevertheless, could you reset the environment from U-Boot (env default -a ; saveenv) and check if the SoM is booting?
Is the configblock stored in MMC? Could it be that I erased it when flashing the device?
I reset the environment in U-Boot via “env default -a; saveenv)” but it still reports the same (see console log, I think it is the same).
I can still boot the device and flash/recover if I use tezi thud 2.0b7.
Could it be that I am using the Ixora V1.2A version of the carrier board?
Best,
Paul
U-Boot 2020.04-5.3.0+git.7f3416a28c34 (Jul 06 2021 - 15:49:48 +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 IT V1.1C, Serial# 06874843
BuildInfo:
- SCFW bc122ee1, SECO-FW d63fdb21, IMX-MKIMAGE 8947fea3, ATF 835a8f6
- U-Boot 2020.04-5.3.0+git.7f3416a28c34
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
*** Warning - Use default environment for mfgtools
, using default environment
Run bootcmd_mfg: select_dt_from_module_version && fastboot 0
Hit any key to stop autoboot: 0
We are in is_imx8
Getting phy ctrl
We are in is_imx8
Getting phy ctrl
No USB device found
USB init failed: -19
Apalis iMX8 TEZI #
I have no USB sticks attached. I am using unattended flashing over Ethernet. I am providing the image by using a local web server (linux running nginx) that provides DNS (tezi.toradex.com) and DHCP.
I am wondering how can I test manually or without a local server if the Linux image is never loading? I may not have mentioned that, but the console output stops at the U-boot prompt, never loads Linux.
I have tried several cables and different ports to my host machine. Please note that I do not have these problems with my host machine/cables when I use Apalis-iMX8_ToradexEasyInstaller_2.0b7-20210415.zip.
I also tried a different host, another cable, and another Apalis IMX8. Same error. U-boot never loads the easy installer Linux, just reports the USB error.
Do you see this issue only on module with Ixora 1.2 or also on other SoMs? If this is only one exact combination of SoM and carrier board, then please file up a RMA here.