Issue to boot EasyInstaller from USB stick on Apalis i.MX8 QM

Hello,

I am using a Apalis I.MX8QM module with Apalid motherboard V1.1A
I am trying to boot a the latest EsayInstaller version on a USB stick with U_boot
Model: Toradex Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT V1.0B, Serial# 06540929

BuildInfo:

SCFW 494c97f3, SECO-FW d7523fe8, IMX-MKIMAGE dd023400, ATF a-20190
U-Boot 2018.03-toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup+gc0ff506c39
Easy Installer version /etc/issue : Toradex Easy Installer 2.4 

I put the content of Apalis-iMX8_Reference-Minimal-Image-Tezi_5.3.0+build.10.tar
and remane boot-tezi.scr file to boot.scr
on a USB stick then plud it on the USB 3.0 Host port (blue one)

When issue issue the below command in U-boot I got:

Apalis iMX8 # run bootcmd_usb0
starting USB...
USB0:   Port not available.
USB1:   clkvld is incorrect = 0xd0b03827
XHCI-imx8 init hccr 0x000000005b130000 and hcor 0x000000005b130080 hc_length 128
Register 2000820 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 1 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor: General  Rev: 1.00 Prod: USB Flash Disk
            Type: Removable Hard Disk
            Capacity: 3824.0 MB = 3.7 GB (7831552 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
3087 bytes read in 25 ms (120.1 KiB/s)
## Executing script at 86000000
43 bytes read in 20 ms (2 KiB/s)
106496 bytes read in 28 ms (3.6 MiB/s)
Loading hdp firmware from 0x000000009c000000 offset 0x0000000000002000
Loading hdp firmware Complete
47056280 bytes read in 1963 ms (22.9 MiB/s)
Bootargs: quiet video=LVDS-1:d video=HDMI-A-1:640x480-16@60D initcall_blacklist=vpu_driver_init rootfstype=squashfs root=/dev/ram autoinstall clk_ignore_unused pci=nomsi
## Loading kernel from FIT Image at 8a000000 ...
Could not find configuration node
ERROR: can't get kernel image!
SCRIPT FAILED: continuing...
Found U-Boot script /boot.scr
3087 bytes read in 26 ms (115.2 KiB/s)
## Executing script at 86000000
43 bytes read in 21 ms (2 KiB/s)
106496 bytes read in 29 ms (3.5 MiB/s)
Loading hdp firmware from 0x000000009c000000 offset 0x0000000000002000
Loading hdp firmware Complete
47056280 bytes read in 1962 ms (22.9 MiB/s)
Bootargs: quiet video=LVDS-1:d video=HDMI-A-1:640x480-16@60D initcall_blacklist=vpu_driver_init rootfstype=squashfs root=/dev/ram autoinstall clk_ignore_unused pci=nomsi
## Loading kernel from FIT Image at 8a000000 ...
Could not find configuration node
ERROR: can't get kernel image!
SCRIPT FAILED: continuing...

Did I do something wrong ?

Best Regards
Erwan

Hello
You can close this ticket.
I finally managed to boot latest EsayInstaller from USB Masstorage key and update i.MX8QM Apalis board with success
Best Regards

Hi @ecoz

Good to know that you could make it work.

Could you post what you did to make it work? So we could tag this question as answered.

Thanks!

Best regards,
Henrique

I Uboot id the below changes in the environment variable to get EasyIntsllaer to boot from USB Key:
setenv fdtfile imx8qm-apalis-v1.1-eval.dtb
setenv kernel_image
run bootcmd_usb0

Thanks, @ecoz !

Best regards,

Apologies for the necrobump. I ran into a similar issue with Apalis-iMX8_ToradexEasyInstaller_5.4.0+build.4.zip, but the fix is slightly different. It turns out it now determines the FDT filename from some other environment variables, in my case the soc was wrong (it’s set to imx8 instead of imx8qm).

So without renaming the script file, this is required to boot the Easy Installer image from USB:

set script boot-tezi.scr
set soc imx8qm
run bootcmd_usb0
1 Like

Hi @haffmans!

Thanks for sharing :smiley: