Pull request for UEFI sub-system for NEXT

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Dec 3 22:19:59 CET 2020


Dear Tom,

The following changes since commit a2c832471115d382d6dd60697be5bc74d2636eea:

   Merge branch '2020-12-01-next-imports' into next (2020-12-02 11:35:02
-0500)

are available in the Git repository at:

   https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-next

for you to fetch changes up to 3616b4f4b97411db8721ae38c0fb29e145f1aed6:

   sandbox: enable capsule update for testing (2020-12-03 21:22:50 +0100)

----------------------------------------------------------------
Pull request for UEFI sub-system for next

This pull request adds:

* eventlog support for TCG2_PROTOCOL
* UEFI capusule updates

It replaces printf by log in efi_uclass.c

Gitlab CI reported no problems
https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/5488

----------------------------------------------------------------
AKASHI Takahiro (12):
       common: update: fix an "unused" warning against update_flash()
       efi_loader: define UpdateCapsule api
       efi_loader: capsule: add capsule_on_disk support
       efi_loader: capsule: add memory range capsule definitions
       efi_loader: capsule: support firmware update
       efi_loader: add firmware management protocol for FIT image
       efi_loader: add firmware management protocol for raw image
       cmd: add "efidebug capsule" command
       tools: add mkeficapsule command for UEFI capsule update
       test/py: efi_capsule: test for FIT image capsule
       test/py: efi_capsule: test for raw image capsule
       sandbox: enable capsule update for testing

Heinrich Schuchardt (1):
       efi_loader: replace printf by log in efi_uclass.c

Ilias Apalodimas (4):
       tpm: use more than sha256 on pcr_extend
       tpm: Add tpm2 headers for TCG2 eventlog support
       efi_loader: Introduce eventlog support for TCG2_PROTOCOL
       cmd: efidebug: Add support for TCG2 final events table

  cmd/efidebug.c                                     | 239 ++++++
  cmd/tpm-v2.c                                       |   3 +-
  common/main.c                                      |   4 +
  common/update.c                                    |   8 +-
  configs/sandbox64_defconfig                        |   6 +
  configs/sandbox_defconfig                          |   6 +
  include/efi_api.h                                  | 170 ++++
  include/efi_loader.h                               |  27 +
  include/efi_tcg2.h                                 |  71 +-
  include/tpm-v2.h                                   |  87 +-
  lib/efi_driver/efi_uclass.c                        |  18 +-
  lib/efi_loader/Kconfig                             |  77 ++
  lib/efi_loader/Makefile                            |   2 +
  lib/efi_loader/efi_capsule.c                       | 909
+++++++++++++++++++++
  lib/efi_loader/efi_firmware.c                      | 403 +++++++++
  lib/efi_loader/efi_runtime.c                       | 104 ++-
  lib/efi_loader/efi_setup.c                         |  88 +-
  lib/efi_loader/efi_tcg2.c                          | 553 ++++++++++++-
  lib/tpm-v2.c                                       |  11 +-
  test/py/tests/test_efi_capsule/capsule_defs.py     |   5 +
  test/py/tests/test_efi_capsule/conftest.py         |  74 ++
  .../test_efi_capsule/test_capsule_firmware.py      | 241 ++++++
  test/py/tests/test_efi_capsule/uboot_bin_env.its   |  36 +
  tools/Makefile                                     |   2 +
  tools/mkeficapsule.c                               | 237 ++++++
  25 files changed, 3283 insertions(+), 98 deletions(-)
  create mode 100644 lib/efi_loader/efi_capsule.c
  create mode 100644 lib/efi_loader/efi_firmware.c
  create mode 100644 test/py/tests/test_efi_capsule/capsule_defs.py
  create mode 100644 test/py/tests/test_efi_capsule/conftest.py
  create mode 100644 test/py/tests/test_efi_capsule/test_capsule_firmware.py
  create mode 100644 test/py/tests/test_efi_capsule/uboot_bin_env.its
  create mode 100644 tools/mkeficapsule.c


More information about the U-Boot mailing list