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 <aristo.chen@canonical.com>
This commit is contained in:
Aristo Chen 2025-06-10 07:41:19 +00:00 committed by Tom Rini
parent 7a8b25a771
commit 3071e264c9
8 changed files with 99 additions and 1 deletions

View File

@ -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";

View File

@ -12,7 +12,7 @@
#address-cells = <1>;
images {
test {
kernel {
description = "Something using a bintool";
type = "kernel";
arch = "arm";

View File

@ -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";

View File

@ -15,6 +15,20 @@
fit,fdt-list-val = "test-fdt1", "test-fdt2";
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";

View File

@ -15,6 +15,20 @@
fit,fdt-list-dir = "fdts";
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";

View File

@ -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";

View File

@ -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";

View File

@ -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";