]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: implement signing FIT images during image build
authorAlexander Kochetkov <al.kochet@gmail.com>
Mon, 16 Sep 2024 08:24:46 +0000 (11:24 +0300)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:22 +0000 (14:10 -0600)
commit133c000ca334743fda3a4d77f7638da1a807e40e
tree421e5612771978ab87616823a47eae57b6c3a8b0
parent9e81f13dbb41843abb25e6c4b20961f092630f13
binman: implement signing FIT images during image build

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Renumbered files, moved new tests to end:
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/btool/mkimage.py
tools/binman/entries.rst
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/340_fit_signature.dts [new file with mode: 0644]
tools/binman/test/340_rsa2048.key [new file with mode: 0644]
tools/binman/test/341_fit_signature.dts [new file with mode: 0644]
tools/binman/test/342_fit_signature.dts [new file with mode: 0644]