summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/wic
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:13:45 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:38 -0600
commit20f3191aeb592dd889eeaf96a31526297de95306 (patch)
treeaec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/wic
parentbea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff)
downloadmeta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/wic')
-rw-r--r--meta-ti-bsp/wic/sdimage-2part-efi.wks7
-rw-r--r--meta-ti-bsp/wic/sdimage-2part.wks6
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-ti-bsp/wic/sdimage-2part-efi.wks b/meta-ti-bsp/wic/sdimage-2part-efi.wks
new file mode 100644
index 00000000..ffb8d24b
--- /dev/null
+++ b/meta-ti-bsp/wic/sdimage-2part-efi.wks
@@ -0,0 +1,7 @@
1# short-description: Create SD card image with 2 partitions and EFI support
2# long-description: Creates a partitioned SD card image for TI platforms that
3# supports EFI. Boot files are located in the first vfat partition with extra
4# reserved space. We cannot use a GPT here.
5bootloader --append="rootfstype=ext4 ro"
6part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
7part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
diff --git a/meta-ti-bsp/wic/sdimage-2part.wks b/meta-ti-bsp/wic/sdimage-2part.wks
new file mode 100644
index 00000000..3eab9407
--- /dev/null
+++ b/meta-ti-bsp/wic/sdimage-2part.wks
@@ -0,0 +1,6 @@
1# short-description: Create SD card image with 2 partitions
2# long-description: Creates a partitioned SD card image for TI platforms.
3# Boot files are located in the first vfat partition with extra reserved space.
4
5part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid
6part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid