diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:45 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:38 -0600 |
commit | 20f3191aeb592dd889eeaf96a31526297de95306 (patch) | |
tree | aec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/wic | |
parent | bea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff) | |
download | meta-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.wks | 7 | ||||
-rw-r--r-- | meta-ti-bsp/wic/sdimage-2part.wks | 6 |
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. | ||
5 | bootloader --append="rootfstype=ext4 ro" | ||
6 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M | ||
7 | part / --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 | |||
5 | part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid | ||
6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid | ||