[U-Boot] Booting Linux kernel on x86_64

Bin Meng bmeng.cn at gmail.com
Tue Aug 13 00:23:38 UTC 2019


Hi Ryan,

On Tue, Aug 13, 2019 at 12:48 AM Ryan Wilkins
<ryan at elevated-networks.com> wrote:
>
>
>
> > On Aug 10, 2019, at 8:42 AM, Andy Shevchenko <andy.shevchenko at gmail.com> wrote:
> >
> > You may try to enable 'earlyprintk=efi' (newer kernels have different
> > approach, i.e. 'earlycon=efifb') and also add 'keep_bootcon' to see if
> > the problem is at the beginning or ending stages of boot process.
> >
> >
> >
> > --
> > With Best Regards,
> > Andy Shevchenko
>
>
> Andy,
>
> This worked for me and I was able to see that the kernel was booting but was unable to mount the rootfs.  It also told me that my framebuffer isn’t being initialized properly so I wasn’t seeing screen output.
>

I was able to boot U-Boot as an EFI payload on QEMU, then boot a Linux
4.17 kernel from the payload. The kernel correctly detects the
framebuffer and was able to draw a penguin.

> Thanks much for the suggestions!

Regards,
Bin


More information about the U-Boot mailing list