aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/README
diff options
context:
space:
mode:
authorSimon Glass2019-07-08 14:25:49 -0600
committerSimon Glass2019-07-24 12:54:08 -0700
commiteea264ead3ca198ed66f62a78dc4940075621ae7 (patch)
treeb7005012bbfa1ba540658b6878b01b7637a1a7a1 /tools/binman/README
parent61f564d15f35e5f5600ed639201b257efa09d1f1 (diff)
binman: Allow for logging information to be displayed
Binman generally operates silently but in some cases it is useful to see what Binman is actually doing at each step. Enable some logging output with different logging levels selectable via the -v flag. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/README')
-rw-r--r--tools/binman/README19
1 files changed, 18 insertions, 1 deletions
diff --git a/tools/binman/README b/tools/binman/README
index 146e0fd470a..1655a9d50df 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -533,6 +533,24 @@ or with wildcards:
image-header bf8 8 image-header bf8
+Logging
+-------
+
+Binman normally operates silently unless there is an error, in which case it
+just displays the error. The -D/--debug option can be used to create a full
+backtrace when errors occur.
+
+Internally binman logs some output while it is running. This can be displayed
+by increasing the -v/--verbosity from the default of 1:
+
+ 0: silent
+ 1: warnings only
+ 2: notices (important messages)
+ 3: info about major operations
+ 4: detailed information about each operation
+ 5: debug (all output)
+
+
Hashing Entries
---------------
@@ -868,7 +886,6 @@ Some ideas:
- Add an option to decode an image into the constituent binaries
- Support building an image for a board (-b) more completely, with a
configurable build directory
-- Support logging of binman's operations, with different levels of verbosity
- Support updating binaries in an image (with no size change / repacking)
- Support updating binaries in an image (with repacking)
- Support adding FITs to an image