]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow mkimage to use a non-zero fake-blob size
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:19:05 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commit32a9475d7d2438949f9e25cc43778d6b1abb28e5
treed07400ebe3dee62f4ea7107f8178a6069d0a951d
parent113bf56d9c63d2d23be8fb2c6d1e219fdc652436
binman: Allow mkimage to use a non-zero fake-blob size

Unfortunately mkimage gets upset with zero-sized files. Update the
ObtainContents() method to support specifying the size, if a fake blob is
created.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/entry.py
tools/binman/etype/_testing.py
tools/binman/etype/blob.py
tools/binman/etype/mkimage.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/229_mkimage_missing.dts [new file with mode: 0644]