tree: 6ee241c5ca9c46463d6c14c8ade3c715a37da599 [path history] [tgz]
  1. efi/
  2. tests/
  3. fu-plugin-uefi-capsule.c
  4. fu-self-test.c
  5. fu-ucs2.c
  6. fu-ucs2.h
  7. fu-uefi-bgrt.c
  8. fu-uefi-bgrt.h
  9. fu-uefi-bootmgr.c
  10. fu-uefi-bootmgr.h
  11. fu-uefi-common.c
  12. fu-uefi-common.h
  13. fu-uefi-device.c
  14. fu-uefi-device.h
  15. fu-uefi-devpath.c
  16. fu-uefi-devpath.h
  17. fu-uefi-pcrs.c
  18. fu-uefi-pcrs.h
  19. fu-uefi-tool.c
  20. fu-uefi-update-info.c
  21. fu-uefi-update-info.h
  22. meson.build
  23. README.md
  24. uefi-capsule.quirk
  25. uefi_capsule.conf
plugins/uefi-capsule/README.md

UEFI Capsule Support

Introduction

The Unified Extensible Firmware Interface (UEFI) is a specification that defines the software interface between an OS and platform firmware. With the UpdateCapsule boot service it can be used to update system firmware.

If you don't want or need this functionality you can use the -Dplugin_uefi_capsule=false option.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmware blob in EFI capsule file format.

See https://www.uefi.org/sites/default/files/resources/UEFI%20Spec%202_6.pdf for details.

This plugin supports the following protocol ID:

  • org.uefi.capsule

GUID Generation

These devices use the UEFI GUID as provided in the ESRT. Additionally, for the system device the main-system-firmware GUID is also added.

For compatibility with Windows 10, the plugin also adds GUIDs of the form UEFI\RES_{$(esrt)}.

Vendor ID Security

The vendor ID is set from the BIOS vendor, for example DMI:LENOVO for all devices that are not marked as supporting Firmware Management Protocol. For FMP device no vendor ID is set.

UEFI Unlock Support

On some Dell systems it is possible to turn on and off UEFI capsule support from within the BIOS. This functionality can also be adjusted from within the OS by fwupd. This requires compiling with libsmbios support.

When fwupd has been compiled with this support you will be able to enable UEFI support on the device by using the unlock command.

Custom EFI System Partition

Since version 1.1.0 fwupd will autodetect the ESP when it is mounted on /boot/efi, /boot, or /efi. A custom EFI system partition location can be used by modifying OverrideESPMountPoint in /etc/fwupd/uefi_capsule.conf.

Setting an invalid directory will disable the fwupd plugin.

External interface access

This plugin requires:

  • read/write access to the EFI system partition.
  • read access to /sys/firmware/efi/esrt/
  • read access to /sys/firmware/efi/fw_platform_size
  • read/write access to /sys/firmware/efi/efivars