Page 1 of 1

FAQ_MA35D1_Resize Rootfs for Buildroot

Posted: 05 Dec 2022, 13:28
by yhcheng3
Question :

How to Modify Root Fils System Size for Buildroot ?


Answer.

The compiler prompts that R2_TARGET_ROOTFS_EXT2_SIZE is not enough when you open the QT5 or DriectFB configuration options.

Refer to MA35D1_Buildroot/configs/numaker_som_ma35d16a81_defconfig, that default value of buildroot is 240M.

There are three solutions:
  1. modify BR2_TARGET_ROOTFS_EXT2_SIZE value in “.config” before run the make command.

    Code: Select all

    make
  2. modify BR2_TARGET_ROOTFS_EXT2_SIZE value of MA35D1_Buildroot/configs/numaker_som_ma35d16a81_defconfig before update “.config” and run the make command.

    Code: Select all

    make
  3. modify exact size by the “make menuconfig” command as follows and run the make command. (Refer to Figure 1)

    Code: Select all

    make menuconfig 
    make
    figure1.png
    Exact size in menuconfig
    figure1.png (83.22 KiB) Viewed 3269 times





#MA35D1, #buildroot, #rootfs size #RootFileSystem #rootfs
.