blob: 96ba6bef5fcc28f3152c69e1296997cb7ef03c21 [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001# short-description: Create mmc image for Turris Omnia
2# long-description: Creates a partitioned mmc image for use with
3# Turris Omnia. Boot files are located in the first vfat partition.
4
5part --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --system-id 0x0c
6part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label primary --align 1024
7part /secondary --source rootfs --ondisk mmcblk0 --fstype=ext4 --label secondary --align 1024 --fsoptions "noauto"
8part /nvram --ondisk mmcblk0 --fstype=ext4 --label nvram1 --align 1024 --fixed-size 100M
9part /nvram2 --ondisk mmcblk0 --fstype=ext4 --label nvram2 --align 1024 --fixed-size 100M --fsoptions "noauto"