20220517关闭MT6765的android8.1系统的efuse分区
1、使用SP_Flash_Tool_v5.2052_Win给MT6765刷机的时候,习惯性的将刷机模式从“下载”切换到“全部格式化和下载”!
结果提示错误:
Smart Phone Flash Tool
Partition [efuse] No image file Exist!
OK
2、临时解决方法:
将MT6765_Android_scatter.txt总的efuse分区关闭掉,或者直接拿掉这一区域的代码!
- partition_index: SYS15
partition_name: efuse
file_name: efuse.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0xd500000
physical_start_addr: 0xd500000
partition_size: 0x80000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00
修改为:
- partition_index: SYS15
partition_name: efuse
file_name: efuse.img
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xd500000
physical_start_addr: 0xd500000
partition_size: 0x80000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00
3、不想每一次刷机都改来改去!
找了好久,终于确认是这里:
M:\mt6765o1\device\mediatek\build\build\tools\ptgen\MT6765\ptgen.pl
#Chenyee <CY_BSP_EFUSE> <chendonghai> add efuse partition for all(CSW1707A-13) begin
#if ($partition_layout_process[$partition_idx]->{Partition_Name} eq "efuse")
#{
#if ($ArgList{EFUSE_WRITER_SUPPORT} ne "yes")
#{
#splice @partition_layout_process, $partition_idx, 1;
#$partition_idx--;
#}
#}
#Chenyee <CY_BSP_EFUSE> <chendonghai> add efuse partition for all(CSW1707A-13) end
修改为:
#Chenyee <CY_BSP_EFUSE> <chendonghai> add efuse partition for all(CSW1707A-13) begin
if ($partition_layout_process[$partition_idx]->{Partition_Name} eq "efuse")
{
if ($ArgList{EFUSE_WRITER_SUPPORT} ne "yes")
{
splice @partition_layout_process, $partition_idx, 1;
$partition_idx--;
}
}
#Chenyee <CY_BSP_EFUSE> <chendonghai> add efuse partition for all(CSW1707A-13) end
将#号注释拿掉,刷机的时候,就没有讨厌的efuse分区的问题了!