Rootfs Size Increasing on Avenger96
Hi,
I'm using Avenger96 Board using Build-Sytem through Yocto.
I want to increase Rootfs Partition Size to 2Gb.
Changes done so far:
1)Edited /meta-st/meta-st-stm32mp/conf/machine/include/st-machine-common-stm32mp.inc
--ROOTFS_PARTITION_SIZE = "2097152"
--IMAGE_ROOTFS_MAXSIZE ?= "2097152"I built the image,then while making "flashlayout_av96 weston_FlashLayout_sdcard_stm32mp157a-av96-trusted.raw" file
using the script "./scripts/create_sdcard_from_flashlayout.sh"
I'm facing Space Issue ,logs shown below
root@VM147:stm32mp1-av96# ./scripts/create_sdcard_from_flashlayout.sh flashlayout_av96-weston/FlashLayout_sdcard_stm32mp157a-av96-trusted.tsv
[WARNING]: A previous raw image are present on this directory
[WARNING]: flashlayout_av96-weston/../flashlayout_av96-weston_FlashLayout_sdcard_stm32mp157a-av96-trusted.raw
[WARNING]: would you like to erase it: [Y/n]
y
Create Raw empty image: flashlayout_av96-weston/../flashlayout_av96-weston_FlashLayout_sdcard_stm32mp157a-av96-trusted.raw of 1536MB
Create partition table:
[CREATED] part 1: fsbl1 [partition size 256.0 KiB]
[CREATED] part 2: fsbl2 [partition size 256.0 KiB]
[CREATED] part 3: ssbl [partition size 1024.0 KiB]
[CREATED] part 4: bootfs [partition size 64.0 MiB]
[CREATED] part 5: vendorfs [partition size 16.0 MiB]
[WARNING]: IMAGE TOO BIG [rootfs:av96-weston-openstlinux-weston-stm32mp1-av96.ext4 2140129280 B [requested 786874368 B]
[WARNING]: try to move last partition
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[ERROR]: IMAGE TOO BIG [rootfs:av96-weston-openstlinux-weston-stm32mp1-av96.ext4 2040 MB [requested 786874368 B]
[ERROR]: IMAGE + OFFSET of rootfs partition are superior of SDCARD size (1536)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Please let me know ,if i need further modifications or somethings i'm missing at my end
Thanks,
kaushendra
