Skip to content

mkimage: sunxi_egon: add riscv support

Samuel Holland u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 3 repliesIn review

Changes in v3 from the cover letter

- Factor out an egon_get_arch() function as suggested by Andre

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mkimage: add a flag to describe whether -A is specifiedtools/imagetool.h tools/mkimage.c+2 -03 replies
2/4mkimage: sunxi_egon: refactor for multi-architecture supporttools/sunxi_egon.c+43 -70 replies
3/4mkimage: sunxi_egon: add support for riscvtools/sunxi_egon.c+23 -00 replies
4/4sunxi: specify architecture when generating SPL boot imagescripts/Makefile.spl+1 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchTom RiniAndre Przywara
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] mkimage: sunxi_egon: add riscv support

This patchset updates mkimage -T sunxi_egon to be able to generate an eGON.BT0 image for Allwinner RISC-V SoCs (e.g. D1).

In addition, to keep the compatibility, it will still consider the architecture to be ARM when no architecture is specified.

This v3 is a minor update to Icenowy's patch series, which I have also tested. Since the TOC0 patch series touches the same lines in Makefile.spl, it depends on this series.

Changes in v3:
- Factor out an egon_get_arch() function as suggested by Andre

Icenowy Zheng (4):
mkimage: add a flag to describe whether -A is specified
mkimage: sunxi_egon: refactor for multi-architecture support
mkimage: sunxi_egon: add support for riscv
sunxi: specify architecture when generating SPL boot image

 scripts/Makefile.spl |  2 +-
 tools/imagetool.h    |  1 +
 tools/mkimage.c      |  1 +
 tools/sunxi_egon.c   | 73 +++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 69 insertions(+), 8 deletions(-)
Signature · 1 line
2.32.0