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. Link: https://github.com/ARM-software/ebbr [1] Signed-off-by: Vincent Stehlé <[email protected]> --- 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, -- Vincent.
