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?
The command fdisk can help partitioning. Please refer to section 4 Booting Linux OS of IMX_LINUX_USER_GUIDE.pdf
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.