[PATCH 0/5] Extend mkeficapsule tool to pack multiple payloads

Stefan Herbrechtsmeier stefan.herbrechtsmeier-oss at weidmueller.com
Fri Jun 16 13:34:21 CEST 2023


From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>


Currently, the mkeficapsule tool supports at most one payload inside the
capsule. However, the UEFI specification and the u-boot code
support multiple payloads inside one capsule. Extend the tool by
this feature. The tool is kept backwards-compatible, so it can still
be used and called exactly as before if desired.


Malte Schmidt (5):
  mkeficapsule: constify function parameters
  mkeficapsule: add support for multiple payloads inside capsule
  test: efi_capsule: test a capsule update containing multiple images
  doc: uefi: update mkeficapsule documentation
  doc: uefi: clarify capsule concept

 doc/develop/uefi/uefi.rst                     |  73 +-
 test/py/tests/test_efi_capsule/conftest.py    |  18 +-
 .../test_capsule_firmware_raw.py              |  46 +-
 .../test_capsule_firmware_signed_raw.py       |  24 +-
 tools/eficapsule.h                            |   5 -
 tools/mkeficapsule.c                          | 651 +++++++++++++-----
 6 files changed, 622 insertions(+), 195 deletions(-)

-- 
2.30.2



More information about the U-Boot mailing list