[PATCH RFC 0/3] FMP versioning support

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Feb 23 06:53:23 CET 2023



Am 22. Februar 2023 11:40:33 MEZ schrieb Masahisa Kojima <masahisa.kojima at linaro.org>:
>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.

Hello Masahisa,

Could you please describe if this change will be compatible with boards that are already using the existing U-Boot FMP implementation.

Further please describe the benefit of the change.

Best regards

Heinrich


>
>[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(-)
>


More information about the U-Boot mailing list