From: Simon Glass Date: Sat, 24 Aug 2019 13:23:13 +0000 (-0600) Subject: binman: Add logging for the number of pack passes X-Git-Tag: v2020.10~551^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aed6c0b04350aaecdf3d93db5ee9b374f425222b;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/tools/binman/control.py b/tools/binman/control.py index fe24b2a..68ad5fc 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -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)