[PATCH 0/6] x86: efi: Add a 64-bit coreboot payload

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Apr 17 17:31:30 CEST 2020


On Sun, Apr 05, 2020 at 05:22:34PM -0600, Simon Glass wrote:
> This series creates a new 64-bit 'coreboot64' build which can be launched
> from coreboot. It uses SPL to effect the jump to 64-bit mode.
> 
> This was done in an attempt to get the Ubuntu FirmwareTestSuite[1]
> working. Unfortunately the latest version shows a splash screen and hangs,
> perhaps due to some missing EFI support.

On the first glance it should not break anyhow existing x86 systems.
LGTM.

> [1] https://wiki.ubuntu.com/FirmwareTestSuite
> 
> 
> Simon Glass (6):
>   x86: Allow building an SPL image for coreboot
>   x86: Move work-around out of cpu_jump_to_64bit_uboot()
>   x86: Update SPL for coreboot
>   x86: cbfs: Drop unwanted declaration
>   x86: coreboot: Allow building an SPL image
>   x86: Add a 64-bit coreboot build
> 
>  Makefile                             |  6 ++++
>  arch/x86/cpu/Makefile                |  4 ++-
>  arch/x86/cpu/coreboot/Kconfig        |  1 +
>  arch/x86/cpu/coreboot/Makefile       |  8 ++++-
>  arch/x86/cpu/coreboot/coreboot.c     |  3 +-
>  arch/x86/cpu/coreboot/coreboot_spl.c | 12 +++++++
>  arch/x86/cpu/i386/cpu.c              | 10 ------
>  arch/x86/cpu/intel_common/Makefile   |  2 ++
>  arch/x86/cpu/x86_64/cpu.c            |  2 ++
>  arch/x86/dts/coreboot-u-boot.dtsi    | 18 +++++++++++
>  arch/x86/lib/spl.c                   | 23 ++++++++++---
>  board/coreboot/coreboot/MAINTAINERS  |  7 ++++
>  configs/coreboot64_defconfig         | 48 ++++++++++++++++++++++++++++
>  doc/board/coreboot/coreboot.rst      | 10 ++++++
>  include/cbfs.h                       |  2 +-
>  15 files changed, 138 insertions(+), 18 deletions(-)
>  create mode 100644 arch/x86/cpu/coreboot/coreboot_spl.c
>  create mode 100644 arch/x86/dts/coreboot-u-boot.dtsi
>  create mode 100644 configs/coreboot64_defconfig
> 
> -- 
> 2.26.0.292.g33ef6b2f38-goog
> 

-- 
With Best Regards,
Andy Shevchenko




More information about the U-Boot mailing list