FAQ_MA35_Family_SD eMMC Rootfs Size
Posted: 23 Apr 2024, 15:07
The default size of the SD/eMMC rootfs is 100MB, which may be insufficient for certain uses. Nuvoton offers a script to automatically resize the rootfs to its maximum capacity, or alternatively, you can manually resize the rootfs to your desired size.
Auto resize rootfs to maximum after booting
Buildroot
Yocto
DISK_DRIVE = “/dev/mmcblock0”
DISK_NUM = “P1”
#SD #eMMC #Rootfs
Auto resize rootfs to maximum after booting
Buildroot
Code: Select all
$ make menuconfig
Bootloaders --->
[*]Auto resize sdcard to Max.
Code: Select all
Add below command to /build/conf/local.conf
CORE_IMAGE_EXTRA_INSTALL += " sd-maxsize"
The detail parameters located at
/source/meta-ma35d1/conf/machine/xxx.conf
DISK_NUM = “P1”
#SD #eMMC #Rootfs