aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-04-08 16:08:39 -0400
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-07 23:17:25 +0200
commitdeb2638aa09e23e0ca263a77bde2079dc4bd48df (patch)
treeb604ba88520a9e63c5e5e224728c845e1289a9a5 /doc
parentecd4e5cf18b183b4b4679b2c1ce96df605b81746 (diff)
downloadu-boot-deb2638aa09e23e0ca263a77bde2079dc4bd48df.zip
u-boot-deb2638aa09e23e0ca263a77bde2079dc4bd48df.tar.gz
u-boot-deb2638aa09e23e0ca263a77bde2079dc4bd48df.tar.bz2
mkimage: Document misc options
Over the years, several options have not made it into the help message. Document them. Do the same for the man page. Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/mkimage.136
1 files changed, 35 insertions, 1 deletions
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 2870062..c92e133 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -53,6 +53,10 @@ Parse image file as type.
Pass \-h as the image to see the list of supported image type.
Without this option image type is autodetected.
+.TP
+.BI "\-q"
+Quiet. Don't print the image header on successful verification.
+
.P
.B Create old legacy image:
@@ -92,6 +96,11 @@ List the contents of an image.
Set image name to 'image name'.
.TP
+.BI "\-R [" "secondary image name" "]"
+Some image types support a second image for additional data. For these types,
+use \-R to specify this second image.
+
+.TP
.BI "\-d [" "image data file" "]"
Use image data from 'image data file'.
@@ -99,6 +108,15 @@ Use image data from 'image data file'.
.BI "\-x"
Set XIP (execute in place) flag.
+.TP
+.BI "\-s"
+Create an image with no data. The header will be created, but the image itself
+will not contain data (such as U-Boot or any specified kernel).
+
+.TP
+.BI "\-v"
+Verbose. Print file names as they are added to the image.
+
.P
.B Create FIT image:
@@ -127,6 +145,11 @@ A 'data-offset' of 0 indicates that it starts in the first (4-byte aligned)
byte after the FIT.
.TP
+.BI "\-B [" "alignment" "]"
+The alignment, in hexadecimal, that external data will be aligned to. This
+option only has an effect when \-E is specified.
+
+.TP
.BI "\-f [" "image tree source file" " | " "auto" "]"
Image tree source file that describes the structure and contents of the
FIT image.
@@ -162,6 +185,11 @@ verification. Typically the file here is the device tree binary used by
CONFIG_OF_CONTROL in U-Boot.
.TP
+.BI "\-G [" "key_file" "]"
+Specifies the private key file to use when signing. This option may be used
+instead of \-k.
+
+.TP
.BI "\-o [" "signing algorithm" "]"
Specifies the algorithm to be used for signing a FIT image. The default is
taken from the signature node's 'algo' property.
@@ -173,12 +201,18 @@ a 'data-offset' property defining the offset from the end of the FIT, \-p will
use 'data-position' as the absolute position from the base of the FIT.
.TP
-.BI "\-r
+.BI "\-r"
Specifies that keys used to sign the FIT are required. This means that they
must be verified for the image to boot. Without this option, the verification
will be optional (useful for testing but not for release).
.TP
+.BI "\-N [" "engine" "]"
+The openssl engine to use when signing and verifying the image. For a complete list of
+available engines, refer to
+.BR engine (1).
+
+.TP
.BI "\-t
Update the timestamp in the FIT.