2022-05-17關(guān)閉MT6765的android8.1系統(tǒng)的efuse分區(qū)

20220517關(guān)閉MT6765的android8.1系統(tǒng)的efuse分區(qū)


1、使用SP_Flash_Tool_v5.2052_Win給MT6765刷機(jī)的時候,習(xí)慣性的將刷機(jī)模式從“下載”切換到“全部格式化和下載”!

結(jié)果提示錯誤:

Smart Phone Flash Tool

Partition [efuse] No image file Exist!

OK



2、臨時解決方法:

將MT6765_Android_scatter.txt總的efuse分區(qū)關(guān)閉掉,或者直接拿掉這一區(qū)域的代碼!

- 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、不想每一次刷機(jī)都改來改去!

找了好久,終于確認(rèn)是這里:

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

將#號注釋拿掉,刷機(jī)的時候,就沒有討厭的efuse分區(qū)的問題了!

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容