第九章 Flash分区的调整
通过修改 project/image/configs/i2m/spinand.ubifs.p2.partition.config 来配置各个分区的大小,但需要注意总分区大小不要超过Flash的容量。
rootfs$(RESOUCE) = $(OUTPUTDIR)/rootfs
rootfs$(FSTYPE) = ubifs
rootfs$(PATSIZE) = 0xA00000
rootfs$(BOOTENV) = console=ttyS0,115200 ubi.mtd=UBI,2048 root=ubi:rootfs ro rootfstype=ubifs init=/linuxrc rootwait=1
miservice$(RESOUCE) = $(OUTPUTDIR)/miservice/config
miservice$(FSTYPE) = ubifs
miservice$(PATSIZE) = 0xA00000
miservice$(MOUNTTG) = /config
miservice$(MOUNTPT) = ubi0:miservice
miservice$(OPTIONS) = rw
miservice$(OTABLK) = /dev/ubi0_1
customer$(RESOUCE) = $(OUTPUTDIR)/customer
customer$(FSTYPE) = ubifs
customer$(PATSIZE) = 0x5100000
customer$(MOUNTTG) = /customer
customer$(MOUNTPT) = ubi0:customer
customer$(OPTIONS) = rw
customer$(OTABLK) = /dev/ubi0_2
appconfigs$(RESOUCE) = $(OUTPUTDIR)/appconfigs
appconfigs$(FSTYPE) = ubifs
appconfigs$(PATSIZE) = 0x500000
appconfigs$(MOUNTTG) = /appconfigs
appconfigs$(MOUNTPT) = ubi0:appconfigs
appconfigs$(OPTIONS) = rw
appconfigs$(OTABLK) = /dev/ubi0_3
文档更新时间: 2022-04-13 17:22 作者:Aeeditor