binman: Add support for ATF FIP
authorSimon Glass <sjg@chromium.org>
Wed, 24 Nov 2021 04:08:59 +0000 (21:08 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Dec 2021 16:44:59 +0000 (09:44 -0700)
commit75989727601b8fe6244314f90bc6f9ef3503b590
treec2e052f934db293cb08754b4b04ecfcc8d5f03db
parented16b12576ad386d3b22257b7399cd9eb01c69b4
binman: Add support for ATF FIP

This format is used in firmware binaries so we may as well supported it.

With this patch binman supports creating, listing and updating FIPs, as
well as extracting files from one, provided that an FDTMAP is also present
somewhere in the image.

Signed-off-by: Simon Glass <sjg@chromium.org>
13 files changed:
tools/binman/entries.rst
tools/binman/etype/atf_fip.py [new file with mode: 0644]
tools/binman/ftest.py
tools/binman/test/203_fip.dts [new file with mode: 0644]
tools/binman/test/204_fip_other.dts [new file with mode: 0644]
tools/binman/test/205_fip_no_type.dts [new file with mode: 0644]
tools/binman/test/206_fip_uuid.dts [new file with mode: 0644]
tools/binman/test/207_fip_ls.dts [new file with mode: 0644]
tools/binman/test/208_fip_replace.dts [new file with mode: 0644]
tools/binman/test/209_fip_missing.dts [new file with mode: 0644]
tools/binman/test/210_fip_size.dts [new file with mode: 0644]
tools/binman/test/211_fip_bad_align.dts [new file with mode: 0644]
tools/binman/test/212_fip_collection.dts [new file with mode: 0644]