Re: Pull request efi-2024-07-rc1-3

2024-04-20 Thread Tom Rini
On Sat, Apr 20, 2024 at 12:09:37PM +0200, Heinrich Schuchardt wrote:

> Dear Tom,
> 
> The following changes since commit af04f37a78c7e61597fb9ed6db2c8f8d7f8b0f92:
> 
>   Merge tag 'u-boot-stm32-20240419' of
> https://source.denx.de/u-boot/custodians/u-boot-stm (2024-04-19 14:25:04
> -0600)
> 
> are available in the Git repository at:
> 
>   https://source.denx.de/u-boot/custodians/u-boot-efi.git
> tags/efi-2024-07-rc1-3
> 
> for you to fetch changes up to 52c62acc349a0ec1ba26ae497913ad34ee3de733:
> 
>   x86: all firmware tables must be paragraph aligned (2024-04-20
> 10:15:03 +0200)
> 
> Gitlab CI showed no issues:
> https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/20447
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Pull request efi-2024-07-rc1-3

2024-04-20 Thread Heinrich Schuchardt

Dear Tom,

The following changes since commit af04f37a78c7e61597fb9ed6db2c8f8d7f8b0f92:

  Merge tag 'u-boot-stm32-20240419' of
https://source.denx.de/u-boot/custodians/u-boot-stm (2024-04-19 14:25:04
-0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2024-07-rc1-3

for you to fetch changes up to 52c62acc349a0ec1ba26ae497913ad34ee3de733:

  x86: all firmware tables must be paragraph aligned (2024-04-20
10:15:03 +0200)

Gitlab CI showed no issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/20447


Pull request efi-2024-07-rc1-3

Documentation:

* sort env sub-commands alphabetically
* update list of aliases for the env command

UEFI:

* allow enabling SetVariable at runtime
  for future OS supported writing to ubootefi.var
* use event callback for initrd deregistration

Others:

* correct alignment of x86 firmware tables


Heinrich Schuchardt (5):
  doc: sort env sub-commands alphabetically
  doc: update list of aliases for the env command
  cmd: eficonfig: check initrd path allocation
  efi_loader: typo mstching
  x86: all firmware tables must be paragraph aligned

Ilias Apalodimas (4):
  efi_loader: conditionally enable SetvariableRT
  efi_loader: Add OS notifications for SetVariable at runtime
  efi_loader: add an EFI variable with the file contents
  efi_selftest: add tests for setvariableRT

Masahisa Kojima (1):
  efi_loader: use event callback for initrd deregistration

 arch/x86/lib/tables.c |   2 +
 cmd/eficonfig.c   |   2 +-
 doc/usage/cmd/env.rst |  35 ++--
 include/efi_loader.h  |   4 +
 include/efi_variable.h|  16 +-
 lib/charset.c |   2 +-
 lib/efi_loader/Kconfig|  16 ++
 lib/efi_loader/efi_helper.c   |   5 -
 lib/efi_loader/efi_load_initrd.c  |  82 +---
 lib/efi_loader/efi_runtime.c  |  42 
 lib/efi_loader/efi_var_common.c   |   8 +-
 lib/efi_loader/efi_var_mem.c  | 151 +--
 lib/efi_loader/efi_variable.c | 122 ++--
 lib/efi_loader/efi_variable_tee.c |   5 -
 lib/efi_selftest/efi_selftest_variables_runtime.c | 222
+-
 15 files changed, 583 insertions(+), 131 deletions(-)


Re: Pull request efi-2024-07-rc1-2

2024-04-13 Thread Tom Rini
On Sat, Apr 13, 2024 at 12:28:34PM +0200, Heinrich Schuchardt wrote:

