Copyright (c) 2021, Linaro Limited
written by AKASHI Takahiro <takahiro.akashi@linaro.org>
raw image format is a single binary blob of any type of firmware.
FIT (Flattened Image Tree) image format is the same as used in the new uImage format and allows for multiple binary blobs in a single capsule file. This type of image file can be generated by mkimage .
"-g, --guid " guid-string Specify guid for image blob type. The format is: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx The first three elements are in little endian, while the rest is in big endian. The option must be specified for all non empty and image acceptance capsules
"-i, --index " index Specify an image index
"-I, --instance " instance Specify a hardware instance
For generation of firmware accept empty capsule --guid is mandatory
"-A, --fw-accept " Generate a firmware acceptance empty capsule
"-R, --fw-revert " Generate a firmware revert empty capsule
"-o, --capoemflag " Capsule OEM flag, value between 0x0000 to 0xffff
-h ", " --help Print a help message
With signing, --private-key ", " --certificate " and " --monotonic-count are all mandatory.
"-p, --private-key " private-key-file Specify signer's private key file in PEM
"-c, --certificate " certificate-file Specify signer's certificate file in EFI certificate list format
"-m, --monotonic-count " count Specify a monotonic count which is set to be monotonically incremented at every firmware update.
"-d, --dump_sig" Dump signature data into *.p7 file
/EFI/UpdateCapsule The directory in which all capsule files be placed