All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [PATCH 04/10] binman: Show the size when writing entries
Date: Wed,  6 Jan 2021 21:35:13 -0700	[thread overview]
Message-ID: <20210106213503.4.Ib16c91d01d6ae3d1f6ab814813410de7b887f9aa@changeid> (raw)
In-Reply-To: <20210107043519.2634625-1-sjg@chromium.org>

Update the log output to show the size, since this is useful information.

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

 tools/binman/control.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/binman/control.py b/tools/binman/control.py
index 072417f3644..1952b2abf48 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
 
-- 
2.29.2.729.g45daf8777d-goog

  parent reply	other threads:[~2021-01-07  4:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07  4:35 [PATCH 00/10] binman: Various minor fixes and improvement Simon Glass
2021-01-07  4:35 ` [PATCH 01/10] dtoc: binman: Drop Python 2 code Simon Glass
2021-01-07  4:35 ` [PATCH 02/10] patman: Correct lz4 compression parameters Simon Glass
2021-01-07  4:35 ` [PATCH 03/10] binman: Update the TODO list Simon Glass
2021-01-07  4:35 ` Simon Glass [this message]
2021-01-07  4:35 ` [PATCH 05/10] binman: Fix a few file comments Simon Glass
2021-01-07  4:35 ` [PATCH 06/10] binman: Support finding symbols in sub-sections Simon Glass
2021-01-07  4:35 ` [PATCH 07/10] binman: Support reading an image with entry args Simon Glass
2021-01-07  4:35 ` [PATCH 08/10] binman: Allow vblock to include devicetree blobs Simon Glass
2021-01-07  4:35 ` [PATCH 09/10] binman: Support alignment of files Simon Glass
2021-01-07  4:35 ` [PATCH 10/10] binman: Allow for skip_at_start when reading entries Simon Glass
2021-01-23 17:27 ` Simon Glass
2021-01-23 17:27 ` [PATCH 09/10] binman: Support alignment of files Simon Glass
2021-01-23 17:27 ` [PATCH 08/10] binman: Allow vblock to include devicetree blobs Simon Glass
2021-01-23 17:27 ` [PATCH 07/10] binman: Support reading an image with entry args Simon Glass
2021-01-23 17:27 ` [PATCH 05/10] binman: Fix a few file comments Simon Glass
2021-01-23 17:27 ` [PATCH 06/10] binman: Support finding symbols in sub-sections Simon Glass
2021-01-23 17:27 ` [PATCH 04/10] binman: Show the size when writing entries Simon Glass
2021-01-23 17:27 ` [PATCH 03/10] binman: Update the TODO list Simon Glass
2021-01-23 17:27 ` [PATCH 02/10] patman: Correct lz4 compression parameters Simon Glass
2021-01-23 17:27 ` [PATCH 01/10] dtoc: binman: Drop Python 2 code Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210106213503.4.Ib16c91d01d6ae3d1f6ab814813410de7b887f9aa@changeid \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.