Skip to content

riscv: Partially move to binman to generate u-boot.itb

Bin Meng u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9common: kconfig: Correct a typo in SPL_LOAD_FITcommon/Kconfig.boot+1 -11 reply
2/9binman: Correct '-a' description in the doctools/binman/binman.rst+2 -21 reply
3/9binman: Correct the comment for ATF entry typetools/binman/etype/atf_bl31.py+1 -11 reply
4/9binman: test: Rename 172_fit_fdt.dts to 170_fit_fdt.dtstools/binman/ftest.py tools/binman/test/170_fit_fdt.dts+6 -61 reply
5/9binman: test: Correct the name of 170_fit_fdt_missing_prop.dtstools/binman/ftest.py+1 -11 reply
6/9binman: Add support for RISC-V OpenSBI fw_dynamic blobtools/binman/entries.rst tools/binman/etype/opensbi.py tools/binman/ftest.py +1 more+59 -01 reply
6/9binman: Add support for RISC-V OpenSBI fw_dynamic blob+0 -01 reply
7/9makefile: Update clean rule to remove files generated by binman.gitignore Makefile+6 -31 reply
7/9makefile: Update clean rule to remove files generated by binman+0 -01 reply
8/9makefile: Pass OpenSBI blob to binman make rulesMakefile+1 -01 reply
9/9riscv: sifive: unleashed: Switch to use binman to generate u-boot.itbarch/riscv/dts/binman.dtsi arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi board/sifive/unleashed/Kconfig +1 more+73 -01 reply

Reviews trailers per patch

8 of 11 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9
6/9R-b
6/9R-b
7/9
7/9
8/9R-b
9/9R-b

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

Read the v1 thread

Cover letter [PATCH 0/9] riscv: Partially move to binman to generate u-boot.itb

This series updates binman to handle creation of u-boot.itb image for RISC-V SiFive Unleashed board.

QEMU RISC-V remains unchanged, as binman uses a dtb to describe the image format, but for QEMU RISC-V there is no dtb as dtb is passed to U-Boot via CONFIG_OF_PRIOR_STAGE.

Not sure how such use case could be properly supported by binman?

Bin Meng (9):
common: kconfig: Correct a typo in SPL_LOAD_FIT
binman: Correct '-a' description in the doc
binman: Correct the comment for ATF entry type
binman: test: Rename 172_fit_fdt.dts to 170_fit_fdt.dts
binman: test: Correct the name of 170_fit_fdt_missing_prop.dts
binman: Add support for RISC-V OpenSBI fw_dynamic blob
makefile: Update clean rule to remove files generated by binman
makefile: Pass OpenSBI blob to binman make rules
riscv: sifive: unleashed: Switch to use binman to generate u-boot.itb

 .gitignore                                    |  4 +-
 Makefile                                      |  6 +-
 arch/riscv/dts/binman.dtsi                    | 70 +++++++++++++++++++
 .../dts/hifive-unleashed-a00-u-boot.dtsi      |  1 +
 board/sifive/unleashed/Kconfig                |  1 +
 common/Kconfig.boot                           |  2 +-
 configs/sifive_unleashed_defconfig            |  1 +
 tools/binman/binman.rst                       |  4 +-
 tools/binman/entries.rst                      | 13 ++++
 tools/binman/etype/atf_bl31.py                |  2 +-
 tools/binman/etype/opensbi.py                 | 23 ++++++
 tools/binman/ftest.py                         | 17 +++--
 .../test/{172_fit_fdt.dts => 170_fit_fdt.dts} |  0
 tools/binman/test/201_opensbi.dts             | 16 +++++
 14 files changed, 148 insertions(+), 12 deletions(-)
 create mode 100644 arch/riscv/dts/binman.dtsi
 create mode 100644 tools/binman/etype/opensbi.py
 rename tools/binman/test/{172_fit_fdt.dts => 170_fit_fdt.dts} (100%)
 create mode 100644 tools/binman/test/201_opensbi.dts
Signature · 1 line
2.25.1