Files
u-boot/arch/sandbox/dts/sandbox_scripts.dtsi
Rasmus Villemoes c8a636af67 test: hook up test of allowing control DTB to act as FIT image
Add a test demonstrating how one can embed various scripts in the
control DTB.

Verify that the source command can be used with ${fdtcontroladdr} by
itself (invoking the default script), and with :<node-name>
suffix. Check that the scripts themselves can invoke "sibling"
scripts. Also verify that without CONTROL_DTB_AS_FIT set, the control
DTB is not accepted by the source command.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
2026-06-11 07:56:45 -06:00

25 lines
507 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/ {
images {
default = "boot";
boot {
description = "Test boot script";
data = /incbin/("sandbox-boot.sh");
type = "script";
compression = "none";
};
outer {
description = "Script testing recursion";
data = /incbin/("sandbox-outer.sh");
type = "script";
compression = "none";
};
inner {
description = "Another test script";
data = /incbin/("sandbox-inner.sh");
type = "script";
compression = "none";
};
};
};