[PATCH 3/3] binman: implement signing FIT images during image build
Simon Glass
sjg at chromium.org
Fri Oct 18 01:12:00 CEST 2024
On Mon, 16 Sept 2024 at 02:25, <al.kochet at gmail.com> wrote:
>
> From: Alexander Kochetkov <al.kochet at gmail.com>
>
> The patch implement new property 'fit,sign' that can be declared
> at the top-level 'fit' node. If that option is declared, fit tryies
> to detect private keys directory among binman include directories.
> That directory than passed to mkimage using '-k' flag and that enable
> signing of FIT.
>
> Signed-off-by: Alexander Kochetkov <al.kochet at gmail.com>
> ---
> tools/binman/btool/mkimage.py | 5 +-
> tools/binman/entries.rst | 7 ++
> tools/binman/etype/fit.py | 51 +++++++++++++
> tools/binman/ftest.py | 95 ++++++++++++++++++++++++
> tools/binman/test/326_fit_signature.dts | 98 +++++++++++++++++++++++++
> tools/binman/test/326_rsa2048.key | 28 +++++++
> tools/binman/test/327_fit_signature.dts | 98 +++++++++++++++++++++++++
> tools/binman/test/328_fit_signature.dts | 61 +++++++++++++++
> 8 files changed, 442 insertions(+), 1 deletion(-)
> create mode 100644 tools/binman/test/326_fit_signature.dts
> create mode 100644 tools/binman/test/326_rsa2048.key
> create mode 100644 tools/binman/test/327_fit_signature.dts
> create mode 100644 tools/binman/test/328_fit_signature.dts
>
Reviewed-by: Simon Glass <sjg at chromium.org>
Nice
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list