mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
61f564d15f
commit
eea264ead3
4 changed files with 31 additions and 4 deletions
|
@ -20,6 +20,7 @@ from etype import section
|
|||
import fdt
|
||||
import fdt_util
|
||||
import tools
|
||||
import tout
|
||||
|
||||
class Image(section.Entry_section):
|
||||
"""A Image, representing an output from binman
|
||||
|
@ -107,7 +108,7 @@ class Image(section.Entry_section):
|
|||
for entry in self._entries.values():
|
||||
if not entry.ProcessContents():
|
||||
sizes_ok = False
|
||||
print("Entry '%s' size change" % self._node.path)
|
||||
tout.Debug("Entry '%s' size change" % self._node.path)
|
||||
return sizes_ok
|
||||
|
||||
def WriteSymbols(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue