binman: Support updating entries in an existing image
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:23:50 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commit10f9d0066b9e9e14327922fa62c2a1b6bea50785
treee8f2edff2c01e0a90f203db9fc3a5d336d15fd0c
parenta004f29464d14f3535ed8db22e5dfed02c8fc9d8
binman: Support updating entries in an existing image

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@chromium.org>
tools/binman/README
tools/binman/control.py
tools/binman/entry.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/state.py
tools/binman/test/132_replace.dts [new file with mode: 0644]
tools/binman/test/133_replace_multi.dts [new file with mode: 0644]