aboutsummaryrefslogtreecommitdiff
path: root/tools/binman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-06 21:35:13 -0700
committerSimon Glass <sjg@chromium.org>2021-01-30 14:25:41 -0700
commit5b378e4d0b88502faac50180d4be10d60a3f49a8 (patch)
tree13b7d7b2391e675e60248e36f4aff37404d7a492 /tools/binman
parent397a770254781d1bc59b0f8730aec4b7f52d750d (diff)
downloadu-boot-5b378e4d0b88502faac50180d4be10d60a3f49a8.zip
u-boot-5b378e4d0b88502faac50180d4be10d60a3f49a8.tar.gz
u-boot-5b378e4d0b88502faac50180d4be10d60a3f49a8.tar.bz2
binman: Show the size when writing entries
Update the log output to show the size, since this is useful information. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman')
-rw-r--r--tools/binman/control.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 072417f..1952b2a 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -244,7 +244,8 @@ def ExtractEntries(image_fname, output_fname, outdir, entry_paths,
if not os.path.exists(fname):
os.makedirs(fname)
fname = os.path.join(fname, 'root')
- tout.Notice("Write entry '%s' to '%s'" % (entry.GetPath(), fname))
+ tout.Notice("Write entry '%s' size %x to '%s'" %
+ (entry.GetPath(), len(data), fname))
tools.WriteFile(fname, data)
return einfos