[PATCH 2/2] binman: Add support for ATF FIP

Simon Glass sjg at chromium.org
Wed Dec 15 01:33:50 CET 2021


+CC Sandrine

On Wed, 24 Nov 2021 at 06:09, Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
>  scripts/pylint.base                      |   1 +
>  tools/binman/entries.rst                 | 154 +++++++++++++
>  tools/binman/etype/atf_fip.py            | 273 +++++++++++++++++++++++
>  tools/binman/ftest.py                    | 217 ++++++++++++++++++
>  tools/binman/test/203_fip.dts            |  21 ++
>  tools/binman/test/204_fip_other.dts      |  22 ++
>  tools/binman/test/205_fip_no_type.dts    |  15 ++
>  tools/binman/test/206_fip_uuid.dts       |  22 ++
>  tools/binman/test/207_fip_ls.dts         |  25 +++
>  tools/binman/test/208_fip_replace.dts    |  33 +++
>  tools/binman/test/209_fip_missing.dts    |  19 ++
>  tools/binman/test/210_fip_size.dts       |  19 ++
>  tools/binman/test/211_fip_bad_align.dts  |  18 ++
>  tools/binman/test/212_fip_collection.dts |  24 ++
>  14 files changed, 863 insertions(+)
>  create mode 100644 tools/binman/etype/atf_fip.py
>  create mode 100644 tools/binman/test/203_fip.dts
>  create mode 100644 tools/binman/test/204_fip_other.dts
>  create mode 100644 tools/binman/test/205_fip_no_type.dts
>  create mode 100644 tools/binman/test/206_fip_uuid.dts
>  create mode 100644 tools/binman/test/207_fip_ls.dts
>  create mode 100644 tools/binman/test/208_fip_replace.dts
>  create mode 100644 tools/binman/test/209_fip_missing.dts
>  create mode 100644 tools/binman/test/210_fip_size.dts
>  create mode 100644 tools/binman/test/211_fip_bad_align.dts
>  create mode 100644 tools/binman/test/212_fip_collection.dts
>
Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list