summaryrefslogtreecommitdiff
path: root/doc/mkimage.1
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2022-01-14 12:21:19 +0300
committerTom Rini <trini@konsulko.com>2022-01-24 18:35:10 +0300
commit5902a397d029008a98e8e83b7627635ed3a2cd06 (patch)
treea9a7f6665bcf9d1166e02ab5aec3859b4d4d2f30 /doc/mkimage.1
parent6ae24346891d7e9d22707949c61f09346b28d761 (diff)
downloadu-boot-5902a397d029008a98e8e83b7627635ed3a2cd06.tar.xz
mkimage: Allow to specify the signature algorithm on the command line
This permits to prepare FIT image description that do not hard-code the final choice of the signature algorithm, possibly requiring the user to patch the sources. When -o <algo> is specified, this information is used in favor of the 'algo' property in the signature node. Furthermore, that property is set accordingly when writing the image. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'doc/mkimage.1')
-rw-r--r--doc/mkimage.15
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index fea5288784..0734bd36a1 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -156,6 +156,11 @@ verification. Typically the file here is the device tree binary used by
CONFIG_OF_CONTROL in U-Boot.
.TP
+.BI "\-o [" "signing algorithm" "]"
+Specifies the algorithm to be used for signing a FIT image. The default is
+taken from the target signature nodes 'algo' properties.
+
+.TP
.BI "\-p [" "external position" "]"
Place external data at a static external position. See \-E. Instead of writing
a 'data-offset' property defining the offset from the end of the FIT, \-p will