summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-24 07:23:13 -0600
committerSimon Glass <sjg@chromium.org>2019-10-15 08:40:02 -0600
commitaed6c0b04350aaecdf3d93db5ee9b374f425222b (patch)
tree5ec5cead015c7cac2d8297185faf866a46701843 /tools
parent261cbe0b3716737e328481b6f3f51cfcb7f13e31 (diff)
downloadu-boot-aed6c0b04350aaecdf3d93db5ee9b374f425222b.tar.gz
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/control.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index fe24b2a6a7..68ad5fc2c0 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)