diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2022-10-05 08:55:03 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:28:37 +0100 |
commit | 5b0de8447e5aeb14cbf78ade11f0a3af074d8055 (patch) | |
tree | a0e1011a256d6335f023724f816dfffaba1640a9 /scripts/lib/scriptpath.py | |
parent | 5680ba2ca5c00f924905dc9c56a61cfde3532e8f (diff) | |
download | poky-5b0de8447e5aeb14cbf78ade11f0a3af074d8055.tar.gz |
wic: add UEFI kernel as UEFI stub
Linux kernel can be compiled as UEFI stub and loaded directly
with UEFI firmware without grub or other UEFI shell.
Tested with wic file:
bootloader --ptable gpt --timeout=0 --append="rootwait"
part /boot --source bootimg-efi --sourceparams="loader=uefi-kernel" \
--ondisk sda --fstype=vfat --label bootfs \
--active --align 1024 --use-uuid
part / --source rootfs --fstype=ext4 --label rootfs \
--align 1024 --exclude-path boot/ --use-label
(From OE-Core rev: b18025fc8a2dad963b6f4b697e24455f2511b279)
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions