AnsweredAssumed Answered

How to change flash partition size

Question asked by Steven Yu on Apr 14, 2017
Latest reply on Apr 18, 2017 by igorpadykov

Hi,

 

We have built a set of firmware, and use mfg_tool to burn these firmware to NAND flash.

If we include too much modules, then the firmware is too big to put to mtd2 partition (we have confirmed that the total NAND flash size is big enough).

 

=====mfg_tool burn log=====

UTP: sending Success to kernel for command pipe tar -jxv -C /mnt/mtd3.

.....

tar: write error: No space left on device
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008d00

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00008d00

 

 

We have seen below information when booting, and realize mfg_tool make 32MB size for rootfs.

Do you know where we can modify the size of rootfs, and then we can burn firmware via mfg_tool?

 

=====include little modules, and boot up=====

Creating 4 MTD partitions on "gpmi-nand":
0x000000000000-0x000004000000 : "boot"
0x000004000000-0x000005000000 : "kernel"
0x000005000000-0x000006000000 : "dtb"
0x000006000000-0x000008000000 : "rootfs"

 

Regards,

Steven Yu

Outcomes