[U-Boot] [PATCH 3/4] x86: zimage: Support booting Linux kernel from an EFI payload

Bin Meng bmeng.cn at gmail.com
Thu Aug 30 03:28:15 UTC 2018


On Thu, Aug 30, 2018 at 8:29 AM Simon Glass <sjg at chromium.org> wrote:
>
> On 23 August 2018 at 09:24, Bin Meng <bmeng.cn at gmail.com> wrote:
> > 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 at gmail.com>
> > ---
> >
> >  arch/x86/cpu/efi/payload.c    | 37 +++++++++++++++++++++++++++++++++++++
> >  arch/x86/include/asm/zimage.h |  1 +
> >  arch/x86/lib/zimage.c         |  4 ++++
> >  include/efi.h                 |  3 +++
> >  4 files changed, 45 insertions(+)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> That's good. I'm not a big fan of grub. It was sort-of OK until I
> looked at the code.

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list