Hi,
I’m building a custom Yocto image, and have incorporated the meta-boot2qt layer, as I need to use the eglfs_viv integration. I have a range of patches in use for the kernel and u-boot, and the build compiles successfully. I’ve used these same kernel and u-boot patches on the Toradex-supplied Qt5 multimedia example without issue. I’ve incorporated the meta-boot2qt layer as I need to use the eglfs_viv plugin.
The build specifications are as follows:
- Distro: tdx-xwayland
- Distro version: 5.5.0-devel-20220130233056+build.0
- U-Boot version: 2020.04-5.5.0-devel+git.81bc8894031d
I setup the OE build environment per the usual process (as documented in the Toradex literature), and added the meta-bootqt layer with:
git clone --depth 1 --branch v5.15.8-lts git://code.qt.io/yocto/meta-boot2qt.git
I made sure to use a branch of meta-boot2qt which was compatible with the Dunfell branch of Yocto in use for the OE build. With the meta-boot2qt layer added, I copied their “b2qt-embedded-qt5-image” image and modified it as the build image. As mentioned above, this all compiled without issue.
After flashing the new image to the Apalis iMX8QM via the latest Toradex Easy Installer (version 5.5.0+build.6), I receive the following output on booting:
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.0B, Serial# 06543249
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 16 ms (350.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
Loading DeviceTree: imx8qm-apalis-eval.dtb
168354 bytes read in 34 ms (4.7 MiB/s)
43 bytes read in 16 ms (2 KiB/s)
Applying Overlay: apalis-imx8_hdmi_overlay.dtbo
2177 bytes read in 27 ms (78.1 KiB/s)
7090737 bytes read in 223 ms (30.3 MiB/s)
Uncompressed size: 16089600 = 0xF58200
Bootargs: pci=nomsi root=PARTUUID=b6d6a897-02 ro rootwait
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Loading Device Tree to 00000000fd600000, end 00000000fd64cfff ... OK
Starting kernel ...
It seems that there’s some error with the boot_devtype and boot_devnum device specification? I’ve checked the u-boot-initial-env-sd file in the build deploy TEZI folder, and everything seems normal. I’ve also tried setting the values directly in the U-Boot command line (mmc and 0 respectively), but the issue remains.
I’ve done some research on this issue and haven’t come up with anything else; are you able to point me in the right direction?
Thanks!