sandbox: efi_loader support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | efi: sandbox: Add distroboot supportinclude/ | +13 | 0 replies | |
| 2/11 | efi: sandbox: Add relocation constantslib/ | +12 | 0 replies | |
| 3/11 | efi_loader: Use compiler constants for image loaderlib/ | +6 | 0 replies | |
| 4/11 | efi_loader: Use map_sysmem() in bootefi commandcmd/ | +8 | 0 replies | |
| 5/11 | efi.h: Do not use config optionsinclude/ lib/ | +6 | 0 replies | |
| 6/11 | efi_loader: Allow SMBIOS tables in highmemlib/ | +9 | 0 replies | |
| 7/11 | sandbox: Map host memory for efi_loaderarch/ | +16 | 0 replies | |
| 8/11 | efi_loader: efi_allocate_pages is too restrictivelib/ | +1 | 0 replies | |
| 9/11 | efi_loader: Disable miniapps on sandboxlib/ | +1 | 0 replies | |
| 10/11 | efi_loader: Pass virtual address to fs_read()lib/ | +3 | 1 reply | |
| 11/11 | efi: sandbox: Enable EFI loader for sandboxlib/ | +1 | 0 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Bin Meng |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | R-b T-b |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 00/11] sandbox: efi_loader support
This patch set augments Simon's patch set for efi_loader support in sandbox[1], but follows a different memory allocation scheme.
Instead of keeping U-Boot (physical) addresses in the EFI memory map, this patch set makes the EFI memory map contain host virtual (virtual) addresses. That way most logic "just works" and all EFI interfaces automatically gain sandbox awareness.
With this patch set in place, I can run a good chunk of the selftest suite as well as efi binaries compiled using gnu-efi.
Alex
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=49832
Alexander Graf (7):
efi_loader: Use compiler constants for image loader
efi_loader: Use map_sysmem() in bootefi command efi.h: Do not use config options
efi_loader: Allow SMBIOS tables in highmem
sandbox: Map host memory for efi_loader
efi_loader: Disable miniapps on sandbox
efi_loader: Pass virtual address to fs_read()
Heinrich Schuchardt (1):
efi_loader: efi_allocate_pages is too restrictive
Simon Glass (3):
efi: sandbox: Add distroboot support
efi: sandbox: Add relocation constants
efi: sandbox: Enable EFI loader for sandbox
arch/sandbox/cpu/cpu.c | 16 ++++++++++++++++ cmd/bootefi.c | 13 ++++++++----- include/config_distro_bootcmd.h | 13 +++++++++++++ include/efi.h | 17 ++++------------- lib/efi/Makefile | 4 ++-- lib/efi_loader/Kconfig | 2 +- lib/efi_loader/efi_file.c | 4 +++- lib/efi_loader/efi_image_loader.c | 12 ++++++------ lib/efi_loader/efi_memory.c | 2 +- lib/efi_loader/efi_runtime.c | 12 ++++++++++++ lib/efi_loader/efi_smbios.c | 11 +++++++++-- lib/efi_selftest/Makefile | 2 +- 12 files changed, 76 insertions(+), 32 deletions(-)
Signature · 1 line
2.12.3