Problem with apalis imx8 easyinstaller and recovery failed

Hi
I have trouble with using Apalis which is fresh out of the box and just try using easy installer.
I try to fix with following recovery sequence but didn’t worked.
When i try entering recovery mode number of times, and success the reinstall easy installer, but after reboot, SQUASHFS error and kernel panic, randisk currupt occur.

here’s the kernel panic error boot log.

U-Boot 2018.03-toradex_imx_v2018.03_4.14.98_2.3.0_bringup+g9393e0c9bd (May 19 2020 - 21:31:12 +0000)

CPU:   Freescale i.MX8QM revB A53 at 1200 MHz at 48C
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# 06540895

 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+g9393e0c9bd 

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
Detect USB boot. Will enter fastboot mode!
Starting download of 2246 bytes

downloading of 2246 bytes finished
Detect USB boot. Will enter fastboot mode!
Starting download of 106496 bytes

downloading of 106496 bytes finished
Detect USB boot. Will enter fastboot mode!
Starting download of 37478812 bytes
..........................................................................
..........................................................................
..........................................................................
...............................................................
downloading of 37478812 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@freescale_fsl-imx8qm-apalis-eval.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x83000108
     Data Size:    6691088 Bytes = 6.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x80280000
     Entry Point:  0x80280000
     Hash algo:    sha1
     Hash value:   4e0fdd31c6fa359cda0e295ac0750fd2c360bca5
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 83000000 ...
   Using 'config@freescale_fsl-imx8qm-apalis-eval.dtb' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  tezi-initramfs
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x836af9fc
     Data Size:    30466048 Bytes = 29.1 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0xa0000000
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   229344bb7b3e1c207cf0c431866682cb609a21ad
   Verifying Hash Integrity ... sha1+ OK
   Loading ramdisk from 0x836af9fc to 0xa0000000
## Loading fdt from FIT Image at 83000000 ...
   Using 'config@freescale_fsl-imx8qm-apalis-eval.dtb' configuration
   Trying 'fdt@freescale_fsl-imx8qm-apalis-eval.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x83661b34
     Data Size:    105758 Bytes = 103.3 KiB
     Architecture: AArch64
     Hash algo:    sha1
     Hash value:   4efa01e273626e098986ed6ccd16a32ef9408ae9
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x83661b34
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00000000fd65c000, end 00000000fd678d1d ... OK
/dma-controller@5a1f0000, 73492
/dma-controller@591F0000, 74448
/dma-controller@591F0000, 74448
/dma-controller@599F0000, 75508

Starting kernel ...

