public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out
@ 2023-09-06 10:08 Heinrich Schuchardt
  2023-09-06 10:08 ` [PATCH 1/2] tools: mkimage: Add StarFive SPL image support Heinrich Schuchardt
  2023-09-06 10:08 ` [PATCH 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out Heinrich Schuchardt
  0 siblings, 2 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2023-09-06 10:08 UTC (permalink / raw)
  To: Rick Chen, Leo, Yanhong Wang
  Cc: Simon Glass, Marc Kleine-Budde, Chanho Park, u-boot,
	Heinrich Schuchardt

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.

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  |  10 +
 boot/image.c                                  |   1 +
 doc/board/starfive/visionfive2.rst            |  14 +-
 include/image.h                               |   1 +
 tools/Makefile                                |   1 +
 tools/sfspl.c                                 | 174 ++++++++++++++++++
 6 files changed, 189 insertions(+), 12 deletions(-)
 create mode 100644 tools/sfspl.c

-- 
2.40.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-06 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06 10:08 [PATCH 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out Heinrich Schuchardt
2023-09-06 10:08 ` [PATCH 1/2] tools: mkimage: Add StarFive SPL image support Heinrich Schuchardt
2023-09-06 10:47   ` Chanho Park
2023-09-06 11:28     ` Heinrich Schuchardt
2023-09-06 10:08 ` [PATCH 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out Heinrich Schuchardt
2023-09-06 10:49   ` Chanho Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox