@jeremias.tx, I cannot express my gratitude towards you! The typo was the problem.
I created the recipes-bsp/u-boot/u-boot-distro-boot.bbappend
file in our layer with the following content:
do_install_prepend () {
sed -i -e 's/conf@/conf-/' "${WORKDIR}/boot.cmd.in"
}
I verified that the freshly baked image contains the fix, booted the device, and it worked!
U-Boot boot log
U-Boot 2020.04-5.5.0-devel+git.81bc8894031d (Nov 30 2021 - 11:36:12 +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# 06852556
BuildInfo:
- SCFW 778670e2, SECO-FW d63fdb21, IMX-MKIMAGE 8947fea3, ATF 835a8f6
- U-Boot 2020.04-5.5.0-devel+git.81bc8894031d
switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
Net: eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
5754 bytes read in 21 ms (267.6 KiB/s)
## Executing script at 83100000
** Bad device specification ${boot_devtype} ${boot_devnum} **
** Bad device specification ${boot_devtype} ${boot_devnum} **
Loading hdp firmware from 0x000000009c000000 offset 0x0000000000002000
Loading hdp firmware Complete
43 bytes read in 12 ms (2.9 KiB/s)
13582914 bytes read in 421 ms (30.8 MiB/s)
Bootargs: pci=nomsi root=PARTUUID=f900f8e7-02 ro rootwait
## Loading kernel from FIT Image at 8a000000 ...
Using 'conf-imx8qm-apalis-v1.1-eval.dtb' configuration
Trying 'kernel-1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x8a000114
Data Size: 12192653 Bytes = 11.6 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80280000
Entry Point: 0x80280000
Hash algo: sha256
Hash value: b494ab996c8066f0ba1100d61faa00ea92f008d826bcec53c77003d718da4be8
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 8a000000 ...
Using 'conf-imx8qm-apalis-v1.1-eval.dtb' configuration
Trying 'fdt-imx8qm-apalis-v1.1-eval.dtb' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x8abf2ad4
Data Size: 166807 Bytes = 162.9 KiB
Architecture: AArch64
Load Address: 0x83000000
Hash algo: sha256
Hash value: 74f8ec3967d9fbd331467cfd6668341c9e38bacae6664f0c728dcfbeeb2837a0
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x8abf2ad4 to 0x83000000
## Loading fdt from FIT Image at 8a000000 ...
Using 'conf-apalis-imx8_hdmi_overlay.dtbo' configuration
Trying 'fdt-apalis-imx8_hdmi_overlay.dtbo' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x8ace9f60
Data Size: 2177 Bytes = 2.1 KiB
Architecture: AArch64
Load Address: 0x83100000
Hash algo: sha256
Hash value: 75d00dae6d1d5de88ccd2ea8be1ba975496ee7a8d507eae6b5871089b4bd45f4
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x8ace9f60 to 0x83100000
Booting using the fdt blob at 0x83000000
Uncompressing Kernel Image
Loading Device Tree to 00000000fd620000, end 00000000fd64bb5a ... OK
Starting kernel ...
Thank you so much for your lightning fast help! I really appriciate it!
Sincerely,
Csongor