[PATCH v3 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Sep 17 13:47:29 CEST 2023
The StarFive JH7110 base boards require a header to be prefixed to the SPL
binary image. This has previously done with a vendor tool 'spl_tool'
published under a GPL-2-or-later license. Integrate this capability into
mkimage.
Add a binman task into the VisionFive 2 build to build the prefixed
U-Boot SPL file u-boot-spl.bin.normal.out.
v3:
Rename binman node for SPL image.
Use u-boot-spl instead of blob as mkimage subnode.
v2:
Fix a typo in a comment in tools/sfspl.c
Add Tested-by credits
Heinrich Schuchardt (2):
tools: mkimage: Add StarFive SPL image support
riscv: dts: starfive: generate u-boot-spl.bin.normal.out
.../jh7110-starfive-visionfive-2-u-boot.dtsi | 11 ++
boot/image.c | 1 +
doc/board/starfive/visionfive2.rst | 14 +-
include/image.h | 1 +
tools/Makefile | 1 +
tools/sfspl.c | 174 ++++++++++++++++++
6 files changed, 190 insertions(+), 12 deletions(-)
create mode 100644 tools/sfspl.c
--
2.40.1
More information about the U-Boot
mailing list