]> git.dujemihanovic.xyz Git - u-boot.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)
commit1fdeacd32c6335acb7bd5f00c3f177013d971d3d
tree9d9119d2eb2ec7dba56e35799fd95223708ad8c3
parentcbe503fbc11f36086482bfd7066c2e36b82f1544
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