From 3071e264c9baba4d55aa6d1a07a60c969d57eccf Mon Sep 17 00:00:00 2001 From: Aristo Chen Date: Tue, 10 Jun 2025 07:41:19 +0000 Subject: binman: test: Ensure all config references exist in /images node Several binman FIT test device trees reference image nodes such as atf and uboot in their /configurations sections, but those image nodes were not actually defined in the /images node. This mismatch can lead to validation errors when stricter consistency checks are introduced. This patch adds minimal definitions for atf and uboot under the /images node in all relevant test DTS files. Signed-off-by: Aristo Chen --- tools/binman/test/345_fit_fdt_name.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tools/binman/test/345_fit_fdt_name.dts') diff --git a/tools/binman/test/345_fit_fdt_name.dts b/tools/binman/test/345_fit_fdt_name.dts index 631a8e5f59b..0ef2e1934a0 100644 --- a/tools/binman/test/345_fit_fdt_name.dts +++ b/tools/binman/test/345_fit_fdt_name.dts @@ -15,6 +15,20 @@ fit,fdt-list = "of-list"; images { + atf { + description = "atf firmware"; + type = "firmware"; + compression = "none"; + load = <00000000>; + entry = <00000000>; + }; + uboot { + description = "U-Boot firmware"; + type = "firmware"; + compression = "none"; + load = <00000000>; + entry = <00000000>; + }; kernel { description = "Vanilla Linux kernel"; type = "kernel"; -- cgit v1.2.3