From 5bbfaea4d4728cfcd6ec70eac3dc1a319a3e53e4 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 18 May 2025 08:43:44 +0200 Subject: [PATCH 1/4] efi_loader: correct EFI_TCG2_PROTOCOL_MEASURE_DTB description %s/data that change/data that changes/ %s/cannot be used has/cannot be used for/ %s/Otherwise/Otherwise,/ %s/allows better measurement/allows for better measurement/ Acked-by: Ilias Apalodimas Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/Kconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 7f02a83e2a2..3dadbc54b58 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -443,10 +443,9 @@ config EFI_TCG2_PROTOCOL_MEASURE_DTB help When enabled, the DTB image passed to the booted EFI image is measured using the EFI TCG2 protocol. Do not enable this feature if - the passed DTB contains data that change across platform reboots - and cannot be used has a predictable measurement. Otherwise - this feature allows better measurement of the system boot - sequence. + the passed DTB contains data that changes across platform reboots + and cannot be used for a predictable measurement. Otherwise, this + feature allows for better measurement of the system boot sequence. config EFI_LOAD_FILE2_INITRD bool "EFI_FILE_LOAD2_PROTOCOL for Linux initial ramdisk" From abc8fd101496034a174a86c04263eeeaaa90916d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 25 May 2025 13:10:58 +0100 Subject: [PATCH 2/4] doc: board: ti: Add missing firmware for BB-AI64 The details of the sysfw.itb from the R5 build that also needs to be copied as part of the target images is missing, but is included in the image formats a little further down, so add it to the instructions. Signed-off-by: Peter Robinson Reviewed-by: Dhruva Gole Acked-by: Nishanth Menon --- doc/board/beagle/j721e_beagleboneai64.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/board/beagle/j721e_beagleboneai64.rst b/doc/board/beagle/j721e_beagleboneai64.rst index 090b2b3b86a..a57bc743569 100644 --- a/doc/board/beagle/j721e_beagleboneai64.rst +++ b/doc/board/beagle/j721e_beagleboneai64.rst @@ -83,6 +83,7 @@ Target Images Copy the below images to an SD card and boot: * tiboot3-j721e-gp-evm.bin from R5 build as tiboot3.bin +* sysfw-j721e-gp-evm.itb from R5 build as sysfw.itb * tispl.bin_unsigned from Cortex-A build as tispl.bin * u-boot.img_unsigned from Cortex-A build as u-boot.img From e108a0f6d928b07d4528e7addf17435a63a5831e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 1 Jun 2025 06:04:01 -0600 Subject: [PATCH 3/4] doc: efi_loader: Tidy up the bootefi-command docs There are backslashes in some of the tags which seems to be unnecessary. Remove then. Change the word 'either' to 'any' since there are three options. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt --- doc/usage/cmd/bootefi.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/usage/cmd/bootefi.rst b/doc/usage/cmd/bootefi.rst index 3efe9e9df57..d6e4e62e383 100644 --- a/doc/usage/cmd/bootefi.rst +++ b/doc/usage/cmd/bootefi.rst @@ -20,19 +20,19 @@ Synopsis Description ----------- -The *bootefi* command is used to launch a UEFI binary which can be either of +The *bootefi* command is used to launch a UEFI binary which can be any of * UEFI application * UEFI boot services driver * UEFI run-time services driver An operating system requires a hardware description which can either be -presented as ACPI table (CONFIG\_GENERATE\_ACPI\_TABLE=y) or as device-tree. -The load address of the device-tree may be provided as parameter *fdt\_addr*. If +presented as ACPI table (CONFIG_GENERATE_ACPI_TABLE=y) or as device-tree. +The load address of the device-tree may be provided as parameter *fdt_addr*. If this address is not specified, the bootefi command will try to fall back in sequence to: -* the device-tree specified by environment variable *fdt\_addr* +* the device-tree specified by environment variable *fdt_addr* * the device-tree specified by environment variable *fdtcontroladdr* The load address of the binary is specified by parameter *image_address*. A @@ -110,7 +110,7 @@ U-Boot can be compiled with UEFI unit tests. These unit tests are invoked using the *bootefi selftest* sub-command. Which unit test is executed is controlled by the environment variable -*efi\_selftest*. If this variable is not set, all unit tests that are not marked +*efi_selftest*. If this variable is not set, all unit tests that are not marked as 'on request' are executed. To show a list of the available unit tests the value *list* can be used @@ -126,7 +126,7 @@ To show a list of the available unit tests the value *list* can be used 'configuration tables' ... -A single test is selected for execution by setting the *efi\_selftest* +A single test is selected for execution by setting the *efi_selftest* environment variable to match one of the listed identifiers :: @@ -140,10 +140,10 @@ return to the command line but require a board reset. Configuration ------------- -To use the *bootefi* command you must specify CONFIG\_CMD\_BOOTEFI=y. -The *bootefi bootmgr* sub-command requries CMD\_BOOTEFI\_BOOTMGR=y. -The *bootefi hello* sub-command requries CMD\_BOOTEFI\_HELLO=y. -The *bootefi selftest* sub-command depends on CMD\_BOOTEFI\_SELFTEST=y. +To use the *bootefi* command you must specify CONFIG_CMD_BOOTEFI=y. +The *bootefi bootmgr* sub-command requries CMD_BOOTEFI_BOOTMGR=y. +The *bootefi hello* sub-command requries CMD_BOOTEFI_HELLO=y. +The *bootefi selftest* sub-command depends on CMD_BOOTEFI_SELFTEST=y. See also -------- From 2018486f6c1ae7dae56b46f2bbfcffffaf9441b7 Mon Sep 17 00:00:00 2001 From: BehradElmi Date: Mon, 2 Jun 2025 20:54:16 +0330 Subject: [PATCH 4/4] doc: build: fix typo in gcc.rst Fix a typo error in gcc.rst, changing "out-out-tree" to "out-of-tree" in the Out-of-tree section. Signed-off-by: BehradElmi Reviewed-by: Heinrich Schuchardt --- doc/build/gcc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst index c76a7fbd732..1fef718ceec 100644 --- a/doc/build/gcc.rst +++ b/doc/build/gcc.rst @@ -122,7 +122,7 @@ Out-of-tree building ~~~~~~~~~~~~~~~~~~~~ By default building is performed locally and the objects are saved in the source -directory. To build out-out-tree use one of the two methods below: +directory. To build out-of-tree use one of the two methods below: Add O= parameter to the make command line: