summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-03-20 02:09:25 +0000
committerDenys Dmytriyenko <denys@ti.com>2020-03-23 17:52:49 +0000
commit7646efc16a2b0aeafb6790a7d18b8fa2ca4547ad (patch)
tree11d52303ac88dfd3905f6616a8066f61680efad7 /wic
parent73f41c3f34f7ddc408e2e1c67be60f7865aa633f (diff)
downloadmeta-ti-7646efc16a2b0aeafb6790a7d18b8fa2ca4547ad.tar.gz
wic: create SD card with 3 partitions for testing
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/sdimage-3part.wks8
1 files changed, 8 insertions, 0 deletions
diff --git a/wic/sdimage-3part.wks b/wic/sdimage-3part.wks
new file mode 100644
index 00000000..86aeb1cc
--- /dev/null
+++ b/wic/sdimage-3part.wks
@@ -0,0 +1,8 @@
1# short-description: Create SD card image with 3 partitions
2# long-description: Creates a partitioned SD card image for testing TI platforms.
3# Boot files are located in the first vfat partition.
4# Second ext4 partition is empty and is used for testing.
5
6part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --size 100M --use-uuid
7part test --ondisk mmcblk0 --fstype=ext4 --label test --align 1024 --size 1G --use-uuid
8part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --extra-space 500M --use-uuid