Skip to content

Conversation

@vstehle
Copy link
Collaborator

@vstehle vstehle commented Jan 14, 2025

  • We are requiring the OsIndicationsSupported Variable.
  • When in-band firmware update are supported, we are requiring support for FMP and "on disk".
    Therefore, let's require the corresponding OsIndicationsSupported bits as well.

In this series there is also a commit to add a new section anchor and a commit to clarify our mention of the FMP format, which could probably be merged immediately.

Add an anchor to be able to refer to the "In-band firmware update" section.

Signed-off-by: Vincent Stehlé <[email protected]>
We require in-band firmware updates in the "Firmware Management Protocol
Data Capsule Structure" format. This is a bit misleading as this format
described in UEFI § 23.3.2 is only about the capsule body.

Refer to the Firmware Management Protocol format instead to avoid the
confusion, remove the unnecessary quotation marks and introduce the FMP
acronym.

Signed-off-by: Vincent Stehlé <[email protected]>
Require to set the FMP and "on disk" OsIndicationsSupported bits when
in-band firmware update is supported.

Signed-off-by: Vincent Stehlé <[email protected]>
updates itself), then the firmware shall implement the `UpdateCapsule()` runtime
service and accept only authenticated updates in the "Firmware Management
Protocol Data Capsule Structure" format as described in :UEFI:`23.3`, with
service and accept only authenticated updates in the Firmware Management
Copy link
Contributor

@xypron xypron Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UpdateCapsule() expects a scatter list. From that scatter list a capsule can be reconstructed as described in "23.3.2 DEFINED FIRMWARE MANAGEMENT PROTOCOL DATA CAPSULE STRUCTURE". The capsule consists of a EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER and a capsule body. The body starts with an EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER.

The term "Firmware Management Protocol Format" would not catch the existence of a scatter list and an EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER.

@vstehle vstehle closed this Feb 25, 2025
@vstehle
Copy link
Collaborator Author

vstehle commented Feb 25, 2025

As per our call of Jan 15, this does not help clarifying; let's drop it.

@vstehle vstehle deleted the capsindic branch June 17, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants