mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
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:
parent
7a8b25a771
commit
3071e264c9
@ -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";
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
test {
|
||||
kernel {
|
||||
description = "Something using a bintool";
|
||||
type = "kernel";
|
||||
arch = "arm";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user