[PATCH 0/6] efi_selftest: allow UEFI testing on MAIX
Heinrich Schuchardt
xypron.glpk at gmx.de
Wed Jul 29 17:42:29 CEST 2020
For RISC-V testing on real hardware the Sipeed MAIX boards provides an
affordable solution.
UEFI testing fails on the MAIX BiT with Mic because the UEFI sub-system
reserves 16 MiB for the stack though the board only has 8 MiB.
The first two patches make the size of the memory reserved for the stack
customizable on all boards defaulting to 16 MiB.
The value on the the MAIX BiT with Mic is set to 1 MiB.
Missing default load addresses for the MAIX BiT with Mic are added.
The sysreset driver is fixed to output the full reset message.
The UEFI network and block device unit tests are only built if the
configuration provides the prerequisites.
Heinrich Schuchardt (6):
efi_loader: use CONFIG_STACK_SIZE in the UEFI sub-system
configs: reduce stack size of Sipeed MAIX
riscv: load addresses for Sipeed MAIX
dm: sysreset: wait after reset message
efi_selftest: SNP test depends on network
efi_selftest: block device test requires CONFIG_DOS_PARTITION
Kconfig | 10 ++++++++++
arch/arm/Kconfig | 17 -----------------
arch/microblaze/Kconfig | 8 --------
configs/sipeed_maix_bitm_defconfig | 1 +
drivers/sysreset/sysreset-uclass.c | 1 +
include/configs/sipeed-maix.h | 9 +++++++++
lib/efi_loader/efi_memory.c | 2 +-
lib/efi_selftest/Kconfig | 2 ++
lib/efi_selftest/Makefile | 5 +++--
9 files changed, 27 insertions(+), 28 deletions(-)
--
2.27.0
More information about the U-Boot
mailing list