]> git.dujemihanovic.xyz Git - u-boot.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)
commit72e423c6b6664ff77b46c732f8d7e2e173b3b5fe
treed07400ebe3dee62f4ea7107f8178a6069d0a951d
parent3817ad4c1c2d62be15f657e6647afcc93faf1d55
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]