aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKinsella, Ray <ray.kinsella@intel.com>2015-11-12 15:21:41 +0000
committerSaul Wold <sgw@linux.intel.com>2015-11-13 07:45:54 -0800
commit272d4cb66b8e553e3fc27455ca3bb8e70472c510 (patch)
tree772d8910cacf2b98257c40347c372267dc1ac9e8 /scripts
parent158516f3b89eafa222e64de90de383cabc8c2594 (diff)
downloadmeta-intel-272d4cb66b8e553e3fc27455ca3bb8e70472c510.tar.gz
meta-intel-272d4cb66b8e553e3fc27455ca3bb8e70472c510.tar.bz2
meta-intel-272d4cb66b8e553e3fc27455ca3bb8e70472c510.zip
mkgalileodisk.wks: WiC image for Galileo Gen 1/2
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@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/canned-wks/mkgalileodisk.wks9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/mkgalileodisk.wks b/scripts/lib/wic/canned-wks/mkgalileodisk.wks
new file mode 100644
index 00000000..e587e293
--- /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"