yocto wic image automatically extend the partition

cancel
Showing results for 
Search instead for 
Did you mean: 

yocto wic image automatically extend the partition

155 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
2 Replies

142 Views
Harvey021
NXP Employee
NXP Employee

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

138 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