Improve UEFI app support
Status from this message: Applied to ci/master, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Add EFI handover support to bootmarch/ boot/ include/ +3 more | +83 | 7 replies | |
| 2/10 | Add part_find commandcmd/ cmd/ cmd/ | +167 | 4 replies | |
| 3/10 | Add a command to find a load addresscmd/ cmd/ cmd/ | +95 | 3 replies | |
| 4/10 | Hook up EFI env variable support in the EFI appcmd/ lib/ lib/ +1 more | +51 | 2 replies | |
| 5/10 | Add EFI network driverdrivers/ drivers/ drivers/ +2 more | +197 | 2 replies | |
| 6/10 | Add UEFI TPM2 driverdrivers/ drivers/ drivers/ +3 more | +186 | 2 replies | |
| 7/10 | Support separate DTB files with the UEFI appMakefile arch/ arch/ +4 more | +22 | 3 replies | |
| 8/10 | Use the correct ramdisk addressarch/ | +9 | 2 replies | |
| 9/10 | Fix efi_bind_block.lib/ | +21 | 11 replies | |
| 10/10 | Add command to set an environment variable to an EFI variablecmd/ cmd/ cmd/ | +138 | 4 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/10 | R-b R-b |
| 2/10 | R-b R-b |
| 3/10 | R-b R-b |
| 4/10 | R-b R-b |
| 5/10 | R-b R-b |
| 6/10 | R-b R-b |
| 7/10 | R-b R-b |
| 8/10 | R-b R-b |
| 9/10 | R-b R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] Improve UEFI app support
We run a mixed environment including traditional embedded Linux and UEFI. For consistency it's valuable to use U-Boot in both cases, but on UEFI systems we want to run the full Linux kernel UEFI boot stub. This patchset adds support for that, along with various other quality-of-life improvements such as automatically finding partitions based on their GUID, automatic identification of load addresses where the firmware has given us constraints, support for EFI variable access in the EFI app, drivers for EFI network adapters and TPMs, support for embedding DTBs in the EFI app, and a couple of bug fixes.
Janis Danisevskis (1):
Fix efi_bind_block.
Matthew Garrett (9):
Add EFI handover support to bootm
Add part_find command
Add a command to find a load address
Hook up EFI env variable support in the EFI app
Add EFI network driver
Add UEFI TPM2 driver
Support separate DTB files with the UEFI app
Use the correct ramdisk address
Add command to set an environment variable to an EFI variable
Makefile | 7 +- arch/x86/config.mk | 2 +- arch/x86/lib/bootm.c | 60 ++++++++---- arch/x86/lib/elf_x86_64_efi.lds | 4 + boot/bootm.c | 5 + cmd/Kconfig | 23 ++++- cmd/Makefile | 3 + cmd/addr_find.c | 87 +++++++++++++++++ cmd/efigetenv.c | 133 ++++++++++++++++++++++++++ cmd/part_find.c | 156 ++++++++++++++++++++++++++++++ drivers/net/Kconfig | 7 ++ drivers/net/Makefile | 1 + drivers/net/efi_net.c | 110 +++++++++++++++++++++ drivers/tpm/Kconfig | 7 ++ drivers/tpm/Makefile | 1 + drivers/tpm/tpm2_efi.c | 97 +++++++++++++++++++ include/asm-generic/sections.h | 1 + include/bootm.h | 6 ++ include/efi.h | 24 +++++ include/efi_tcg2.h | 1 + lib/efi/Makefile | 2 +- lib/efi/efi.c | 1 + lib/efi/efi_app.c | 41 ++++++++ lib/efi/efi_app_init.c | 163 ++++++++++++++++++++++++++++++-- lib/efi/efi_dtb.S | 6 ++ lib/efi/efi_vars.c | 44 +++++++++ lib/fdtdec.c | 3 + 27 files changed, 967 insertions(+), 28 deletions(-) create mode 100644 cmd/addr_find.c create mode 100644 cmd/efigetenv.c create mode 100644 cmd/part_find.c create mode 100644 drivers/net/efi_net.c create mode 100644 drivers/tpm/tpm2_efi.c create mode 100644 lib/efi/efi_dtb.S create mode 100644 lib/efi/efi_vars.c
Signature · 1 line
2.47.0