yocto wic image automatically extend the partition

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto wic image automatically extend the partition

872 Views
songhongliang
Contributor II

hi,

The wic.bz2 image I compiled now is burned into EMMC. The partition used by the system cannot occupy the size of the entire EMMC. Is there any way to automatically expand the root directory partition so that emmc can be fully used?

Thanks

0 Kudos
3 Replies

859 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @songhongliang 

The command fdisk can help partitioning. Please refer to section 4 Booting Linux OS of IMX_LINUX_USER_GUIDE.pdf

https://www.nxp.com/webapp/Download?colCode=IMX_LINUX_USERS_GUIDE

Best regards

Harvey

0 Kudos

674 Views
Jackie_Zhou
Contributor II

I had the same problem on S32G2, The default fsl-image-auto.sdcard built by Yocto can not opcuppy the entired 32G eMMc When booting.  

Can any body help me to solve the problem? And we don't want to manually part the eMMc using fdisk.

0 Kudos

855 Views
songhongliang
Contributor II

HI 

What I mean is that after flashing the image file, the root directory can be covered with the rest of the entire emmc. Just like Android, it can automatically expand to maximize the user partition. Rather than start and then execute the fdisk command to extend the partition. I want it to be done automatically after the first boot.

Thanks!

0 Kudos