[meta-intel] [PATCH 1/2] quark: switch gummiboot to systemd-boot

Jianxun Zhang jianxun.zhang at linux.intel.com
Tue Jul 26 15:26:16 PDT 2016


The systemd-boot is the old gummiboot merged into systemd project.
We have enabled systemd-boot as a standalone EFI bootloader in OE,
also with updated wic plugin to support specifying "systemd-boot"
as bootloader in wks files.

Assuming these are good enough to replace gummiboot for quark,
this change does it.

Signed-off-by: Jianxun Zhang <jianxun.zhang at linux.intel.com>
---
 conf/machine/intel-quark.conf                | 2 +-
 scripts/lib/wic/canned-wks/mkgalileodisk.wks | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/intel-quark.conf b/conf/machine/intel-quark.conf
index 68e1199..ad67319 100644
--- a/conf/machine/intel-quark.conf
+++ b/conf/machine/intel-quark.conf
@@ -18,7 +18,7 @@ MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware"
 SERIAL_CONSOLE = "115200 ttyS1"
 APPEND += "rootwait console=ttyS1,115200 console=tty0"
 
-EFI_PROVIDER = "gummiboot"
+EFI_PROVIDER = "systemd-boot"
 
 # Ensure that the Lock prefix is omitted for the kernel"
 KERNEL_EXTRA_ARGS = "EXTRA_CFLAGS=-Wa,-momit-lock-prefix=yes"
diff --git a/scripts/lib/wic/canned-wks/mkgalileodisk.wks b/scripts/lib/wic/canned-wks/mkgalileodisk.wks
index e587e29..c9835a6 100644
--- a/scripts/lib/wic/canned-wks/mkgalileodisk.wks
+++ b/scripts/lib/wic/canned-wks/mkgalileodisk.wks
@@ -2,7 +2,7 @@
 # long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2,
 # that the user can directly dd to boot media.
 
-part /boot --source bootimg-efi --sourceparams="loader=gummiboot" --ondisk mmcblk0 --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk mmcblk0 --label msdos --active --align 1024
 
 part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024
 
-- 
2.7.4



More information about the meta-intel mailing list