[PATCH v3 00/12] binman: Add support for generating more complex FITs

Simon Glass sjg at chromium.org
Tue Sep 1 13:13:53 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.

Note: This series is available at u-boot-dm/binman-working and is based
on u-boot-dm/testing

Changes in v3:
- Add a way to show help messages for missing blobs
- Rebase on top of earlier binman series

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

Simon Glass (12):
  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
  sunxi: Convert 64-bit boards to use binman
  sunxi: Drop the FIT-generator script
  binman: Allow selecting default FIT configuration
  binman: Support help messages for missing blobs
  binman: sunxi: Add help message for missing sunxi ATF BL31

 Kconfig                                       |   3 +-
 Makefile                                      |  23 +-
 arch/arm/dts/sunxi-u-boot.dtsi                |  62 +++++-
 board/sunxi/mksunxi_fit_atf.sh                |  87 --------
 scripts/dtc/pylibfdt/libfdt.i_shipped         |   3 +-
 tools/binman/README                           |   6 +
 tools/binman/README.entries                   |  73 ++++++-
 tools/binman/control.py                       |  74 ++++++-
 tools/binman/entry.py                         |  23 ++
 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                     | 116 +++++++++-
 tools/binman/etype/section.py                 |  14 +-
 tools/binman/ftest.py                         | 203 +++++++++++++++++-
 tools/binman/missing-blob-help                |  15 ++
 tools/binman/test/168_fit_missing_blob.dts    |   9 +-
 tools/binman/test/169_atf_bl31.dts            |  16 ++
 .../binman/test/171_fit_fdt_missing_prop.dts  |  54 +++++
 tools/binman/test/172_fit_fdt.dts             |  55 +++++
 22 files changed, 734 insertions(+), 158 deletions(-)
 delete mode 100755 board/sunxi/mksunxi_fit_atf.sh
 create mode 100644 tools/binman/etype/atf_bl31.py
 create mode 100644 tools/binman/missing-blob-help
 create mode 100644 tools/binman/test/169_atf_bl31.dts
 create mode 100644 tools/binman/test/171_fit_fdt_missing_prop.dts
 create mode 100644 tools/binman/test/172_fit_fdt.dts

-- 
2.28.0.402.g5ffc5be6b7-goog



More information about the U-Boot mailing list