Skip to content
Snippets Groups Projects
Commit aed6c0b0 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 261cbe0b
No related branches found
No related tags found
Loading
...@@ -442,6 +442,7 @@ def ProcessImage(image, update_fdt, write_map, get_contents=True, ...@@ -442,6 +442,7 @@ def ProcessImage(image, update_fdt, write_map, get_contents=True,
if sizes_ok: if sizes_ok:
break break
image.ResetForPack() image.ResetForPack()
tout.Info('Pack completed after %d pass(es)' % (pack_pass + 1))
if not sizes_ok: if not sizes_ok:
image.Raise('Entries changed size after packing (tried %s passes)' % image.Raise('Entries changed size after packing (tried %s passes)' %
passes) passes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment