Increase partition size in emmc

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Increase partition size in emmc

ソリューションへジャンプ
2,499件の閲覧回数
Aakash_Sharma
Contributor II

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.

0 件の賞賛
返信
1 解決策
2,463件の閲覧回数
Aakash_Sharma
Contributor II

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.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,464件の閲覧回数
Aakash_Sharma
Contributor II

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.

0 件の賞賛
返信
2,488件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信