Hi,
We are using custom board based on IMX8MQ, we want to increase user data partition size (custom partition) to 24GB. Our emmc is capable of 32GB and we have two rootfs image each with size of 4GB configured in yocto build system. Below mentioned are the contents of our wks file but these doesn't seems to work as while flashing with uuu utility it says :Request would exceed partition size!.
Contents of wks file:-
part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192
part /mnt --source rootfs --ondisk mmcblk --fstype=ext4 --label rootfs-bkup --align 8192
part /media --ondisk mmcblk --fstype=ext4 --label data --align 8192 --size 24576
Let me know if we are missing something or how to do the same.
Thanks.
Solved! Go to Solution.
Hi All,
the changes I mentioned are working but needs to reduce the size of the /media partition as per the available space after rootfs and other partition have populated.
Hi All,
the changes I mentioned are working but needs to reduce the size of the /media partition as per the available space after rootfs and other partition have populated.
Hi
You can try to add --fixed-size in root partition
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 --fixed-size xxxx
Please refer kickstart document:
https://docs.yoctoproject.org/ref-manual/kickstart.html
https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html