summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-07-18 07:24:08 -0600
committerSimon Glass <[email protected]>2023-07-20 14:10:58 -0600
commit23b96e920b95428c55c0659ab4e1576c83a4b366 (patch)
tree3f238fb45ed13905bb62a9cb89c138807b03773a /tools/binman/test
parent696f2b73d6ccffe23d5c295308817ca8d2bebc92 (diff)
binman: Support writing symbols inside a mkimage image
Add support for writing symbols and determining the assumed position of binaries inside a mkimage image. This is useful as an example for other entry types which might want to do the same thing. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/290_mkimage_sym.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/binman/test/290_mkimage_sym.dts b/tools/binman/test/290_mkimage_sym.dts
new file mode 100644
index 00000000000..2dfd286ad44
--- /dev/null
+++ b/tools/binman/test/290_mkimage_sym.dts
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ u-boot-dtb {
+ };
+
+ mkimage {
+ args = "-n test -T script";
+
+ u-boot-spl {
+ };
+
+ u-boot-spl2 {
+ type = "u-boot-spl";
+ };
+ };
+
+ u-boot {
+ };
+ };
+};