]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow entries to expand after packing
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:37 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commit53f75f595b00560cdb29bd5186f3adde824e2e16
treeb2a206a5487a5cd7b156659e2358ccf0ccc92f98
parent853b9c8aeb114bf0eb1a2baa81c3b7b9b7d01bec
binman: Allow entries to expand after packing

Add support for detecting entries that change size after they have already
been packed, and re-running packing when it happens.

This removes the limitation that entry size cannot change after
PackEntries() is called.

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
tools/binman/README
tools/binman/bsection.py
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/_testing.py
tools/binman/etype/section.py
tools/binman/etype/u_boot_with_ucode_ptr.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/121_entry_expand.dts [new file with mode: 0644]
tools/binman/test/122_entry_expand_twice.dts [new file with mode: 0644]
tools/binman/test/123_entry_expand_section.dts [new file with mode: 0644]