Hi,
in order to support multiple board variants by the same bootloader, we want to add multiple u-boot device tree blobs to a fitImage included in the u-boot binary (flash.bin).
However, during building, binman fails:
| /home/jenkins/build-arm/workspace/sources/u-boot/tools/binman/binman --toolpath ./tools build -u -d u-boot.dtb -O . -m --allow-missing --fake-ext-blobs -I . -I /home/jenkins/build-arm/workspace/sources/u-boot -I /home/jenkins/build-arm/workspace/sources/u-boot/board/s/s_imx8 -I arch/arm/dts -a of-list="s_imx8-common s_imx8-msc-common" -a atf-bl31-path= -a tee-os-path= -a ti-dm-path= -a opensbi-path= -a default-dt="s_imx8-common" -a scp-path= -a rockchip-tpl-path= -a spl-bss-pad= -a tpl-bss-pad=1 -a vpl-bss-pad=1 -a spl-dtb=y -a tpl-dtb= -a vpl-dtb= -a pre-load-key-path= -a of-spl-remove-props="interrupt-parent interrupts"
| binman: 'NoneType' object has no attribute 'startswith'
| /home/jenkins/build-arm/workspace/sources/u-boot/Makefile:1578: recipe for target 'flash.bin' failed
| make[1]: *** [flash.bin] Error 1
In the u-boot configs, we added
CONFIG_OF_CONTROL=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_LIST="s_imx8-common s_imx8-msc-common"
CONFIG_MULTI_DTB_FIT=y
CONFIG_SPL_MULTI_DTB_FIT=y
In our custom dst file, we're including arch/arm/dts/imx8mm-u-boot.dtsi which has the binman node definition.
Used u-boot version: v2025.01 (mainline)
Used Python version: 3.8.0
Does anybody have an idea what could be the issue here or what we could check?
Kind regards,
Markus