[U-Boot] [PATCH 28/53] binman: Support updating entries in an existing image
sjg at google.com
sjg at google.com
Mon Jul 29 21:22:21 UTC 2019
While it is useful and efficient to build images in a single pass from a
unified description, it is sometimes desirable to update the image later.
Add support for replace an existing file with one of the same size. This
avoids needing to repack the file. Support for more advanced updates will
come in future patches.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/README | 13 ++-
tools/binman/control.py | 33 +++++++-
tools/binman/entry.py | 23 ++++++
tools/binman/ftest.py | 102 +++++++++++++++++++++++-
tools/binman/image.py | 3 +
tools/binman/state.py | 74 ++++++++++++-----
tools/binman/test/132_replace.dts | 21 +++++
tools/binman/test/133_replace_multi.dts | 33 ++++++++
8 files changed, 277 insertions(+), 25 deletions(-)
create mode 100644 tools/binman/test/132_replace.dts
create mode 100644 tools/binman/test/133_replace_multi.dts
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list