FAQ_MA35_Family_SD eMMC Rootfs Size

Post Reply
ytliu6
Posts: 95
Joined: 08 Nov 2022, 10:28

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

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests