[Buildroot] [PATCH 0/3] Gummiboot fixup

Esben Haabendal esbenhaabendal at gmail.com
Wed Mar 20 15:03:16 UTC 2019


On Wed, Mar 20, 2019 at 3:36 PM Peter Korsgaard <peter at korsgaard.com> wrote:

> >>>>> "Esben" == Esben Haabendal <esbenhaabendal at gmail.com> writes:
>
>   >> Ok. Out of interest, what is gummiboot adding over just directly
> booting
>  >> a Linux kernel with CONFIG_EFI_STUB?
>
>  > With gummiboot, I can point to a separate initramfs file. I haven't
> figured
>  > out
>  > how to do that with CONFIG_EFI_STUB, as the CONFIG_CMDLINE args
>  > are not processed by the EFI stub.
>
> I have never tried, but it looks as if you can just set
> initrd=<path/to/initramfs/in/esp>
>
> https://www.kernel.org/doc/Documentation/efi-stub.txt
>

Yes, you can use initrd=... if you provide the cmdline to the EFI stub.
But if you compile in the cmdline using CONFIG_CMDLINE, it will
not work, as it will only be available for Linux kernel, and not for
EFI stub.

/Esben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190320/64a132a5/attachment-0002.html>


More information about the buildroot mailing list