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>
44 lines
797 B
Plaintext
44 lines
797 B
Plaintext
/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";
|
|
};
|
|
};
|
|
};
|