Page 1 of 1

FAQ_MA35_Family_SD eMMC Rootfs Size

Posted: 23 Apr 2024, 15:07
by ytliu6
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

Code: Select all

$ make menuconfig
Bootloaders --->
  [*]Auto resize sdcard to Max.
Yocto

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_DRIVE = “/dev/mmcblock0”
DISK_NUM = “P1”

#SD #eMMC #Rootfs