
24 Aug
2019
24 Aug
'19
3:23 p.m.
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 --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: 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)
--
2.23.0.187.g17f5b7556c-goog