u-boot/test/py/tests/source.its
Sean Anderson 895999261c test: Add test for source command
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>
2022-12-31 13:35:19 -05:00

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