diff options
Diffstat (limited to 'meta-yocto-bsp/wic')
-rw-r--r-- | meta-yocto-bsp/wic/beaglebone-yocto.wks | 2 | ||||
-rw-r--r-- | meta-yocto-bsp/wic/edgerouter.wks | 4 | ||||
-rw-r--r-- | meta-yocto-bsp/wic/genericarm64.wks.in | 11 |
3 files changed, 12 insertions, 5 deletions
diff --git a/meta-yocto-bsp/wic/beaglebone-yocto.wks b/meta-yocto-bsp/wic/beaglebone-yocto.wks index 701ae0b3d4..7a28fb23dc 100644 --- a/meta-yocto-bsp/wic/beaglebone-yocto.wks +++ b/meta-yocto-bsp/wic/beaglebone-yocto.wks | |||
@@ -2,6 +2,6 @@ | |||
2 | # long-description: Creates a partitioned SD card image for Beaglebone. | 2 | # long-description: Creates a partitioned SD card image for Beaglebone. |
3 | # Boot files are located in the first vfat partition. | 3 | # Boot files are located in the first vfat partition. |
4 | 4 | ||
5 | part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot" --use-uuid | 5 | part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid |
6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid | 6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid |
7 | bootloader --append="console=ttyS0,115200" | 7 | bootloader --append="console=ttyS0,115200" |
diff --git a/meta-yocto-bsp/wic/edgerouter.wks b/meta-yocto-bsp/wic/edgerouter.wks deleted file mode 100644 index 7176fe436b..0000000000 --- a/meta-yocto-bsp/wic/edgerouter.wks +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | # short-description: Create SD card image for Edgerouter | ||
2 | # long-description: Create a partitioned SD card image for MIPS64 Edgerouter reference hardware. | ||
3 | part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --active --align 4 --size 16 | ||
4 | part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 4 | ||
diff --git a/meta-yocto-bsp/wic/genericarm64.wks.in b/meta-yocto-bsp/wic/genericarm64.wks.in new file mode 100644 index 0000000000..ee7da87ded --- /dev/null +++ b/meta-yocto-bsp/wic/genericarm64.wks.in | |||
@@ -0,0 +1,11 @@ | |||
1 | # short-description: Create an EFI disk image | ||
2 | # long-description: Creates a partitioned EFI disk image that the user | ||
3 | # can directly dd to boot media. | ||
4 | |||
5 | part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid | ||
6 | |||
7 | part swap --size 44 --label swap --fstype=swap --use-uuid | ||
8 | |||
9 | part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid | ||
10 | |||
11 | bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4" | ||