[PATCH 00/10] binman: Various minor fixes and improvement

Simon Glass sjg at chromium.org
Thu Jan 7 05:35:09 CET 2021


This series includes a number of minor fixes and improvements identified
while trying out Chrome OS verified boot on it.

These were not apparent without this real-world testing, but all are
deficiencies in one way or another.


Simon Glass (10):
  dtoc: binman: Drop Python 2 code
  patman: Correct lz4 compression parameters
  binman: Update the TODO list
  binman: Show the size when writing entries
  binman: Fix a few file comments
  binman: Support finding symbols in sub-sections
  binman: Support reading an image with entry args
  binman: Allow vblock to include devicetree blobs
  binman: Support alignment of files
  binman: Allow for skip_at_start when reading entries

 tools/binman/README                       |   3 +-
 tools/binman/control.py                   |   3 +-
 tools/binman/elf.py                       |   3 +-
 tools/binman/elf_test.py                  |   4 +-
 tools/binman/entry.py                     |   3 +-
 tools/binman/etype/blob.py                |   4 +
 tools/binman/etype/files.py               |   4 +
 tools/binman/etype/section.py             |  66 +++++++++++--
 tools/binman/etype/u_boot_spl_bss_pad.py  |   1 -
 tools/binman/etype/u_boot_spl_nodtb.py    |   2 +-
 tools/binman/etype/vblock.py              |  15 ++-
 tools/binman/fmap_util.py                 |   4 +-
 tools/binman/ftest.py                     | 110 +++++++++++++++++++++-
 tools/binman/image.py                     |  62 ++++++++++--
 tools/binman/state.py                     |  10 ++
 tools/binman/test/084_files.dts           |   2 +-
 tools/binman/test/187_symbols_sub.dts     |  22 +++++
 tools/binman/test/188_image_entryarg.dts  |  21 +++++
 tools/binman/test/189_vblock_content.dts  |  31 ++++++
 tools/binman/test/190_files_align.dts     |  12 +++
 tools/binman/test/191_read_image_skip.dts |  23 +++++
 tools/dtoc/fdt.py                         |  15 ++-
 tools/dtoc/test_fdt.py                    |   6 ++
 tools/patman/tools.py                     |   3 +-
 24 files changed, 393 insertions(+), 36 deletions(-)
 create mode 100644 tools/binman/test/187_symbols_sub.dts
 create mode 100644 tools/binman/test/188_image_entryarg.dts
 create mode 100644 tools/binman/test/189_vblock_content.dts
 create mode 100644 tools/binman/test/190_files_align.dts
 create mode 100644 tools/binman/test/191_read_image_skip.dts

-- 
2.29.2.729.g45daf8777d-goog



More information about the U-Boot mailing list