[PATCH v2 00/11] binman: Enhancements to binman mkimage

Simon Glass sjg at chromium.org
Sat Aug 13 19:40:39 CEST 2022


This includes enhancements to binman's 'mkimage' support so that it can
provide control over what is passed using the -n (imagename) argument.

It also includes various minor fixes and tweaks.

The entry-docs must be regenerated regularly with binman and this is very
slow now. A patch is included to speed up 'make htmldocs'.

Changes in v2:
- Use a dict to hold required properties
- Drop spurious quote
- Reword explanation of what is passed with -d and -n

Simon Glass (11):
  doc: Build documentation in parallel
  patman: Put the coverage command-line last
  patman: Don't buffer test output with a single test
  binman: Fix up the entry-docs for Entry_pre_load
  binman: Add a way to check for missing properties
  binman: Adjust mkimage etype node reading
  binman: Avoid use of expected failure
  binman: Improve mkimage documentation
  binman: Allow the image name to be the data file
  binman: Allow passing entries using -n
  binman: Allow collection to use entries from other sections

 doc/Makefile                                  |   1 +
 tools/binman/entries.rst                      |  67 ++++++++--
 tools/binman/entry.py                         |  43 +++++++
 tools/binman/etype/collection.py              |   3 +
 tools/binman/etype/fill.py                    |   3 +-
 tools/binman/etype/mkimage.py                 | 119 +++++++++++++++---
 tools/binman/etype/pre_load.py                |   3 +-
 tools/binman/etype/section.py                 |   8 +-
 tools/binman/ftest.py                         |  78 +++++++++++-
 tools/binman/test/235_mkimage_name.dts        |  18 +++
 tools/binman/test/236_mkimage_image.dts       |  21 ++++
 .../test/237_mkimage_image_no_content.dts     |  22 ++++
 tools/binman/test/238_mkimage_image_bad.dts   |  22 ++++
 tools/binman/test/239_collection_other.dts    |  29 +++++
 tools/binman/test/240_mkimage_coll.dts        |  27 ++++
 tools/patman/test_util.py                     |   7 +-
 16 files changed, 430 insertions(+), 41 deletions(-)
 create mode 100644 tools/binman/test/235_mkimage_name.dts
 create mode 100644 tools/binman/test/236_mkimage_image.dts
 create mode 100644 tools/binman/test/237_mkimage_image_no_content.dts
 create mode 100644 tools/binman/test/238_mkimage_image_bad.dts
 create mode 100644 tools/binman/test/239_collection_other.dts
 create mode 100644 tools/binman/test/240_mkimage_coll.dts

-- 
2.37.1.595.g718a3a8f04-goog



More information about the U-Boot mailing list