Easy Installer for IMX8QP 2GB WP V1.0B

I am having trouble using the easy installer for the IMX8QP 2GB WP V1.0B module.
I have tried:

Apalis-iMX8_ToradexEasyInstaller_2.0b2-20190716

  • This is the version that I have been using for the IMX8QM
  • This version seems to load, but the image EZinstall image stalls on boot

Apalis-iMX8_ToradexEasyInstaller_2.0b3-20191029

  • This version fails before trying to download EZimage

`Downloading Toradex Easy Installer…
uuu (Universal Update Utility) for nxp imx chips – libuuu_1.2.135-0-gacaf035

Wait for Known USB Device Appear…
Error: Current uuu version is too low, please download latest one

ECHO is off.
Failed downloading Tezi
Press any key to continue . . .`

  • I located a newer version of the uuu.exe program and copied it into the recovery folder. It will now load the EZloader and attempt to boot but the EZloader Kernel crashes. I have attached the serial output when it is trying to boot

Boot Log File

Update: I just tried the latest version of the EZloader with my IMX8QM 4GB module and the kernel crashes.

I suspect that I am running into the same PCIE issue that is mentioned here:

problems-flashing-image-on-apalis-imx8

I am running on an IXORA carrier board, Is there a way to disable pcie on this board?

Can somebody verify if this is a real issue for my setup or am I doing something wrong?

Could you please specify OS and it’s version you are using on your development computer?

I am running the EZ installer on WIndows 10

I’ll try to repro your issue today. Do you have anything else connected to your Ixora board except USB cable?

USB Dongle for mouse
HDMI Cable
CSI Camera Module

Looks like 2.0b3 has some issues. Could you please use Toradex Easy installer 2.0b2 for now?

When I use Version 2.0b2, the loader will execute but when the Easy Installer kernel attempts to boot it “hangs” right before kernel boot. It does not have a kernel crash like 2.0b3 but it just stalls.

Hi @mccandlt

Sorry for the delayed answer.
Could you share the serial boot log?

Additionally please reset also the U-Boot Environment after an installation of an Image or even before the Toradex Easy Installer is starting.

Thanks and best regards,
Jaski

U-Boot 2018.03-toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup+g25f68add54 (Jul 17 2019 - 00:34:05 +0000)

CPU:   Freescale i.MX8QM revB A53 at 1200 MHz at 42C
DRAM:  2 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 QuadPlus 2GB Wi-Fi / BT V1.0B, Serial# 06494411

 BuildInfo:
  - SCFW cb6f758b, SECO-FW d7523fe8, IMX-MKIMAGE dd023400, ATF d6451cc
  - U-Boot 2018.03-toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup+g25f68add54

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: fastboot 0
Hit any key to stop autoboot:  0
Detect USB boot. Will enter fastboot mode!
Starting download of 1835 bytes

downloading of 1835 bytes finished
Detect USB boot. Will enter fastboot mode!
Starting download of 102464 bytes

downloading of 102464 bytes finished
Detect USB boot. Will enter fastboot mode!
Starting download of 44184456 bytes
..........................................................................
..........................................................................
..........................................................................
..........................................................................
.........................................
downloading of 44184456 bytes finished
## Executing script at 82e00000
Loading hdp firmware from 0x0000000082fe0000 offset 0x0000000000002000
Loading hdp firmware Complete
## Loading kernel from FIT Image at 83000000 ...
   Using 'config@1' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux Kernel 4.14.126-2.0.3+g397564ae5691
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x830000f4
     Data Size:    6664628 Bytes = 6.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x80280000
     Entry Point:  0x80280000
     Hash algo:    md5
     Hash value:   5c27b0dbbc7d36337af0e3e03763fcb8
   Verifying Hash Integrity ... md5+ OK
## Loading ramdisk from FIT Image at 83000000 ...
   Using 'config@1' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  SquashFS RAMdisk
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x8365b394
     Data Size:    37412864 Bytes = 35.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0xa0000000
     Entry Point:  unavailable
     Hash algo:    md5
     Hash value:   9689ecac70a3de2d6f4ceb6113d89679
   Verifying Hash Integrity ... md5+ OK
   Loading ramdisk from 0x8365b394 to 0xa0000000
## Loading fdt from FIT Image at 83000000 ...
   Using 'config@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  Apalis iMX8 Device Tree
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x85a09470
     Data Size:    104914 Bytes = 102.5 KiB
     Architecture: AArch64
     Hash algo:    md5
     Hash value:   5eaadc70782f0094f0dd685ca9c418ff
   Verifying Hash Integrity ... md5+ OK
   Booting using the fdt blob at 0x85a09470
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00000000fd65f000, end 00000000fd67b9d1 ... OK
/dma-controller@5a1f0000, 73416
/dma-controller@591F0000, 74296
/dma-controller@591F0000, 74296
/dma-controller@599F0000, 75272

