mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
25 lines
507 B
Plaintext
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";
|
|
};
|
|
};
|
|
};
|