Good day.
I built an image for SDCARD on the rockchip3568 board using the project
from here https://github.com/armbian/build
This framework creates an image for SDCARD, consisting of two
partitions:
1 - boot (Fat32 - 256 MiB)
2 - root file system (ext4)
(all remaining capacity on SDCARD, I use a 16GiB card)
I need a different, custom, file system partition.
How can I make three partitions, for example of these sizes:
1. boot - 256MiB
2. root - 2GiB
3. work - the entire remaining capacity of the SDCARD
while the size of the image file is not all 16GiB,
but 256MiB (boot) + 2Gib (root) + 256MiB (work) = 2.5GiB
and the last partition would take up all the remaining space on the card?
I managed to modify two scripts:
partitioning.sh and rootfs-to-image.sh
and, as I understood, to make the last partition for the entire remaining capacity of the card, when forming the script for marking
partitions for sfdisk (in the partitioning.sh file), you do not need to specify the size
of the partition, which is what I did. However, the desired result did not work.
Can someone help with this problem?
Thanks in advance.