[PATCH 5/8] binman: Support overlapping entries

Simon Glass sjg at chromium.org
Thu Jan 19 03:11:33 CET 2023


In some cases it is useful to have an entry overlap with another in a
section, either to update the contents within a blob, or to add an entry
to the fdtmap that covers only part of the blob.

Add support for this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/binman.rst                   |  9 +++-
 tools/binman/entry.py                     |  5 ++
 tools/binman/etype/section.py             | 31 +++++++----
 tools/binman/ftest.py                     | 63 +++++++++++++++++++++++
 tools/binman/test/269_overlap.dts         | 21 ++++++++
 tools/binman/test/270_overlap_null.dts    | 24 +++++++++
 tools/binman/test/271_overlap_bad.dts     | 21 ++++++++
 tools/binman/test/272_overlap_no_size.dts | 19 +++++++
 8 files changed, 183 insertions(+), 10 deletions(-)
 create mode 100644 tools/binman/test/269_overlap.dts
 create mode 100644 tools/binman/test/270_overlap_null.dts
 create mode 100644 tools/binman/test/271_overlap_bad.dts
 create mode 100644 tools/binman/test/272_overlap_no_size.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list