[PATCH RFC 0/3] FMP versioning support

Masahisa Kojima masahisa.kojima at linaro.org
Wed Feb 22 11:40:33 CET 2023


This series aims to add the versioning support
in FMP protocol implementation.

EDK2 reference implementation utilizes the FMP Payload Header
inserted right before the capsule payload. With this series,
U-Boot also follows the EDK2 implementation.

Note that this series is RFC and only tested with RAW image
with single image index.

[TODO]
- test with FIT image, authenticated capsule, multiple image index.
- enhance U-Boot mkeficapsule tool to insert FMP Payload Header

Masahisa Kojima (3):
  efi_loader: store firmware version into FmpState variable
  efi_loader: versioning support in GetImageInfo
  efi_loader: check lowest supported version in capsule update

 lib/efi_loader/efi_firmware.c | 269 ++++++++++++++++++++++++++++++----
 1 file changed, 242 insertions(+), 27 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list