[PATCH 2/5] binman: Register and check bintools from FIT subentries

Simon Glass sjg at chromium.org
Mon Feb 7 21:22:25 CET 2022


On Sun, 6 Feb 2022 at 14:03, Alper Nebi Yasak <alpernebiyasak at gmail.com> wrote:
>
> Binman keeps track of binary tools each entry wants to use. The
> implementation of this for the FIT entry only adds "mkimage", but not
> the tools that would be used by its subentries.
>
> Register the binary tools that FIT subentries will use in addition to
> the one FIT itself uses, and check their existence by copying the
> appropriate method from Section entry type. Also add tests that check if
> these subentries can use and warn about binary tools.
>
> Signed-off-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
> ---
>
>  tools/binman/etype/fit.py                     | 14 +++++++
>  tools/binman/ftest.py                         | 25 ++++++++++++
>  .../binman/test/220_fit_subentry_bintool.dts  | 39 +++++++++++++++++++
>  3 files changed, 78 insertions(+)
>  create mode 100644 tools/binman/test/220_fit_subentry_bintool.dts

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list