[PATCH 0/8] Support 64-bit U-Boot for Slim Bootloader

aiden.park at intel.com aiden.park at intel.com
Wed Apr 22 02:44:59 CEST 2020


From: Aiden Park <aiden.park at intel.com>

This patchset will build 64-bit U-Boot as a Slim Bootloader payload
and introduce a new X86_RUN_64BIT_ONLY to build pure 64-bit U-Boot
binary without SPL. In addition, this supports 64-bit kernel booting
from 64-bit U-Boot.

Aiden Park (8):
  x86: Add a new X86_RUN_64BIT_ONLY to Kconfig
  x86: start64: Add a hook at 64-bit entry
  x86: start64: Support HOB in 64-bit U-Boot
  x86: slimbootloader: Support 64-bit operation
  configs: slimbootloader: Add x86_64 slimbootloader config
  x86: Fix 64-bit compile warning
  x86: enable 64-bit kernel boot from 64-bit U-Boot
  doc: slimbootloader: Update 64-bit build instruction

 arch/x86/Kconfig                             |  8 ++++++
 arch/x86/cpu/slimbootloader/Makefile         |  9 ++++--
 arch/x86/cpu/slimbootloader/entry64.S        | 14 ++++++++++
 arch/x86/cpu/slimbootloader/slimbootloader.c | 17 ++++++++++--
 arch/x86/cpu/start64.S                       | 10 +++++++
 arch/x86/cpu/x86_64/Makefile                 |  2 +-
 arch/x86/cpu/x86_64/call64.S                 | 21 ++++++++++++++
 arch/x86/cpu/x86_64/cpu.c                    | 10 +++++++
 arch/x86/include/asm/bootparam.h             | 10 ++++++-
 arch/x86/include/asm/zimage.h                |  2 +-
 arch/x86/lib/bootm.c                         | 10 +++++--
 arch/x86/lib/zimage.c                        | 24 ++++++++++------
 cmd/x86/hob.c                                |  8 +++---
 configs/slimbootloader-x86_64_defconfig      | 24 ++++++++++++++++
 doc/board/intel/slimbootloader.rst           | 29 ++++++++++++++++++++
 15 files changed, 176 insertions(+), 22 deletions(-)
 create mode 100644 arch/x86/cpu/slimbootloader/entry64.S
 create mode 100644 arch/x86/cpu/x86_64/call64.S
 create mode 100644 configs/slimbootloader-x86_64_defconfig

-- 
2.20.1



More information about the U-Boot mailing list