[U-Boot] [PATCH 0/10] x86: Add support for booting 64-bit uncompressed kernel images
Simon Glass
sjg at chromium.org
Fri Oct 10 16:21:51 CEST 2014
Following on from the recent series to enable booting of uncompressed x86
kernel images, this adds support for booting 64-bit kernels. This involves
U-Boot jumping into 64-bit mode and then starting the kernel. A new x86_64
architecture is therefore supported.
A function is added to detect whether the cpu has 64-bit support to avoid
trying to boot a kernel that is not supported.
The bootm code has various decompression routines all of which print similar
messages. So this series includes a patch to refactor these so that common
code is not repeated. This will make it easier to maintain.
Simon Glass (10):
x86: Move paging functions into cpu.c
x86: Bring in msr-index.h from linux 3.8
x86: Display basic CPU information on boot
x86: Add support for starting 64-bit kernel
x86: Move kernel boot function to arch/x86/lib/bootm.c
x86: image: Add new image type for x64_64
x86: bootm: Support booting a 64-bit raw kernel
x86: Correct a few progress message nits
bootm: Move compression progress/error messages into a function
x86: config: Increase CONFIG_SYS_BOOTM_LEN to 16MB
arch/x86/cpu/Makefile | 2 +-
arch/x86/cpu/call64.S | 93 +++++++++++++++++++++++++
arch/x86/cpu/cpu.c | 144 +++++++++++++++++++++++++++++++++++++++
arch/x86/include/asm/bootm.h | 16 +++++
arch/x86/include/asm/cpu.h | 55 +++++++++++++++
arch/x86/include/asm/msr-index.h | 108 ++++++++++++++++++++++++++++-
arch/x86/include/asm/zimage.h | 4 +-
arch/x86/lib/bootm.c | 56 ++++++++++++---
arch/x86/lib/physmem.c | 33 +--------
arch/x86/lib/zimage.c | 47 +++----------
common/bootm.c | 64 ++++++++++-------
common/image-fit.c | 3 +-
common/image.c | 1 +
include/configs/coreboot.h | 4 +-
include/image.h | 1 +
15 files changed, 522 insertions(+), 109 deletions(-)
create mode 100644 arch/x86/cpu/call64.S
create mode 100644 arch/x86/include/asm/cpu.h
--
2.1.0.rc2.206.gedb03e5
More information about the U-Boot
mailing list