[PATCH v2 00/11] binman: Add support for generating more complex FITs

Simon Glass sjg at chromium.org
Mon Aug 31 01:20:05 CEST 2020


This series allows binman to generate FITs that include multiple DTB
images and the configuration to use them.

It is then possible to remove the sunxi FIT generator script, so this
series handles that also.

With this, sunxi is fully converted to use binman.

Changes in v2:
- Add new patch to move 'external' support into base class
- Update docs to mention both bl31.bin and bl31.elf
- Add the URL of ARM Trusted Firmware and mention of U-Boot docs
- Fix copyright year
- Update docs to indicate that BL31 is loaded from SPL
- Add a check for a missing fit,fdt-list property
- Add a check for a missing of-list property
- Add a check for an empty of-list
- Add new patch to support missing external blobs always
- Add new patch to allow FITs to be missing binaries
- Add a 'fit-fdt-list' property
- Fix 'board' typo in commit message
- Add new patch to allow selecting default FIT configuration

Simon Glass (11):
  binman: Allow entry args to be required
  binman: Fix up a few missing comments
  libfdt: Detected out-of-space with fdt_finish()
  binman: Move 'external' support into base class
  binman: Add support for ATF BL31
  binman: Support generating FITs with multiple dtbs
  Makefile: Support missing external blobs always
  binman: Allow FITs to be missing binaries
  sunxi: Convert 64-bit boards to use binman
  sunxi: Drop the FIT-generator script
  binman: Allow selecting default FIT configuration

 Kconfig                                       |   3 +-
 Makefile                                      |  23 +--
 arch/arm/dts/sunxi-u-boot.dtsi                |  61 +++++-
 board/sunxi/mksunxi_fit_atf.sh                |  87 --------
 scripts/dtc/pylibfdt/libfdt.i_shipped         |   3 +-
 tools/binman/README.entries                   |  73 ++++++-
 tools/binman/control.py                       |   5 +
 tools/binman/entry.py                         |  14 ++
 tools/binman/etype/atf_bl31.py                |  24 +++
 tools/binman/etype/blob.py                    |   8 +-
 tools/binman/etype/blob_ext.py                |  11 --
 tools/binman/etype/blob_named_by_arg.py       |  10 +-
 tools/binman/etype/cros_ec_rw.py              |   3 +-
 tools/binman/etype/fit.py                     | 128 +++++++++++-
 tools/binman/etype/section.py                 |  14 +-
 tools/binman/ftest.py                         | 185 +++++++++++++++++-
 tools/binman/test/165_atf_bl31.dts            |  16 ++
 tools/binman/test/166_fit_fdt.dts             |  55 ++++++
 .../binman/test/167_fit_fdt_missing_prop.dts  |  54 +++++
 19 files changed, 622 insertions(+), 155 deletions(-)
 delete mode 100755 board/sunxi/mksunxi_fit_atf.sh
 create mode 100644 tools/binman/etype/atf_bl31.py
 create mode 100644 tools/binman/test/165_atf_bl31.dts
 create mode 100644 tools/binman/test/166_fit_fdt.dts
 create mode 100644 tools/binman/test/167_fit_fdt_missing_prop.dts

-- 
2.28.0.402.g5ffc5be6b7-goog



More information about the U-Boot mailing list