[    0.308251] clk: couldn't set hdmi_lis_ipg_clk clk rate to 100000000 (-22), current rate: 0
[    0.422956] dmi: Firmware registration failed.
[    0.513226] imx6q-pcie 5f000000.pcie: pcie_ext clock source missing or invalid
[    0.515529] imx6q-pcie 5f010000.pcie: pcie_ext clock source missing or invalid
[    0.563529] Can't support > 32 bit dma.
[    0.646908] i.mx8-hdp 56268000.hdmi: invalid resource
[    6.352199] Can't support > 32 bit dma.
[    6.381827] Can't support > 32 bit dma.
[    6.600300] atmel_mxt_ts 4-004a: __mxt_read_reg: i2c transfer failed (-5)
[    6.607340] atmel_mxt_ts 4-004a: mxt_bootloader_read: i2c recv failed (-5)
[    6.614464] atmel_mxt_ts 4-004a: mxt_bootloader_read: i2c recv failed (-5)
[    7.266395] imx6q-pcie 5f000000.pcie: phy link never came up
[    7.272218] imx6q-pcie 5f000000.pcie: failed to initialize host
[    7.278277] imx6q-pcie 5f000000.pcie: unable to add pcie port.
[    7.774591] SQUASHFS error: zlib decompression failed, data probably corrupt
[    7.781766] SQUASHFS error: squashfs_read_data failed to read block 0x3a8a98
[    7.788897] SQUASHFS error: Unable to read data cache entry [3a8a98]
[    7.795338] SQUASHFS error: Unable to read page, block 3a8a98, size 1bb64
[    7.802207] SQUASHFS error: Unable to read data cache entry [3a8a98]
[    7.808658] SQUASHFS error: Unable to read page, block 3a8a98, size 1bb64
[    7.815522] SQUASHFS error: Unable to read data cache entry [3a8a98]
[    7.821952] SQUASHFS error: Unable to read page, block 3a8a98, size 1bb64
[    7.828816] SQUASHFS error: Unable to read data cache entry [3a8a98]
[    7.835245] SQUASHFS error: Unable to read page, block 3a8a98, size 1bb64
[    7.870854] SQUASHFS error: zlib decompression failed, data probably corrupt
[    7.878010] SQUASHFS error: squashfs_read_data failed to read block 0x2c7268
[    7.885139] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.892633] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.900434] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.907884] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.915647] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.923031] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.930733] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.938063] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.945737] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.953054] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.960701] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.968024] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.975667] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.982962] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    7.990623] SQUASHFS error: Unable to read data cache entry [2c7268]
[    7.997919] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.005563] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.012859] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.020478] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.027742] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.035336] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.042595] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.050189] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.057438] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.065035] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.072283] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.079873] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.087119] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.094696] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.101919] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.109478] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.116691] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.124246] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.131465] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.139030] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.146248] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.153804] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.161016] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.168571] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.175783] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.183343] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.190553] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.198107] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.205319] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.212878] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.220090] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.227644] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.234856] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.242411] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.249626] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.257181] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.264394] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.271949] SQUASHFS error: Unable to read data cache entry [2c7268]
[    8.279162] SQUASHFS error: Unable to read page, block 2c7268, size ea24
[    8.286751] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[    8.286751] 
[    8.298438] CPU: 2 PID: 1 Comm: init Not tainted 4.14.170-2.0.5+gfb6b17a22634 #1
[    8.307628] Hardware name: Toradex Apalis iMX8QM/QP on Apalis Evaluation Board (DT)
[    8.317205] Call trace:
[    8.320618] [<ffff000008089ad8>] dump_backtrace+0x0/0x3c0
[    8.327020] [<ffff000008089eac>] show_stack+0x14/0x20
[    8.333069] [<ffff00000895c944>] dump_stack+0xa8/0xcc
[    8.339105] [<ffff0000080ac300>] panic+0x12c/0x288
[    8.344876] [<ffff0000080b0458>] do_exit+0x938/0x968
[    8.350818] [<ffff0000080b04ec>] do_group_exit+0x34/0x98
[    8.357106] [<ffff0000080badcc>] get_signal+0xac/0x5d8
[    8.363218] [<ffff000008088610>] do_signal+0x158/0xc08
[    8.369323] [<ffff000008089720>] do_notify_resume+0xd8/0xf8
[    8.375867] Exception stack(0xffff00000806bec0 to 0xffff00000806c000)
[    8.383305] bec0: 0000000000000003 0000ffffd2104288 0000ffffd21042a8 0000ffff9bc4bba0
[    8.393170] bee0: 8fec21b3cbd5c2b8 0000000000000000 0000000000008080 feff38322d352d31
[    8.403157] bf00: 7f7f7f7f7f7f7f7f 0000000000000000 0101010101010101 0000000000000030
[    8.413274] bf20: 0000000000000040 0000000000000000 0000ffff9bd5e150 0000000000000002
[    8.423521] bf40: 0000ffff9bd60000 0000ffff9bd44bb8 0000000000000100 0000ffff9bd5f710
[    8.433896] bf60: 0000ffffd21041d8 0000000000000003 0000ffffd2104288 0000ffffd21042a8
[    8.444373] bf80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    8.454905] bfa0: 0000000000000000 0000ffffd2104190 0000ffff9bb02bcc 0000ffffd2104190
[    8.465496] bfc0: 0000ffff9bbace38 0000000080001000 0000ffff9bd5b000 00000000ffffffff
[    8.476088] bfe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    8.486788] [<ffff000008083964>] work_pending+0x8/0x10
[    8.493398] SMP: stopping secondary CPUs
[    8.498801] Kernel Offset: disabled
[    8.503762] CPU features: 0x100200d
[    8.508723] Memory Limit: none
[    8.513248] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[    8.513248] 

and Here’s the Ramdisk currupt error

U-Boot 2018.03-toradex_imx_v2018.03_4.14.98_2.3.0_bringup+g9393e0c9bd (May 19 2020 - 21:31:12 +0000)

CPU:   Freescale i.MX8QM revB A53 at 1200 MHz at 51C
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# 06540895

 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+g9393e0c9bd 

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
Detect USB boot. Will enter fastboot mode!
Starting download of 2246 bytes

downloading of 2246 bytes finished
Detect USB boot. Will enter fastboot mode!
Starting download of 106496 bytes

downloading of 106496 bytes finished
Detect USB boot. Will enter fastboot mode!
Starting download of 37478812 bytes
..........................................................................
..........................................................................
..........................................................................
...............................................................
downloading of 37478812 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@freescale_fsl-imx8qm-apalis-eval.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x83000108
     Data Size:    6691088 Bytes = 6.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x80280000
     Entry Point:  0x80280000
     Hash algo:    sha1
     Hash value:   4e0fdd31c6fa359cda0e295ac0750fd2c360bca5
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 83000000 ...
   Using 'config@freescale_fsl-imx8qm-apalis-eval.dtb' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  tezi-initramfs
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x836af9fc
     Data Size:    30466048 Bytes = 29.1 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0xa0000000
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   229344bb7b3e1c207cf0c431866682cb609a21ad
   Verifying Hash Integrity ... sha1 error!
Bad hash value for 'hash@1' hash node in 'ramdisk@1' image node
Bad Data Hash
Ramdisk image is corrupt or invalid

Could you please try this steps?

Most likely it is related to the following issue:

https://developer.toradex.com/software/toradex-easy-installer/release-details?view=all&key=TEI-572

Please try one of them latest Toradex Easy Installer nightly releases from the CI feed.

Thanks marcel.
before i read this answer, i found the same problem in this community

https://www.toradex.com/community/questions/51722/apalis-imx8-flashing-u-boot.html

Torizon core is successfully installed and working now.
maybe some model has same problem…
Thanks

i did followed this steps but there were same problem with this thread.

https://www.toradex.com/community/questions/51722/apalis-imx8-flashing-u-boot.html

and also solved by answer on this thread.
Thanks, alex

Perfect that it works. Thanks for the feedback.