[U-Boot] [PATCH v2 00/11] sandbox: efi_loader support

Alexander Graf
2018-06-14T18:22:21Z

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

v1 -> v2:

- only compile efi_add_known_memory if efi_loader is enabled
- clarify address vs pointer in fs_read patch
- include mapmem.h

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 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 | 20 ++++++++++++++++++++
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 | 5 ++++-
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, 81 insertions(+), 32 deletions(-)

--
2.12.3