mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
binman: Write the original input fdtmap to a file
When reading an image in, write its fdtmap to a file in the output directory. This is useful for debugging. Update the 'ls' command to set up the output directory; otherwise it will fail. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -342,7 +342,11 @@ def Binman(args):
|
||||
return 0
|
||||
|
||||
if args.cmd == 'ls':
|
||||
ListEntries(args.image, args.paths)
|
||||
try:
|
||||
tools.PrepareOutputDir(None)
|
||||
ListEntries(args.image, args.paths)
|
||||
finally:
|
||||
tools.FinaliseOutputDir()
|
||||
return 0
|
||||
|
||||
if args.cmd == 'extract':
|
||||
|
Reference in New Issue
Block a user