MAEFICAPSULE(1)
π MAEFICAPSULE(1) π
okay bestie, welcome to the General Commands Manual page for mkeficapsule, and yes the whole name is literally lowercase like that, we don't make the rules β¨
β¨ NAME β¨
mkeficapsule β Generate EFI capsule file for U-Boot π¦
πΈ SYNOPSIS πΈ
mkeficapsule [options] [image-blob] capsule-file
mkeficapsule guidgen [GUID] DTB IMAGE_NAME...
π DESCRIPTION π
so mkeficapsule is the girl who makes EFI capsule files for U-Boot firmware updates. iconic behaviour honestly. a capsule file can carry all kinds of firmware blobs that are gonna get applied to your system. and here's the tea: if you drop that capsule file into the /EFI/CapusuleUpdate directory of the EFI system partition, U-Boot will try to run the update at the next reboot. no cap. π₯
optionally, a capsule file can be signed with a given private key. in that case the update gets authenticated by verifying the signature before it's applied β vibe check before entry, as it should be.
also, you can generate an empty capsule file to signal the acceptance or rejection of firmware images by a governing component, like an operating system. empty capsules do not need an image-blob input file. low maintenance, high impact π
mkeficapsule takes literally any type of image file when generating non-empty capsules, including:
- raw image β the format is a single binary blob of any type of firmware.
- FIT (Flattened Image Tree) image β same format as the new uImage format, and it lets you pack multiple binary blobs into a single capsule file. this type of image file can be generated by
mkimage.
mkeficapsule can also be used to simulate the dynamic GUID generation used to identify firmware images in capsule updates, by providing the namespace guid, dtb for the board, and a list of firmware images. it's giving β¨multitaskingβ¨
β¨ OPTIONS β¨
-g,--guidguid-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. (yes bestie, mandatory, no skipping π)
-i,--indexindex β Specify an image index.-I,--instanceinstance β Specify a hardware instance.
FMP Payload Header is inserted right before the payload if --fw-version is specified.
-v,--fw-versionfirmware-version β Specify a firmware version,0if omitted.
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 between0x0000to0xffff.-V,--versionβ Print version information and exit.-h,--helpβ Print a help message.
π the signing era π
With signing, --private-key, --certificate and --monotonic-count are all mandatory. all three, bestie. the whole trio. π«Ά
-p,--private-keyprivate-key-file β Specify signer's private key file in PEM.-c,--certificatecertificate-file β Specify signer's certificate file in EFI certificate list format.-m,--monotonic-countcount β Specify a monotonic count which is set to be monotonically incremented at every firmware update.-d,--dump_sigβ Dump signature data into*.p7file.
π§ GUIDGEN OPTIONS π§
[GUID]β The namespace/salt GUID, by default this isEFI_CAPSULE_NAMESPACE_GUID. The format is:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
DTBβ The device tree blob file for the board.IMAGE_NAME...β The names of the firmware images to generate GUIDs for.
π FILES π
/EFI/UpdateCapsuleβ The directory in which all capsule files be placed.
π SEE ALSO π
π AUTHORS π
Written by AKASHI Takahiro <takahiro.akashi@linaro.org> β we love a named author, periodt π
π HOMEPAGE π
okay that's the whole page bestie, go forth and update your firmware responsibly, mwah π
this has been the MAEFICAPSULE(1) page, May 2021, from the U-Boot manual era β catch you on the next reboot, bye! πβ¨
π¦ where this page comes from
- fedora 43: uboot-tools 1:2025.10-1.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD AND LGPL-2.1-or-later AND LGPL-2.0-or-later
- fedora 44: uboot-tools 1:2026.04-2.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD AND LGPL-2.1-or-later AND LGPL-2.0-or-later
- nixos 26.05: uboot-tools-only_defconfig 2026.04
- π the page's license: GPL-2.0+
- Copyright (c) 2021, Linaro Limited
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms