diff options
Diffstat (limited to 'wic')
-rw-r--r-- | wic/galileodisk-sd.wks | 9 | ||||
-rw-r--r-- | wic/galileodisk-usb.wks | 9 | ||||
-rw-r--r-- | wic/generic-bootdisk.wks.in | 6 | ||||
-rw-r--r-- | wic/mktinygalileodisk.wks | 7 | ||||
-rw-r--r-- | wic/systemd-bootdisk-tiny32.wks | 8 | ||||
-rw-r--r-- | wic/systemd-bootdisk-tiny64.wks | 14 |
6 files changed, 53 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 @@ | |||
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 | |||
5 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk mmcblk0 --label msdos --active --align 1024 | ||
6 | |||
7 | part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024 --use-uuid | ||
8 | |||
9 | bootloader --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 00000000..b561fa09 --- /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 | |||
5 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024 | ||
6 | |||
7 | part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 --use-uuid | ||
8 | |||
9 | bootloader --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 00000000..31c708bc --- /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. | ||
4 | bootloader --ptable gpt | ||
5 | part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid | ||
6 | part / --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 00000000..52f1e12c --- /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 | |||
5 | 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 | ||
6 | |||
7 | bootloader --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 00000000..c4011c0e --- /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 | |||
6 | part /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 | |||
8 | bootloader --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 00000000..c957572a --- /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 | |||
6 | part /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 | |||
8 | bootloader --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 | ||