[PATCH 00/17] binman: Various tidy-ups and refactors
Simon Glass
sjg at chromium.org
Tue Nov 23 19:03:37 CET 2021
This series improves the implementation of the entry_Section class so that
it is easier to subclass it. It also updates the documentation in this
area and adds support for a few more types in the Fdt class.
Using this, the CBFS implementation is tidied up a bit, but is not yet
updated to use entry_Section as a base class. That needs a bit more work.
Still, this provides a better basis for new file formats.
Simon Glass (17):
dtoc: Bring in the libfdt module automatically
dtoc: Add support for reading 64-bit ints
dtoc: Add support for reading fixed-length bytes properties
binman: Tidy up style in cmdline
binman: Add a way to obtain the version
binman: Correct init of entry in Entry class
binman: Correct comments for ReadChildData()
binman: Drop the underscore in _ReadEntries()
binman: Drop the filename property in entry_Section
binman: Allow overriding BuildSectionData()
binman: Allow control of which entries to read
binman: Update the section documentation
binman: Move cbfs.ObtainContents() down a bit
binman: Use normal entries in cbfs
binman: cbfs: Refactor the init process
binman: cfbs: Refactor ObtainContents() for consistency
binman: Rename testCbfsNoCOntents()
scripts/pylint.base | 6 +-
tools/binman/cmdline.py | 74 ++++++++---
tools/binman/entries.rst | 149 +++++++++++++++++----
tools/binman/entry.py | 7 +-
tools/binman/etype/blob_phase.py | 2 +-
tools/binman/etype/cbfs.py | 90 +++++++------
tools/binman/etype/files.py | 2 +-
tools/binman/etype/section.py | 190 ++++++++++++++++++++-------
tools/binman/ftest.py | 24 +++-
tools/binman/state.py | 18 +++
tools/dtoc/fdt_util.py | 55 ++++++++
tools/dtoc/test/dtoc_test_simple.dts | 1 +
tools/dtoc/test_dtoc.py | 2 +
tools/dtoc/test_fdt.py | 44 ++++++-
14 files changed, 520 insertions(+), 144 deletions(-)
--
2.34.0.rc2.393.gf8c9666880-goog
More information about the U-Boot
mailing list