[U-Boot,33/34] binman: Add logging for the number of pack passes
diff mbox series

Message ID 20190824132315.53130-34-sjg@chromium.org
State New
Delegated to: Simon Glass
Headers show
  • binman: Various improvements and tidy-ups
Related show

Commit Message

Simon Glass Aug. 24, 2019, 1:23 p.m. UTC
Sometimes binman takes multiple passes to complete packing an image. Add
logging to indicate this.

Signed-off-by: Simon Glass <sjg@chromium.org>

 tools/binman/control.py | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/tools/binman/control.py b/tools/binman/control.py
index 07dffbd89c..d1ca798cfb 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -439,6 +439,7 @@  def ProcessImage(image, update_fdt, write_map, get_contents=True,
         if sizes_ok:
+    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)' %