[PATCH 0/7] meson: Demonstration of using binman to produce the image

Simon Glass sjg at chromium.org
Wed Nov 24 05:09:47 CET 2021


The Odroid-C2 is quite a complicated image with many steps. It is an ideal
example for how Binman can be used.

Add a binman description and update the instructions accordingly.


Simon Glass (7):
  binman: Allow providing tools and blob directories
  binman: Allow listing an image created by a newer version
  binman: Allow extracting a file in an alternative format
  dtoc: Add support for reading string-list properties
  binman: Support lists of external blobs
  binman: Rename _ReadSubnodes() to ReadEntries()
  RFC: Move Odroid-C2 to use binman to produce the image

 Makefile                                      |   2 +
 arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi  | 107 +++++++++++++++
 arch/arm/mach-meson/Kconfig                   |   1 +
 doc/board/amlogic/odroid-c4.rst               | 127 +++++-------------
 scripts/pylint.base                           |   2 +
 tools/binman/binman.rst                       |  65 ++++++++-
 tools/binman/cmdline.py                       |   2 +
 tools/binman/control.py                       |  28 +++-
 tools/binman/entries.rst                      |  25 +++-
 tools/binman/entry.py                         | 102 +++++++++++---
 tools/binman/entry_test.py                    |   9 ++
 tools/binman/etype/aml_encrypt.py             | 124 +++++++++++++++++
 tools/binman/etype/atf_fip.py                 |  16 ++-
 tools/binman/etype/blob.py                    |  16 ++-
 tools/binman/etype/blob_ext_list.py           |  58 ++++++++
 tools/binman/etype/cbfs.py                    |   8 +-
 tools/binman/etype/fdtmap.py                  |  12 ++
 tools/binman/etype/fit.py                     |   4 +-
 tools/binman/etype/intel_ifwi.py              |   4 +-
 tools/binman/etype/mkimage.py                 |   4 +-
 tools/binman/etype/section.py                 |  26 +++-
 tools/binman/ftest.py                         |  57 ++++++++
 tools/binman/image.py                         |  12 +-
 tools/binman/missing-blob-help                |   6 +
 tools/binman/test/213_aml_encrypt.dts         |  38 ++++++
 tools/binman/test/213_fdtmap_alt_format.dts   |  15 +++
 tools/binman/test/214_list_no_dtb.dts         |  23 ++++
 tools/binman/test/214_no_alt_format.dts       |  13 ++
 tools/binman/test/215_blob_ext_list.dts       |  14 ++
 .../binman/test/216_blob_ext_list_missing.dts |  14 ++
 tools/dtoc/fdt_util.py                        |  21 +++
 tools/dtoc/test_fdt.py                        |   9 ++
 32 files changed, 822 insertions(+), 142 deletions(-)
 create mode 100644 tools/binman/etype/aml_encrypt.py
 create mode 100644 tools/binman/etype/blob_ext_list.py
 create mode 100644 tools/binman/test/213_aml_encrypt.dts
 create mode 100644 tools/binman/test/213_fdtmap_alt_format.dts
 create mode 100644 tools/binman/test/214_list_no_dtb.dts
 create mode 100644 tools/binman/test/214_no_alt_format.dts
 create mode 100644 tools/binman/test/215_blob_ext_list.dts
 create mode 100644 tools/binman/test/216_blob_ext_list_missing.dts

-- 
2.34.0.rc2.393.gf8c9666880-goog



More information about the U-Boot mailing list