]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc9706c731c2bf81ab1db15352120e0d2cf192de4
treee8f2edff2c01e0a90f203db9fc3a5d336d15fd0c
parent027a417454b33a2a95e4e08115e8e1b35cf87478
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]