[PATCH 08/10] binman: Allow vblock to include devicetree blobs

Simon Glass sjg at chromium.org
Sat Jan 23 18:27:04 CET 2021

At present if a devicetree blob is included in a vblock it does not deal
with updates. This is because the vblock is created once at the start and
does not have a method to update itself later, after all the entry
contents are finalised.

Fix this by adjusting how the vblock is created.

Also simplify Image.ProcessEntryContents() since it effectively duplicates
the code in Section.ProcessContents().

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

 tools/binman/etype/blob.py               |  4 ++
 tools/binman/etype/vblock.py             | 15 +++++++-
 tools/binman/ftest.py                    | 49 +++++++++++++++++++++++-
 tools/binman/image.py                    |  7 +---
 tools/binman/test/189_vblock_content.dts | 31 +++++++++++++++
 5 files changed, 96 insertions(+), 10 deletions(-)
 create mode 100644 tools/binman/test/189_vblock_content.dts

Applied to u-boot-dm, thanks!

More information about the U-Boot mailing list