[U-Boot] [PATCH v5 0/7] LS2080ARDB: Enable EFI boot support

Alexander Graf agraf at suse.de
Sat Oct 15 12:03:08 CEST 2016


We now have EFI support in U-Boot which worked out of the box on all systems
that I tried it on so far. Except for the LS2080ARDB. With this patch set
I can successfully boot grub2 and Linux from there on such a system - even
using PXE.

This patch set depends on the efi-next queue and the efi runtime rename patch.
For easy pulling, you can find the fully applied tree here:

  https://github.com/agraf/u-boot.git ls2085-efi-support-v5


v3 -> v4:

  - Add CONFIG_CMD_FS_GENERIC to defconfig
  - Move code into generic quiesce weak function
  - Exit device for real when going to Linux
  - Only apply DPL if we have something to apply
  - New: armv8: ls2080a: Declare spin tables as reserved for efi loader
  - New: efi_loader: Allow boards to implement get_time and reset_system
  - New: armv8: fsl-layerscape: Add support for efi_loader RTS reset
  - New: efi_loader: Declare secure memory as reserved
  - New: efi_loader: Allow bouncing for network

v4 -> v5:

  - Drop patches that are in the efi queue already
    - efi_loader: Allow boards to implement get_time and reset_system
    - efi_loader: Allow bouncing for network
  - Remove manual ttbr / tcr copy
  - Regenerate page tables in EL2, getting us non-secured page tables
  - Add qspi board
  - Don't overwrite ethact
  - Use __efi_runtime tags
  - Use gd->arch.secure_ram

Alexander Graf (7):
  ls2080: Exit dpaa only right before exiting U-Boot
  efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3
  ls2080ardb: Reserve DP-DDR RAM
  ls2080ardb: Convert to distro boot
  armv8: ls2080a: Declare spin tables as reserved for efi loader
  armv8: fsl-layerscape: Add support for efi_loader RTS reset
  efi_loader: Declare secure memory as reserved

 arch/arm/cpu/armv8/fsl-layerscape/cpu.c  | 33 ++++++++++++++++++++++++++++++--
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c  |  6 ++++++
 arch/arm/include/asm/u-boot-arm.h        |  1 +
 arch/arm/lib/bootm.c                     |  7 +++++++
 board/freescale/ls2080a/ls2080a.c        |  6 +++++-
 board/freescale/ls2080aqds/ls2080aqds.c  | 11 +++++------
 board/freescale/ls2080ardb/ls2080ardb.c  | 20 +++++++++++++------
 cmd/bootefi.c                            | 11 +++++++++++
 configs/ls2080a_emu_defconfig            |  1 +
 configs/ls2080a_simu_defconfig           |  1 +
 configs/ls2080aqds_SECURE_BOOT_defconfig |  1 +
 configs/ls2080aqds_defconfig             |  1 +
 configs/ls2080aqds_nand_defconfig        |  1 +
 configs/ls2080aqds_qspi_defconfig        |  1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig |  1 +
 configs/ls2080ardb_defconfig             |  1 +
 configs/ls2080ardb_nand_defconfig        |  1 +
 drivers/net/fsl-mc/mc.c                  | 24 +++++++++++++++++++++--
 include/configs/ls2080ardb.h             | 25 +++++++++++++++++++++++-
 lib/efi_loader/efi_boottime.c            |  2 ++
 lib/efi_loader/efi_memory.c              | 15 +++++++++++++++
 21 files changed, 152 insertions(+), 18 deletions(-)

-- 
1.8.5.6



More information about the U-Boot mailing list