> Dear Tom,
> 
> The following changes since commit 13c1100335e40acb1066e074eb061387fd103c36:
> 
>   net: designware: Pass all multicast frames in designware driver
> (2024-04-12 13:59:12 -0600)
> 
> are available in the Git repository at:
> 
>   https://source.denx.de/u-boot/custodians/u-boot-efi.git
> tags/efi-2024-07-rc1-2
> 
> for you to fetch changes up to f1f4b0e6f37d801f01d043a1ed44b88e7fdd1d92:
> 
>   doc/sphinx: Bump idna to 3.7 (2024-04-13 11:16:14 +0200)
> 
> Gitlab CI showed not issues:
> https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/20322
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Pull request efi-2024-07-rc1-2

2024-04-13 Thread Heinrich Schuchardt

Dear Tom,

The following changes since commit 13c1100335e40acb1066e074eb061387fd103c36:

  net: designware: Pass all multicast frames in designware driver
(2024-04-12 13:59:12 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2024-07-rc1-2

for you to fetch changes up to f1f4b0e6f37d801f01d043a1ed44b88e7fdd1d92:

  doc/sphinx: Bump idna to 3.7 (2024-04-13 11:16:14 +0200)

Gitlab CI showed not issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/20322


Pull request efi-2024-07-rc1-2

Documentation:

* bump build dependency idna to 3.7
* update docker image reference to latest
* fix section levels in gen_compile_commands
* fix references to trace doc

UEFI:

* eliminate duplicate runtime section definitions
* let 'EFI using ACPI tables at' be a debug message
* sanitize efi_tcg2_final_events_table definition
* move efi_var_collect to common functions
* improve error messages in variables unit test by using
  EFI_UNSUPPORTED for private authenticated variables


Heinrich Schuchardt (3):
  efi_loader: eliminate duplicate runtime section definitions
  efi_loader: 'EFI using ACPI tables at' should be debug message
  efi_loader: sanitize efi_tcg2_final_events_table definition

Ilias Apalodimas (1):
  efi_loader: move efi_var_collect to common functions

Mattijs Korpershoek (2):
  doc: build: update docker image to latest
  doc: build: fix gen_compile_commands section level

Tom Rini (1):
  doc/sphinx: Bump idna to 3.7

Vincent Stehlé (1):
  Fix references to trace doc

Weizhao Ouyang (1):
  efi_loader: using EFI_UNSUPPORTED for private authenticated variables

 cmd/Kconfig|  4 +--
 doc/build/docker.rst   |  2 +-
 doc/build/gen_compile_commands.rst |  4 +--
 doc/develop/tests_sandbox.rst  |  4 +--
 doc/sphinx/requirements.txt|  2 +-
 include/efi_loader.h   |  3 --
 include/efi_tcg2.h |  8 ++---
 lib/Kconfig|  2 +-
 lib/efi_loader/Makefile|  2 +-
 lib/efi_loader/efi_acpi.c  |  2 +-
 lib/efi_loader/efi_memory.c|  1 +
 lib/efi_loader/efi_var_common.c| 74
++
 lib/efi_loader/efi_var_file.c  | 64 -
 lib/efi_loader/efi_variable.c  |  1 +
 14 files changed, 90 insertions(+), 83 deletions(-)


Re: Pull request efi-2024-07-rc1

2024-04-08 Thread Tom Rini
On Mon, Apr 08, 2024 at 10:28:42PM +0200, Heinrich Schuchardt wrote:

> Dear Tom,
> 
> The following changes since commit 9cba29b19f43f9450117e8bc89e7dda691ed5ab5:
> 
>   Merge tag 'u-boot-imx-master-20240405' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-04-05 17:23:58
> -0400)
> 
> are available in the Git repository at:
> 
>   https://source.denx.de/u-boot/custodians/u-boot-efi.git
> tags/efi-2024-07-rc1
> 
> for you to fetch changes up to 3f8d13044b32ddd906bb9f2fc705b988ec93df35:
> 
>   efi_loader: access __efi_runtime_rel_start/stop without & (2024-04-08
> 13:05:50 +0200)
> 
> Gitlab CI showed no issues:
> https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/20252
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Pull request efi-2024-07-rc1

2024-04-08 Thread Heinrich Schuchardt

Dear Tom,

