efi_loader: ARM: add support for ARMV7_NONSEC=y
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 3/32 of 3 patches 0 repliesNew
- v3 posting 2/30 of 3 patches 0 repliesSuperseded
- v3 posting 1/32 of 3 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 0 of 3 patches | 0 replies | Superseded |
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v3 posting 3/3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/3 | efi_loader: ARM: run EFI payloads non-secure | +0 | 4 replies | |
| 2/3 | efi_loader: ARM: run EFI payloads non-secure | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [U-Boot] [PATCH v3 0/3] efi_loader: ARM: add support for ARMV7_NONSEC=y
Quoted 46 lines
From: Heinrich Schuchardt <[email protected]>
Date: Fri, 15 Jun 2018 22:35:58 +0200Quoted 35 lines · Mark Kettenis
Quoted 6 lines
From: Heinrich Schuchardt <[email protected]>
Hello Mark,with this patch series running bootefi hello twice in sequence fails on the BananaPi.
Quoted 16 lines
=> 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! Hello, world!
Running on UEFI 2.7
Have SMBIOS table
Load options: earlyprintk nosmp
## Application terminated, r = 0
=> bootefi hello
WARNING: booting without device tree
## Starting EFI application at 42000000 ...
WARNING: using memory device/image path, this may confuse some payloads! <!-- no output after the preceding line -->Yeah. Trying to enter non-secure mode when we're already in non-secure mode doesn't really work. We should skip the switching code in that case. Now checking whether we are in non-secure mode isn't really possible. But I guess we can set a variable and check it before we go down the switching codepath. With that in I can exit the OpenBSD bootloader and then reload and run it again. I'll include that fix in the next respin.
Quoted 4 lines
Please, keep in mind that we expect multiple EFI binaries to be executed in sequence. E.g. the first binary installs a driver. The second is the application using it.
Quoted 6 lines
Quoted 3 lines
Running iPXE's snp.efi binary shows changed behavior on the console. New characters are displayed in "slow motion" (3 characters per second). Setting up the network interface fails in iPXE.
The same happens on my Banana Pi. But not on the imx7 board.
Quoted 7 lines
Just for reference run the Banana Pi with only patch 3 (w/o patch 1 and
2) and you will see adequate speed in iPXE. And if you specifysetenv bootargs nosmp
you will be able to boot Linux via GRUB from your iSCSI drive. So this is not a deficiency of the board.
The update series I just posted makes things fast again. So far I haven't been able to build an iPXE EFI binary so that remains untested. Would be great if you could do that for me.
But even if iPXE still doesn't work, I'd argue that efi_loader support for armv7 that works in the most common case of booting an OS using an EFI bootloader is better than having no efi_loader support at all...
Cheers,
Mark