[meta-intel] [PATCH] mkgalileodisk.wks: WiC image for Galileo Gen 1/2

Kinsella, Ray ray.kinsella at intel.com
Thu Nov 12 07:21:41 PST 2015


WiC script to create an EFI image for Galileo Gen 1/2. This
differs from the reference EFI image that is shipped with Poky as
follows.

 * Removed the swap partition.
 * Change to Kernel Cmd Line for Galileo, updating console etc.

Signed-off-by: Ray Kinsella <ray.kinsella at intel.com>
---
 scripts/lib/wic/canned-wks/mkgalileodisk.wks |    9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/mkgalileodisk.wks

diff --git a/scripts/lib/wic/canned-wks/mkgalileodisk.wks b/scripts/lib/wic/canned-wks/mkgalileodisk.wks
new file mode 100644
index 0000000..e587e29
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/mkgalileodisk.wks
@@ -0,0 +1,9 @@
+# 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=gummiboot" --ondisk mmcblk0 --label msdos --active --align 1024
+
+part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024
+
+bootloader  --timeout=0  --append="console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"
-- 
1.7.10.4



More information about the meta-intel mailing list