1 .\" SPDX-License-Identifier: GPL-2.0+
2 .\" Copyright (c) 2021, Linaro Limited
4 .TH MAEFICAPSULE 1 "May 2021"
7 mkeficapsule \- Generate EFI capsule file for U-Boot
11 .RI [ options "] " image-blob " " capsule-file
15 command is used to create an EFI capsule file for use with the U-Boot
17 A capsule file may contain various type of firmware blobs which
18 are to be applied to the system and must be placed in the specific
19 directory on the UEFI system partition.
20 An update will be automatically executed at next reboot.
22 Optionally, a capsule file can be signed with a given private key.
23 In this case, the update will be authenticated by verifying the signature
27 takes any type of image files, including:
30 format is a single binary blob of any type of firmware.
33 .I FIT (Flattened Image Tree) image
34 format is the same as used in the new uImage format and allows for
35 multiple binary blobs in a single capsule file.
36 This type of image file can be generated by
40 If you want to use other types than above two, you should explicitly
41 specify a guid for the FMP driver.
45 .BR --fit ", " --raw " or " --guid
46 option must be specified.
50 Indicate that the blob is a FIT image file
54 Indicate that the blob is a raw image file
57 .BI "-g\fR,\fB --guid " guid-string
58 Specify guid for image blob type. The format is:
59 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
61 The first three elements are in little endian, while the rest
65 .BI "-i\fR,\fB --index " index
66 Specify an image index
69 .BI "-I\fR,\fB --instance " instance
70 Specify a hardware instance
78 .BR --private-key ", " --certificate " and " --monotonic-count
82 .BI "-p\fR,\fB --private-key " private-key-file
83 Specify signer's private key file in PEM
86 .BI "-c\fR,\fB --certificate " certificate-file
87 Specify signer's certificate file in EFI certificate list format
90 .BI "-m\fR,\fB --monotonic-count " count
91 Specify a monotonic count which is set to be monotonically incremented
92 at every firmware update.
95 .B "-d\fR,\fB --dump_sig"
96 Dump signature data into *.p7 file
101 .I /EFI/UpdateCapsule
102 The directory in which all capsule files be placed
111 http://www.denx.de/wiki/U-Boot/WebHome