mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
binman: Add logging for the number of pack passes
Sometimes binman takes multiple passes to complete packing an image. Add logging to indicate this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
261cbe0b37
commit
aed6c0b043
1 changed files with 1 additions and 0 deletions
|
@ -442,6 +442,7 @@ def ProcessImage(image, update_fdt, write_map, get_contents=True,
|
|||
if sizes_ok:
|
||||
break
|
||||
image.ResetForPack()
|
||||
tout.Info('Pack completed after %d pass(es)' % (pack_pass + 1))
|
||||
if not sizes_ok:
|
||||
image.Raise('Entries changed size after packing (tried %s passes)' %
|
||||
passes)
|
||||
|
|
Loading…
Add table
Reference in a new issue