summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-07-12 20:35:59 (GMT)
committerSaul Wold <sgw@linux.intel.com>2017-07-12 20:35:59 (GMT)
commit248b47feb364828087f00d1934d85234df6e0be2 (patch)
tree84fab7b3c5676ad56bb2818e280856b1efab8db6 /wic
parentdeef6f725b1f9909eda8735dec2265176e4a88ab (diff)
downloadmeta-intel-248b47feb364828087f00d1934d85234df6e0be2.tar.gz
wic: Move WKS newer common location
This cleans up the wic scripts location to match the newer top-level wic directory location. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/galileodisk-sd.wks9
-rw-r--r--wic/galileodisk-usb.wks9
-rw-r--r--wic/generic-bootdisk.wks.in6
-rw-r--r--wic/mktinygalileodisk.wks7
-rw-r--r--wic/systemd-bootdisk-tiny32.wks8
-rw-r--r--wic/systemd-bootdisk-tiny64.wks14
6 files changed, 53 insertions, 0 deletions
diff --git a/wic/galileodisk-sd.wks b/wic/galileodisk-sd.wks
new file mode 100644
index 0000000..225778d
--- /dev/null
+++ b/wic/galileodisk-sd.wks
@@ -0,0 +1,9 @@
1# short-description: Create a Galileo Gen 1/2 disk image (SD card)
2# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2
3# boards that the user can directly dd to an SD card and boot.
4
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk mmcblk0 --label msdos --active --align 1024
6
7part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024 --use-uuid
8
9bootloader --timeout=1 --append="rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"
diff --git a/wic/galileodisk-usb.wks b/wic/galileodisk-usb.wks
new file mode 100644
index 0000000..b561fa0
--- /dev/null
+++ b/wic/galileodisk-usb.wks
@@ -0,0 +1,9 @@
1# short-description: Create a Galileo Gen 1/2 disk image (USB storage)
2# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2
3# that the user can directly dd to USB storage media and boot.
4
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
6
7part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 --use-uuid
8
9bootloader --timeout=1 --append="rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"
diff --git a/wic/generic-bootdisk.wks.in b/wic/generic-bootdisk.wks.in
new file mode 100644
index 0000000..31c708b
--- /dev/null
+++ b/wic/generic-bootdisk.wks.in
@@ -0,0 +1,6 @@
1# based off of refkit's refkit-directdisk.wks.in kickstart template
2# uses the image's boot directory to populate a vfat boot partition,
3# which works with EFI.
4bootloader --ptable gpt
5part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid
6part / --source rootfs --fstype=ext4 --label root --align 1024 --uuid ${DISK_SIGNATURE_UUID}
diff --git a/wic/mktinygalileodisk.wks b/wic/mktinygalileodisk.wks
new file mode 100644
index 0000000..52f1e12
--- /dev/null
+++ b/wic/mktinygalileodisk.wks
@@ -0,0 +1,7 @@
1# short-description: Create an Galileo Gen 1/2 disk image
2# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2,
3# that the user can directly dd to boot media.
4
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-intel-quark.cpio.gz" --ondisk mmcblk0 --label msdos --active --align 1024
6
7bootloader --timeout=0 --append="console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"
diff --git a/wic/systemd-bootdisk-tiny32.wks b/wic/systemd-bootdisk-tiny32.wks
new file mode 100644
index 0000000..c4011c0
--- /dev/null
+++ b/wic/systemd-bootdisk-tiny32.wks
@@ -0,0 +1,8 @@
1# short-description: Create an EFI disk image with systemd-boot and core2-32
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# This disk image is meant to be used by core2-32 and core-image-tiny-initramfs
5
6part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-intel-core2-32.cpio.gz" --ondisk sda --label msdos --active --align 1024
7
8bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5"
diff --git a/wic/systemd-bootdisk-tiny64.wks b/wic/systemd-bootdisk-tiny64.wks
new file mode 100644
index 0000000..c957572
--- /dev/null
+++ b/wic/systemd-bootdisk-tiny64.wks
@@ -0,0 +1,14 @@
1# short-description: Create an EFI disk image with systemd-boot and corei7-64
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# This disk image is meant to be used by corei7-64 and core-image-tiny-initramfs
5
6part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-intel-corei7-64.cpio.gz" --ondisk sda --label msdos --active --align 1024
7
8bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5"
9
10# Some devices require different console parameters, the console parameter can be given repeatedly, input is taken
11# only from the last listed console, for example on the Minnowboard MAX, the previously listed setting would show
12# a login prompt on its video output and not on the serial terminal.
13#
14# See http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html