[meta-intel] [PATCH 1/6] mktinygalileodisk: Adds kickstart file for poky-tiny to support quark using wic
Alejandro Hernandez
alejandro.hernandez at linux.intel.com
Wed Mar 1 14:24:04 PST 2017
From: Tom Zanussi <tom.zanussi at linux.intel.com>
With the output from poky-tiny core-image-tiny-initramfs image, we can
now create an image that can be dd'ed directly to the Galileo2 sdcard using:
$ wic create mktinygalileodisk -e core-image-tiny-initramfs
Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
Signed-off-by: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>
---
scripts/lib/wic/canned-wks/mktinygalileodisk.wks | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 scripts/lib/wic/canned-wks/mktinygalileodisk.wks
diff --git a/scripts/lib/wic/canned-wks/mktinygalileodisk.wks b/scripts/lib/wic/canned-wks/mktinygalileodisk.wks
new file mode 100644
index 0000000..52f1e12
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/mktinygalileodisk.wks
@@ -0,0 +1,7 @@
+# short-description: Create an Galileo Gen 1/2 disk image
+# 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=systemd-boot,initrd=core-image-tiny-initramfs-intel-quark.cpio.gz" --ondisk mmcblk0 --label msdos --active --align 1024
+
+bootloader --timeout=0 --append="console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"
--
2.10.2
More information about the meta-intel
mailing list