Starting kernel ...

[    0.184229] psci: failed to boot CPU5 (-22)
[    0.184247] CPU5: failed to boot: -22
[    0.184255] CPU5: failed in unknown state : 0x0
[    0.312329] clk: couldn't set hdmi_lis_ipg_clk clk rate to 100000000 (-22), current rate: 84857142
[    0.425067] dmi: Firmware registration failed.
[    0.525691] imx8qm-pinctrl iomuxc: pin_config_set op failed for pin 38
[    0.525715] imx6q-pcie 5f000000.pcie: Error applying setting, reverse things back
[    0.527781] imx6q-pcie 5f000000.pcie: pcie_ext clock source missing or invalid
[    0.530333] imx6q-pcie 5f010000.pcie: pcie_ext clock source missing or invalid
[    0.603209] Can't support > 32 bit dma.
[    0.686299] i.mx8-hdp 56268000.hdmi: invalid resource
[    0.931590] Can't support > 32 bit dma.
[    0.960528] Can't support > 32 bit dma.
[    1.186402] atmel_mxt_ts 4-004a: __mxt_read_reg: i2c transfer failed (-5)
[    1.193425] atmel_mxt_ts 4-004a: mxt_bootloader_read: i2c recv failed (-5)
[    1.200522] atmel_mxt_ts 4-004a: mxt_bootloader_read: i2c recv failed (-5)
[    1.408627] imx8qm-pinctrl iomuxc: pin_config_set op failed for pin 38
[    1.415263] imx6q-pcie 5f000000.pcie: Error applying setting, reverse things back
[    1.861765] imx6q-pcie 5f000000.pcie: phy link never came up
[    1.867583] imx6q-pcie 5f000000.pcie: failed to initialize host
[    1.873638] imx6q-pcie 5f000000.pcie: unable to add pcie port.
[    1.882356] Synchronous External Abort: synchronous external abort (0x96000210) at 0xffff0000100b0008
[    1.891680] Internal error: : 96000210 [#1] PREEMPT SMP
[    1.896958] Modules linked in:
[    1.901278] Process kworker/2:2 (pid: 1466, stack limit = 0xffff0000105b0000)
[    1.909728] CPU: 2 PID: 1466 Comm: kworker/2:2 Not tainted 4.14.126-2.0.3+g397564ae5691 #1
[    1.920634] Hardware name: Toradex Apalis iMX8QM/QP on Apalis Evaluation Board (DT)
[    1.930968] Workqueue: events deferred_probe_work_func
[    1.937459] task: ffff8000667a4380 task.stack: ffff0000105b0000
[    1.944730] PC is at regmap_mmio_read32le+0x8/0x20
[    1.950848] LR is at regmap_mmio_read+0x2c/0x68
[    1.956659] pc : [<ffff0000085e8f08>] lr : [<ffff0000085e8fe4>] pstate: 000000c5
[    1.966592] sp : ffff0000105b3980
[    1.970274] usb 3-1.3: new full-speed USB device number 3 using ci_hdrc
[    1.971149] x29: ffff0000105b3980 x28: ffff800063be0b18
[    1.985652] x27: ffff800063be0b18 x26: ffff80006373fc80
[    1.992237] x25: 0000000000000000 x24: 0000000000000000
[    1.998844] x23: 0000000000200000 x22: ffff0000105b3a3c
[    2.005414] x21: ffff800063696000 x20: ffff0000105b3a3c
[    2.011974] x19: ffff800063709480 x18: 00000000fffffffc
[    2.018549] x17: 00000000d0ac0794 x16: 0000000000000000
[    2.025100] x15: 0000000000000001 x14: ffffffffffffffff
[    2.031626] x13: ffff80006382d904 x12: 0000000000000038
[    2.038124] x11: 0101010101010101 x10: 0000000000000040
[    2.044596] x9 : ffff000008da1528 x8 : ffff800064194700
[    2.051075] x7 : 0000000000000000 x6 : 0000000000000000
[    2.057562] x5 : 0000000000000000 x4 : 0000000000000000
[    2.063996] x3 : ffff0000085e8fb8 x2 : ffff0000085e8f00
[    2.070401] x1 : 00000000000b0008 x0 : ffff0000100b0008
[    2.076786] Call trace:
[    2.080280] Exception stack(0xffff0000105b3840 to 0xffff0000105b3980)
[    2.087802] 3840: ffff0000100b0008 00000000000b0008 ffff0000085e8f00 ffff0000085e8fb8
[    2.097736] 3860: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    2.107664] 3880: ffff800064194700 ffff000008da1528 0000000000000040 0101010101010101
[    2.117644] 38a0: 0000000000000038 ffff80006382d904 ffffffffffffffff 0000000000000001
[    2.127717] 38c0: 0000000000000000 00000000d0ac0794 00000000fffffffc ffff800063709480
[    2.137840] 38e0: ffff0000105b3a3c ffff800063696000 ffff0000105b3a3c 0000000000200000
[    2.148047] 3900: 0000000000000000 0000000000000000 ffff80006373fc80 ffff800063be0b18
[    2.158329] 3920: ffff800063be0b18 ffff0000105b3980 ffff0000085e8fe4 ffff0000105b3980
[    2.168745] 3940: ffff0000085e8f08 00000000000000c5 ffff0000105b3a10 ffff0000080f59f8
[    2.179319] 3960: ffffffffffffffff 00000000000001fa ffff0000105b3980 ffff0000085e8f08
[    2.190029] [<ffff0000085e8f08>] regmap_mmio_read32le+0x8/0x20
[    2.197355] [<ffff0000085e25a4>] _regmap_bus_reg_read+0x14/0x20
[    2.204772] [<ffff0000085e3eb0>] _regmap_read+0x60/0xe0
[    2.211483] [<ffff0000085e42a4>] _regmap_update_bits+0x9c/0xe8
[    2.218810] [<ffff0000085e52c8>] regmap_update_bits_base+0x60/0x90
[    2.226515] [<ffff000008484e00>] imx_pcie_assert_core_reset+0x160/0x2d8
[    2.234667] [<ffff000008487be0>] imx_pcie_host_init+0x30/0x2e0
[    2.242034] [<ffff000008484738>] dw_pcie_host_init+0x210/0x4f0
[    2.249394] [<ffff000008486464>] imx_pcie_probe+0x60c/0xa40
[    2.256473] [<ffff0000085c8fe8>] platform_drv_probe+0x58/0xb8
[    2.263714] [<ffff0000085c7414>] driver_probe_device+0x20c/0x2c8
[    2.271197] [<ffff0000085c7648>] __device_attach_driver+0xb8/0xe8
[    2.278739] [<ffff0000085c5718>] bus_for_each_drv+0x68/0xa8
[    2.285720] [<ffff0000085c70e8>] __device_attach+0xc0/0x130
[    2.292675] [<ffff0000085c76c8>] device_initial_probe+0x10/0x18
[    2.299945] [<ffff0000085c65f8>] bus_probe_device+0x90/0x98
[    2.306836] [<ffff0000085c6df4>] deferred_probe_work_func+0xa4/0x148
[    2.314494] [<ffff0000080c4338>] process_one_work+0x1c8/0x328
[    2.321517] [<ffff0000080c46d8>] worker_thread+0x240/0x450
[    2.328243] [<ffff0000080ca498>] kthread+0x128/0x130
[    2.334418] [<ffff000008084ea0>] ret_from_fork+0x10/0x18
[    2.340905] Code: b5000001 d65f03c0 f9400000 8b214000 (b9400000)
[    2.348166] ---[ end trace 6f7534d679234e21 ]---
[    2.353951] note: kworker/2:2[1466] exited with preempt_count 1
[    2.355308] input: Logitech USB Receiver as /devices/platform/5b0e0000.usb/ci_hdrc.1/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C52B.0001/input/input1
[    2.397449] i.mx8-hdp 56268000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[    2.434508] hid-generic 0003:046D:C52B.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-ci_hdrc.1-1.3/input0
[    2.456311] input: Logitech USB Receiver as /devices/platform/5b0e0000.usb/ci_hdrc.1/usb3/3-1/3-1.3/3-1.3:1.1/0003:046D:C52B.0002/input/input2
[    2.530466] hid-generic 0003:046D:C52B.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-ci_hdrc.1-1.3/input1
[    2.550416] hid-generic 0003:046D:C52B.0003: device has no listeners, quitting
[   14.850333] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   15.378319] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   15.986319] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   18.662320] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   19.170319] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   19.626319] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   20.998318] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   21.206319] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   21.426319] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   21.546577] random: crng init done
[   21.694320] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc
[   21.950321] usb 3-1.3: reset full-speed USB device number 3 using ci_hdrc

Hi @mccandlt

Sorry for the delayed answer. Do you still have the issue?

Best regards,
Jaski

I think we do but we have been working with the 4GB modules because of this issue. We will revisit the 2GB module to confirm we are still having the problem.

Hi

Thanks for this Information.

Could you install Toradex Easy Installer 2.0b5 or Bsp 3.0.4 on the 2GB module and check if you still see any issue?

Best regards,
Jaski