Skip to content

efi: ECPT EBBR conformance profiles

Vincent Stehlé u-boot 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20260902-conform-347df9362c8d

Versions newest first

  1. v2 Latest5 patches 4 repliesIn review
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Remove HAVE_EFI_EBBR_2_1 dependency on BOOTMETH_EFILOADER,
and HAVE_EFI_EBBR_2_3 dependency on BOOTMETH_EFI_BOOTMGR (suggested by Ilias)
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5efi_loader: adjust EBBR 2.1 ECPT entrylib/efi_loader/Kconfig+26 -91 reply
2/5efi_loader: add EBBR 2.2-2.4 ECPT entriesinclude/efi_api.h lib/efi_loader/Kconfig lib/efi_loader/efi_conformance.c+72 -02 replies
3/5lib: uuid: add EBBR 2.2-2.4 conformance profile GUIDslib/uuid.c+12 -01 reply
4/5test/py: add 2.2-2.4 ECPT teststest/py/tests/test_efi_ecpt.py+48 -00 replies
5/5doc: uefi: EBBR conformance profilesdoc/develop/uefi/uefi.rst+13 -50 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchIlias Apalodimas
1/5
2/5R-b
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] efi: ECPT EBBR conformance profiles

The Embedded Base Boot Requirements (EBBR) specification [1] defines a subset of UEFI, sufficient to boot an OS.

Currently, EBBR defines four UEFI conformance profiles, 2.1 to 2.4, and U-Boot can advertise that it supports 2.1 in the EFI Conformance Profiles Table (ECPT).

As U-Boot can in fact support up to 2.4, this patch series does the following:

1. Refine the conditions for the 2.1 profile and prepare to add more.
2. Add the 2.2, 2.3 & 2.4 profiles.
3. Add the human readable strings to print the new GUIDs.
4. Add unit tests for the new profiles.
5. Update the documentation.

The list of supported profiles are inferred optimistically from U-Boot configuration by default, and we rely on the system integrator to "opt out" manually if necessary.

---
Changes in v2:
- Remove HAVE_EFI_EBBR_2_1 dependency on BOOTMETH_EFILOADER,
and HAVE_EFI_EBBR_2_3 dependency on BOOTMETH_EFI_BOOTMGR (suggested by Ilias)
- Link to v1: https://patch.msgid.link/[email protected]

---
Vincent Stehlé (5):
efi_loader: adjust EBBR 2.1 ECPT entry
efi_loader: add EBBR 2.2-2.4 ECPT entries
lib: uuid: add EBBR 2.2-2.4 conformance profile GUIDs test/py: add 2.2-2.4 ECPT tests
doc: uefi: EBBR conformance profiles

 doc/develop/uefi/uefi.rst        | 18 ++++++---
 include/efi_api.h                | 12 ++++++
 lib/efi_loader/Kconfig           | 86 +++++++++++++++++++++++++++++++++++-----
 lib/efi_loader/efi_conformance.c |  9 +++++
 lib/uuid.c                       | 12 ++++++
 test/py/tests/test_efi_ecpt.py   | 48 ++++++++++++++++++++++
 6 files changed, 171 insertions(+), 14 deletions(-)

---
base-commit: 211de43d0f954a00a490220c1aac9db298287c40
change-id: 20260902-conform-347df9362c8d

Best regards,

Signature · 1 line
Vincent.