]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow extracting a file in an alternative format
authorSimon Glass <sjg@chromium.org>
Wed, 24 Nov 2021 04:09:50 +0000 (21:09 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 5 Dec 2021 16:22:41 +0000 (09:22 -0700)
commit6a6870683110baa746eee9cf2d144b17f92ec87d
treef5a773d98a397109bf5ca95abcc70dbc6f543328
parenta724164b304c9ec1a6de0c2b22e9019e6d6af627
binman: Allow extracting a file in an alternative format

In some cases entries encapsulate other data and it is useful to access
the data within. An example is the fdtmap which consists of a 16-byte
header, followed by a devicetree.

Provide an option to specify an alternative format when extracting files.
In the case of fdtmap, this is 'fdt', which produces an FDT file which can
be viewed with fdtdump.

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
tools/binman/binman.rst
tools/binman/cmdline.py
tools/binman/control.py
tools/binman/entries.rst
tools/binman/entry.py
tools/binman/etype/cbfs.py
tools/binman/etype/fdtmap.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/213_fdtmap_alt_format.dts [new file with mode: 0644]
tools/binman/test/214_no_alt_format.dts [new file with mode: 0644]