The following changes since commit 9cba29b19f43f9450117e8bc89e7dda691ed5ab5:

  Merge tag 'u-boot-imx-master-20240405' of
https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-04-05 17:23:58
-0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2024-07-rc1

for you to fetch changes up to 3f8d13044b32ddd906bb9f2fc705b988ec93df35:

  efi_loader: access __efi_runtime_rel_start/stop without & (2024-04-08
13:05:50 +0200)

Gitlab CI showed no issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/20252

----
Pull request efi-2024-07-rc1

Documentation:

* improve description of FAT partition name generation
* add missing :: in doc/usage/cmd/itest.rst

UEFI:

* fix address mode for __efi_runtime_start/stop,
  __efi_runtime_rel_start/stop
* fix size of variable attribute constants
* enable booting via EFI boot manager by default
* correct the sequence of the EFI boot methods
* correct finding the default EFI binary
* don't delete variable from memory if update failed
* fix append write behavior to non-existent variable
* Use binman for testing capsule updates on the sandbox
* Consider capsule test files in .gitignore and make clean


Heinrich Schuchardt (9):
  doc: missing :: in doc/usage/cmd/itest.rst
  doc: improve description of FAT partition name generation
  efi_loader: all variable attributes are 32bit
  efi_loader: EFI_VARIABLE_READ_ONLY should be 32bit
  efi_loader: handle EFI_VARIABLE_ENHANCED_AUTHENTICATED_ACCESS
  boot: correct the default sequence of boot methods
  boot: enable booting via EFI boot manager by default
  efi_loader: move HOST_ARCH to version_autogenerated.h
  boot: correct finding the default EFI binary

Ilias Apalodimas (3):
  efi_loader: Don't delete variable from memory if adding a new one
failed
  efi_loader: access __efi_runtime_start/stop without &
  efi_loader: access __efi_runtime_rel_start/stop without &

Masahisa Kojima (1):
  efi_loader: fix append write behavior to non-existent variable

Sughosh Ganu (4):
  sandbox: capsule: remove capsule related configs
  sandbox: capsule: binman: generate some capsules as part of build
  capsule: add the generated capsules to gitignore
  capsule: Makefile: add the generated files to CLEAN_FILES list

 .gitignore |   3 +
 Makefile   |   4 +-
 arch/sandbox/config.mk |   2 -
 arch/sandbox/dts/sandbox.dts   |   4 +
 arch/sandbox/dts/sandbox_capsule.dtsi  | 169
+
 arch/sandbox/dts/test.dts  |   4 +
 boot/Kconfig   |  10 ++
 boot/Makefile  |   2 +-
 boot/bootmeth_efi.c|  46 +-
 boot/bootmeth_efi_mgr.c|   2 +-
 boot/bootmeth_pxe.c|   2 +-
 configs/sandbox64_defconfig|   5 -
 configs/sandbox_noinst_defconfig   |   2 -
 configs/sandbox_spl_defconfig  |   2 -
 configs/sandbox_vpl_defconfig  |   2 -
 doc/usage/cmd/itest.rst|   2 +
 doc/usage/partitions.rst   |  17 ++-
 include/efi.h  |  18 ++-
 include/efi_variable.h |   2 +-
 include/host_arch.h|   2 +
 lib/efi_loader/Kconfig |   1 -
 lib/efi_loader/Makefile|   3 +-
 lib/efi_loader/efi_memory.c|   4 +-
 lib/efi_loader/efi_runtime.c   |   6 +-
 lib/efi_loader/efi_var_common.c|   2 +-
 lib/efi_loader/efi_variable.c  |  45 --
 lib/efi_selftest/efi_selftest_variables.c  |  48 +-
 test/boot/bootflow.c   |   6 +-
 .../tests/test_efi_capsule/capsule_gen_binman.dts  | 167
+---
 test/py/tests/test_efi_capsule/conftest.py |   1 +
 30 files changed, 326 insertions(+), 257 deletions(-)
 create mode 100644 arch/sandbox/dts/sandbox_capsule.dtsi