From: Alif Zakuan Yuslaimi <[email protected]> Binman will attempt to package kernel.itb during U-Boot build, expecting Image and linux.dtb files that are not available in standard U-Boot-only builds. This would cause build warnings with missing blob errors.
Add conditional deletion of the kernel node from binman when FIT is enabled CONFIG_SOCFPGA_SECURE_VAB_AUTH is not defined. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> --- arch/arm/dts/socfpga_agilex5_socdk_emmc-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/socfpga_agilex5_socdk_emmc-u-boot.dtsi b/arch/arm/dts/socfpga_agilex5_socdk_emmc-u-boot.dtsi index 3c03b00c0d9..c158566361f 100644 --- a/arch/arm/dts/socfpga_agilex5_socdk_emmc-u-boot.dtsi +++ b/arch/arm/dts/socfpga_agilex5_socdk_emmc-u-boot.dtsi @@ -170,3 +170,9 @@ }; }; }; + +#if defined(CONFIG_FIT) && !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH) +&binman { + /delete-node/ kernel; +}; +#endif -- 2.43.7

