[x86] [EFI stub] Changing the kernel command line in the efi application, without recompiling the kernel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm currently building a combo efi application comprised of

* uefi stub from gummiboot
* linux kernel
* kernel command line
* microcode + initramfs

using the approach from mkrescue-uefi.sh [1]

However I'd like to replace the gummiboot stub with the one coming
with the kernel, and get rid of one dependency (gummiboot).
But it seems that the command line is handled differently:

* in the gummiboot way I can change the command line without having to
recompile the kernel, because it is contained in a separate section of
the application.

* in the kernel-only way, it is contained in the field "load_options"
from efi_loaded_image_t [2]
So for what I can understand, I would have to rebuild the kernel, to
change the command line of the combo application.


Is that correct?


[1] https://github.com/haraldh/mkrescue-uefi/blob/master/mkrescue-uefi.sh
[2] http://lxr.free-electrons.com/source/include/linux/efi.h#L741

-- 
thanks, in advance, igor
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux