Hello Toradex Community,
I am currently working on integrating High Assurance Boot (HABv4) into a Verdin iMX8M Plus module. I am using BSP version 7.4.0 (upstream U-Boot 2024.07) and the NXP CST Tool v4.0.1.
During the Bitbake process, I am consistently hitting a do_configure failure within the u-boot-toradex recipe. It appears the build system is trying to copy a .defconfig file that has an empty name prefix.
Error Log:
Plaintext
ERROR: u-boot-toradex-1_2024.07-r0 do_configure: ExecutionError(‘…/run.do_configure.502939’, 1, None, None)
…
cp: cannot stat ‘/home/vrushabh/oe-core/build/tmp/work/verdin_imx8mp-tdx-linux/u-boot-toradex/2024.07/git/configs/_defconfig’: No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Task (…/u-boot-toradex_2024.07.bb:do_configure) failed with exit code ‘1’
Context & Configuration:
Module: Verdin iMX8MP
BSP Version: 7.4.0 (Kirkstone/Scarthgap based)
Task: Integrating HABv4 Secure Boot.
Steps Taken: I have modified my local.conf (or custom carrier board layer) to include the CST tool and signed binary instructions.
Observations:
The error configs/_defconfig suggests that the variable usually containing the machine-specific config name is empty, resulting in just _defconfig instead of something like verdin-imx8mp_defconfig.
Questions:
Is there a specific conflict in BSP 7.4.0 when enabling HAB features that might overwrite or clear the U_BOOT_CONFIG or U_BOOT_MACHINE variables?
Has the do_configure append logic changed in the 2024.07 U-Boot recipe that requires a different approach for injecting HAB signing commands?
Could this be related to how the CST tool paths are being passed to the U-Boot compilation environment?
Any guidance on why the defconfig path is being mangled during the HAB integration would be greatly appreciated.