Android:展锐分区partition

展锐平台分区大小设定主要是以下两个文件,比如system,vendor,cache等,如设定system:4G vendor:1G product:1G cache:3G

device/sprd/roc1/ud710_2h10/BoardConfig.mk

# ext4 partition layout
BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_VENDOR=vendor
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_BOOTIMAGE_PARTITION_SIZE := 36700160
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 41943040
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 10200547328
BOARD_CACHEIMAGE_PARTITION_SIZE := 10737418240
BOARD_PRODNVIMAGE_PARTITION_SIZE := 10485760
BOARD_USERDATAIMAGE_PARTITION_SIZE := 10737418240
BOARD_DTBIMG_PARTITION_SIZE := 8388608
BOARD_DTBOIMG_PARTITION_SIZE := 8388608
BOARD_FLASH_BLOCK_SIZE := 4096
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_PRODNVIMAGE_FILE_SYSTEM_TYPE := ext4

TARGET_SYSTEMIMAGES_SPARSE_EXT_DISABLED := false
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false
BOARD_PERSISTIMAGE_PARTITION_SIZE := 2097152
TARGET_PRODNVIMAGES_SPARSE_EXT_DISABLED := true
TARGET_CACHEIMAGES_SPARSE_EXT_DISABLED := false
USE_SPRD_SENSOR_HUB := true
BOARD_PRODUCTIMAGE_PARTITION_SIZE :=1073741824
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_PRODUCT=product

BOARD_USERETCIMAGE_PARTITION_SIZE :=52428800
BOARD_USERETCIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_USERETCIMAGES_SPARSE_EXT_DISABLED := true


device/sprd/roc1/ud710_2h10/ud710_2h10.xml

			<Partitions>
				<!-- size unit is MBytes -->
				<Partition id="miscdata" size="5"/>
				<Partition id="misc" size="1"/>
				<Partition id="nr_fixnv1" size="8"/>
				<Partition id="nr_fixnv2" size="8"/>
				<Partition id="prodnv" size="10"/>	
				<Partition id="nr_runtimenv1" size="10"/>
				<Partition id="nr_runtimenv2" size="10"/>	
				<Partition id="recovery" size="40"/>
				<Partition id="trustos" size="6"/>
				<Partition id="trustos_bak" size="6"/>
				<Partition id="sml" size="1"/>
				<Partition id="sml_bak" size="1"/>
				<Partition id="uboot" size="1"/>
				<Partition id="uboot_bak" size="1"/>
				<Partition id="uboot_log" size="4"/>
				<Partition id="logo" size="7"/>
                <Partition id="fbootlogo" size="7"/>
                <Partition id="lowbatterylogo" size="7"/>
				<Partition id="l_pmsys" size="1"/>
				<Partition id="l_agdsp" size="6"/>
				<Partition id="gnssmodem" size="1"/>
				<Partition id="wcnmodem" size="10"/>
				<Partition id="persist"   size="2"/>
				<Partition id="nr_spl" size="1"/>
				<Partition id="nr_sml" size="1"/>
				<Partition id="nr_uboot" size="1"/>
				<Partition id="nr_boot" size="35"/>
				<Partition id="nr_pmsys" size="1"/>
				<Partition id="nr_agdsp" size="6"/>
				<Partition id="nr_modem" size="40"/>
				<Partition id="nr_v3phy" size="8"/>
				<Partition id="nr_nrphy" size="8"/>
				<Partition id="nr_nrdsp1" size="5"/>
				<Partition id="nr_nrdsp2" size="5"/>
				<Partition id="nr_deltanv" size="2"/>
				<Partition id="boot" size="35"/>
				<Partition id="dtb" size="8"/>
				<Partition id="dtbo" size="8"/>
				<Partition id="system" size="4096"/>
				<Partition id="cache" size="3072"/>
				<Partition id="vendor" size="1024"/>
				<Partition id="product" size="1024"/>
				<Partition id="vbmeta" size="1"/>
				<Partition id="vbmeta_bak" size="1"/>
				<Partition id="sysdumpdb" size="10"/>
				<Partition id="userdata" size="0xFFFFFFFF"/>
			</Partitions>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

leezs0614

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值