efi: add generic Secure Boot config fragment and user guide
v3 cover efi: add generic Secure Boot config fragment and user guide
This series adds support materials for UEFI Secure Boot in U-Boot, including a reusable configuration fragment and user documentation.
It also updates documentation indexes to make the Secure Boot guide easier to discover.
---
Changes in v3:
1. doc: usage: efi_secureboot: simplify Secure Boot build instructions by passing efi_secureboot.config with the board defconfig in a single make invocation.
Link to v2: https://marc.info/?l=u-boot&m=178759488116579&w=2
Changes in v2:
1. The secure boot config fragment is now moved to config dir to make it generic for all boards.
2. Added documentation describing EFI Secure Boot enablement and usage.
Link to v1: https://lore.kernel.org/u-boot/[email protected]/
Aswin Murugan (2):
configs: add generic efi_secureboot.config fragment
doc: usage: add EFI Secure Boot guide
configs/efi_secureboot.config | 8 ++ doc/board/qualcomm/index.rst | 6 ++ doc/usage/efi_secureboot.rst | 174 ++++++++++++++++++++++++++++++++++ doc/usage/index.rst | 1 + 4 files changed, 189 insertions(+) create mode 100644 configs/efi_secureboot.config create mode 100644 doc/usage/efi_secureboot.rst
Signature · 1 line
2.34.1
PATCH v3 1/2 configs: add generic efi_secureboot.config fragment
Add a generic configs/efi_secureboot.config fragment containing the Kconfig options required to enable UEFI Secure Boot support
--- configs/efi_secureboot.config | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 configs/efi_secureboot.config
configs/efi_secureboot.config new file +8 -0
@@ -0,0 +1,8 @@ +# Enables EFI Secure Boot support. +# This fragment is generic and can be applied on top of any board defconfig +# that supports the EFI subsystem +CONFIG_EFI_VARIABLES_PRESEED=y +CONFIG_EFI_SECURE_BOOT=y +CONFIG_FIT_SIGNATURE=y +CONFIG_SHA512=y +CONFIG_SHA384=y
Signature · 1 line
2.34.1
PATCH v3 2/2 doc: usage: add EFI Secure Boot guide
In reply to Aswin MuruganAdd doc/usage/efi_secureboot.rst describing how to enable and use UEFI Secure Boot in U-Boot.
Link the new document from doc/usage/index.rst, and add a "See also" pointer from doc/board/qualcomm/index.rst so Qualcomm-board readers can still discover it easily.
--- doc/board/qualcomm/index.rst | 6 ++ doc/usage/efi_secureboot.rst | 174 +++++++++++++++++++++++++++++++++++ doc/usage/index.rst | 1 + 3 files changed, 181 insertions(+) create mode 100644 doc/usage/efi_secureboot.rst
doc/board/qualcomm/index.rst +6 -0
@@ -17,3 +17,9 @@ Qualcomm rdp signing spl + +See also +-------- + +For enabling and using UEFI Secure Boot, see the :doc:`../../usage/efi_secureboot` +guide.
doc/usage/efi_secureboot.rst new file +174 -0
174 lines not on this page · raw message
doc/usage/index.rst +1 -0
@@ -16,6 +16,7 @@ Use U-Boot cmdline semihosting measured_boot + efi_secureboot upl Shell commands
Signature · 1 line
2.34.1