高通平台编译时将镜像拆分sparse

diff --git a/vendor/qcom/proprietary/tools/ext4_sparse/rawprogram0.xml b/vendor/qcom/proprietary/tools/ext4_sparse/rawprogram0.xml
index 3737515..58f783a 100644
--- a/vendor/qcom/proprietary/tools/ext4_sparse/rawprogram0.xml
+++ b/vendor/qcom/proprietary/tools/ext4_sparse/rawprogram0.xml
@@ -27,7 +27,7 @@
   <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="devinfo" num_partition_sectors="2048" physical_partition_number="0" size_in_KB="1024.0" sparse="true" start_byte_hex="0x20200000" start_sector="1052672"/>
   <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="system.img" label="system" num_partition_sectors="6291456" physical_partition_number="0" size_in_KB="3145728.0" sparse="true" start_byte_hex="0x20300000" start_sector="1054720"/>
   <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cache.img" label="cache" num_partition_sectors="524288" physical_partition_number="0" size_in_KB="262144.0" sparse="true" start_byte_hex="0xe4000000" start_sector="7471104"/>
-  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="persist" num_partition_sectors="2097152" physical_partition_number="0" size_in_KB="1048576.0" sparse="false" start_byte_hex="0xf4000000" start_sector="7995392"/>
+  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="persist.img" label="persist" num_partition_sectors="2097152" physical_partition_number="0" size_in_KB="1048576.0" sparse="true" start_byte_hex="0xf4000000" start_sector="7995392"/>
   <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="misc" num_partition_sectors="2048" physical_partition_number="0" size_in_KB="1024.0" sparse="false" start_byte_hex="0x134100000" start_sector="10094592"/>
   <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="keystore" num_partition_sectors="1024" physical_partition_number="0" size_in_KB="512.0" sparse="false" start_byte_hex="0x134200000" start_sector="10096640"/>

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值