mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 14:33:08 +00:00
895999261c
This adds a basic test for FIT image handling by the source command. It's a python test becase we need to run mkimage. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Glass <sjg@chromium.org>
43 lines
797 B
Text
43 lines
797 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
description = "FIT image to test the source command";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
default = "script-1";
|
|
|
|
script-1 {
|
|
data = "echo 1";
|
|
type = "script";
|
|
arch = "sandbox";
|
|
compression = "none";
|
|
};
|
|
|
|
script-2 {
|
|
data = "echo 2";
|
|
type = "script";
|
|
arch = "sandbox";
|
|
compression = "none";
|
|
};
|
|
|
|
not-a-script {
|
|
data = "echo 3";
|
|
type = "kernel";
|
|
arch = "sandbox";
|
|
compression = "none";
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-2";
|
|
|
|
conf-1 {
|
|
script = "script-1";
|
|
};
|
|
|
|
conf-2 {
|
|
script = "script-2";
|
|
};
|
|
};
|
|
};
|