aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2016-08-24 10:34:43 -0500
committerSaul Wold <sgw@linux.intel.com>2017-03-07 12:22:22 -0800
commit513efa6758d00c5f0fb4d786fddc8028287ff853 (patch)
tree157b0eca0a7be1d2ff83c964a64ef309eb6d3032 /scripts
parent8a168766ef9054f2f99cdb922bb5332d9c80dbc7 (diff)
downloadmeta-intel-513efa6758d00c5f0fb4d786fddc8028287ff853.tar.gz
meta-intel-513efa6758d00c5f0fb4d786fddc8028287ff853.tar.bz2
meta-intel-513efa6758d00c5f0fb4d786fddc8028287ff853.zip
mktinygalileodisk: Adds kickstart file for poky-tiny to support quark using wic
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@linux.intel.com> Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/canned-wks/mktinygalileodisk.wks7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/mktinygalileodisk.wks b/scripts/lib/wic/canned-wks/mktinygalileodisk.wks
new file mode 100644
index 00000000..52f1e12c
--- /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"