[U-Boot] [PATCH 0/3] efi_loader: ARM: add support for ARMV7_NONSEC=y

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Jun 12 18:00:28 UTC 2018


On 06/12/2018 07:27 PM, Mark Kettenis wrote:
> This series makes it possible to run EFI applications in non-secure
> mode.  It allows me to run OpenBSD on the imx7d-pico-pi board while
> using the PSCI implementation provided by U-Boot.
> 
> Mark Kettenis (3):
>   ARM: HYP/non-sec: save and restore stack
>   efi_loader: ARM: run EFI payloads non-secure
>   Revert "efi_loader: no support for ARMV7_NONSEC=y"
> 
>  arch/arm/cpu/armv7/nonsec_virt.S |  6 ++++--
>  cmd/bootefi.c                    | 32 ++++++++++++++++++++++++++++++++
>  doc/README.uefi                  |  2 --
>  lib/efi_loader/Kconfig           |  2 --
>  4 files changed, 36 insertions(+), 6 deletions(-)
> 

This is the output I got with your patches when trying to boot my BananaPi:

=> bootefi hello
Scanning disk mmc at 01c0f000.blk...
Found 3 disks
WARNING: booting without device tree
## Starting EFI application at 42000000 ...
WARNING: using memory device/image path, this may confuse some payloads!

U-Boot SPL 2018.07-rc1-D001-00104-g5b859da7ca8 (Jun 12 2018 - 19:52:34
+0200)
DRAM:

Where able to run bootefi hello on your board?
Which board are you on?

Best regards

Heinrich


More information about the U-Boot mailing list