Skip to content

Commit

Permalink
binman: Add logging for the number of pack passes
Browse files Browse the repository at this point in the history
Sometimes binman takes multiple passes to complete packing an image. Add
logging to indicate this.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 committed Oct 15, 2019
1 parent 261cbe0 commit aed6c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/binman/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aed6c0b

Please sign in to comment.