Build Apalis iMX8 Boot Image Scratch

Checked “Build Apalis iMX8/Colibri iMX8X Boot Image/Linux from Scratch” but this is for an old u-boot version. I want to build U-Boot 2020.04-5.1.0 present in your last yocto 5. Tried to compile branch origin/toradex_imx_v2020.04_5.4.24_2.1.0 but wont boot. Of cource I uses bl31.bin and other firware
I tried u-boot from GitHub - u-boot/u-boot: "Das U-Boot" Source Tree. Boot but no ethernet
I can’t find how you build your included yocto 5 u-boot version!
Why u-boot source is not included in yocto?

Hi @fdu,

For iMX8-based modules TF-A/SCU FW/SECO FW/imx-mkimage/U-Boot versions should correspond to each other. In your case you’re trying to re-build new U-Boot version with the old versions of TF-A/SCU FW/etc, and this unfortunately won’t work.

For toradex_imx_v2020.04_5.4.24_2.1.0 U-Boot you have to use:

  1. imx-mkimage:

  2. TF-A:

  3. SECO FW:

  4. SCU FW:

Hope it helps!


Same also applies to the Linux kernel version (because for SCMI/PSCI services both TF-A and SCU FW are used)