]> git.baikalelectronics.ru Git - uboot.git/commit
x86: zimage: Support booting Linux kernel from an EFI payload
authorBin Meng <bmeng.cn@gmail.com>
Thu, 23 Aug 2018 15:24:10 +0000 (08:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Aug 2018 03:23:14 +0000 (11:23 +0800)
commitfcf1144c1998a1385e2dec27ed6f6e2bb509b368
tree9d9119d2eb2ec7dba56e35799fd95223708ad8c3
parentd8d708b4fb69d63a359d99954191ea05718cb2c6
x86: zimage: Support booting Linux kernel from an EFI payload

At present Linux kernel loaded from U-Boot as an EFI payload does
not boot. This fills in kernel's boot params structure with the
required critical EFI information like system table address and
memory map stuff so that kernel can obtain essential data like
runtime services and ACPI table to boot.

With this patch, now U-Boot as an EFI payload becomes much more
practical: it is another option of kernel bootloader, ie, can be
a replacement for grub.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/efi/payload.c
arch/x86/include/asm/zimage.h
arch/x86/lib/zimage.c
include/efi.h