All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] qemu: arm64: Add support for uefi firmware management protocol routines
@ 2020-04-30 17:36 Sughosh Ganu
  2020-04-30 17:36 ` [PATCH 1/8] semihosting: Change semihosting file operation functions into global symbols Sughosh Ganu
                   ` (7 more replies)
  0 siblings, 8 replies; 41+ messages in thread
From: Sughosh Ganu @ 2020-04-30 17:36 UTC (permalink / raw)
  To: u-boot

This series is based on the capsule update series sent by Takahiro
Akashi[1].

These routines have been tested on the qemu arm64 platform for
updating the u-boot firmware through the capsule-on-disk functionality
of the uefi spec. This series supports updating the u-boot binary
image on platforms booting from arm trusted firmware(tf-a), where the
u-boot image gets booted as the BL33 payload. Support has also been
added for authenticating the capsule file using the public key
contained in the root certificate stored as an efi variable.

The capsule file is placed on the efi system partition(esp), under the
EFI/UpdateCapsule directory. The BootNext and BootXXXX variables are
set accordingly by using the 'efidebug boot add' command. More details
added as part of the documentation patch.

[1] - https://lists.denx.de/pipermail/u-boot/2020-April/408760.html

Sughosh Ganu (8):
  semihosting: Change semihosting file operation functions into global
    symbols
  semihosting: Add support for writing to a file
  qemu: arm64: Add support for efi firmware management protocol routines
  efi_loader: Allow parsing of miscellaneous signature database
    variables
  efi_loader: Make the pkcs7 header parsing function an extern
  efi: capsule: Add support for uefi capsule authentication
  qemu: arm64: Add support for uefi capsule authentication
  qemu: arm64: Add documentation for capsule update

 arch/arm/lib/semihosting.c              |  48 ++++-
 board/emulation/qemu-arm/Kconfig        |  12 ++
 board/emulation/qemu-arm/Makefile       |   1 +
 board/emulation/qemu-arm/qemu_efi_fmp.c | 243 ++++++++++++++++++++++++
 doc/board/emulation/qemu-arm.rst        | 112 +++++++++++
 include/efi_api.h                       |  17 ++
 include/efi_loader.h                    |  13 +-
 include/semihosting.h                   |  14 ++
 lib/efi_loader/Kconfig                  |  16 ++
 lib/efi_loader/efi_capsule.c            | 126 ++++++++++++
 lib/efi_loader/efi_image_loader.c       |  11 +-
 lib/efi_loader/efi_signature.c          |  96 ++++++++--
 lib/efi_loader/efi_variable.c           |  91 +--------
 13 files changed, 692 insertions(+), 108 deletions(-)
 create mode 100644 board/emulation/qemu-arm/qemu_efi_fmp.c
 create mode 100644 include/semihosting.h

-- 
2.17.1

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2020-05-18 17:14 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 17:36 [PATCH 0/8] qemu: arm64: Add support for uefi firmware management protocol routines Sughosh Ganu
2020-04-30 17:36 ` [PATCH 1/8] semihosting: Change semihosting file operation functions into global symbols Sughosh Ganu
2020-05-11  3:05   ` Akashi Takahiro
2020-05-18 16:34     ` Heinrich Schuchardt
2020-04-30 17:36 ` [PATCH 2/8] semihosting: Add support for writing to a file Sughosh Ganu
2020-05-18 17:04   ` Heinrich Schuchardt
2020-04-30 17:36 ` [PATCH 3/8] qemu: arm64: Add support for efi firmware management protocol routines Sughosh Ganu
2020-04-30 18:39   ` Heinrich Schuchardt
2020-04-30 19:13     ` Sughosh Ganu
2020-05-01  9:33       ` Heinrich Schuchardt
2020-05-05 11:15         ` Grant Likely
2020-05-05 17:04           ` Heinrich Schuchardt
2020-05-05 17:23             ` Grant Likely
2020-05-05 17:57               ` Heinrich Schuchardt
2020-05-06 15:04                 ` Grant Likely
2020-05-09 10:04                   ` Heinrich Schuchardt
2020-05-10 11:59                     ` Sughosh Ganu
2020-05-18 17:14                     ` Grant Likely
2020-05-07  2:33         ` Akashi Takahiro
2020-05-07 20:47           ` Heinrich Schuchardt
2020-05-07 23:36             ` Akashi Takahiro
2020-04-30 17:36 ` [PATCH 4/8] efi_loader: Allow parsing of miscellaneous signature database variables Sughosh Ganu
2020-04-30 17:36 ` [PATCH 5/8] efi_loader: Make the pkcs7 header parsing function an extern Sughosh Ganu
2020-05-07  7:34   ` Akashi Takahiro
2020-05-07 11:18     ` Sughosh Ganu
2020-05-08  0:51       ` Akashi Takahiro
2020-05-10 11:20         ` Sughosh Ganu
2020-04-30 17:36 ` [PATCH 6/8] efi: capsule: Add support for uefi capsule authentication Sughosh Ganu
2020-05-07  8:19   ` Akashi Takahiro
2020-05-07 11:50     ` Sughosh Ganu
2020-05-08  0:42       ` Akashi Takahiro
2020-05-10 11:26         ` Sughosh Ganu
2020-05-11  2:45           ` Akashi Takahiro
2020-04-30 17:36 ` [PATCH 7/8] qemu: arm64: " Sughosh Ganu
2020-04-30 17:36 ` [PATCH 8/8] qemu: arm64: Add documentation for capsule update Sughosh Ganu
2020-04-30 18:37   ` Heinrich Schuchardt
2020-04-30 19:08     ` Sughosh Ganu
2020-04-30 19:27       ` Tom Rini
2020-05-01  5:47         ` Sughosh Ganu
2020-05-07  2:10           ` Akashi Takahiro
2020-05-07 20:52             ` Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.