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

Mark Kettenis mark.kettenis at xs4all.nl
Tue Jun 12 20:36:20 UTC 2018


> From: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Date: Tue, 12 Jun 2018 20:00:28 +0200
> 
> 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?

I can run helloworld.efi on my board with this diff.

> Which board are you on?

Technexion PICO-PI-IMX7; it's a board with an i.MX7D SoC.

I have a Banana Pi as well, so I'll give that one a go tomorrow.



More information about the U-Boot mailing list