aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-09-17 13:47:31 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-09-20 21:05:16 +0800
commit90602e779d3ae3bd02faae0eb40b4fcefec419f7 (patch)
tree444b2bee0772f4857f0b95be2fd08c63c5688af7 /arch/riscv
parent64fd30d367a1d5e33dbcbc2d017ca0431242155c (diff)
downloadu-boot-90602e779d3ae3bd02faae0eb40b4fcefec419f7.zip
u-boot-90602e779d3ae3bd02faae0eb40b4fcefec419f7.tar.gz
u-boot-90602e779d3ae3bd02faae0eb40b4fcefec419f7.tar.bz2
riscv: dts: starfive: generate u-boot-spl.bin.normal.out
The StarFive VisionFive 2 board cannot load spl/u-boot-spl.bin but needs a prefixed header. We have referring to a vendor tool (spl_tool) for this task. 'mkimage -T sfspl' can generate the prefixed file. Use binman to invoke mkimage for the generation of file spl/u-boot-spl.bin.normal.out. Update the documentation. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Tested-by: Milan P. Stanić <mps@arvanta.net>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi b/arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi
index 13f69da..5518531 100644
--- a/arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi
+++ b/arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi
@@ -103,4 +103,15 @@
};
};
};
+
+ spl-img {
+ filename = "spl/u-boot-spl.bin.normal.out";
+
+ mkimage {
+ args = "-T sfspl";
+
+ u-boot-spl {
+ };
+ };
+};
};