From 20f3191aeb592dd889eeaf96a31526297de95306 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 22 Feb 2022 04:13:45 +0000 Subject: 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 Signed-off-by: Ryan Eatmon --- meta-ti-bsp/wic/sdimage-2part-efi.wks | 7 +++++++ meta-ti-bsp/wic/sdimage-2part.wks | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 meta-ti-bsp/wic/sdimage-2part-efi.wks create mode 100644 meta-ti-bsp/wic/sdimage-2part.wks (limited to 'meta-ti-bsp/wic') 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 @@ +# short-description: Create SD card image with 2 partitions and EFI support +# long-description: Creates a partitioned SD card image for TI platforms that +# supports EFI. Boot files are located in the first vfat partition with extra +# reserved space. We cannot use a GPT here. +bootloader --append="rootfstype=ext4 ro" +part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M +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 @@ +# short-description: Create SD card image with 2 partitions +# long-description: Creates a partitioned SD card image for TI platforms. +# Boot files are located in the first vfat partition with extra reserved space. + +part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid +part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid -- cgit v1.2.3-54-g00ecf