aboutsummaryrefslogtreecommitdiffstats
path: root/wic/galileodisk-sd.wks
diff options
context:
space:
mode:
Diffstat (limited to 'wic/galileodisk-sd.wks')
-rw-r--r--wic/galileodisk-sd.wks9
1 files changed, 9 insertions, 0 deletions
diff --git a/wic/galileodisk-sd.wks b/wic/galileodisk-sd.wks
new file mode 100644
index 00000000..225778d7
--- /dev/null
+++ b/wic/galileodisk-sd.wks
@@ -0,0 +1,9 @@
+# short-description: Create a Galileo Gen 1/2 disk image (SD card)
+# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2
+# boards that the user can directly dd to an SD card and boot.
+
+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 --use-uuid
+
+bootloader --timeout=1 --append="rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"