MTK平台各种分区和bin/img(线刷包)对应关系和作用说明
?
?
MTK platform partition meaning
Pre-loader
- Pre-loader image
- Handles all the download and secure boot procedure?
- ?DSP Boot Loader
- ?Ext4 file system partition index table
- ?Partition management table
- Stores the hardware related information, such as calibration data, MAC address, IMEI?…?etc
- Reserved for the security platform used
- store SIM LOCK
- backup SIM LOCK
- Partition management table, compared with MBR
- backup of pgpt
- image authentication key for verified boot, not used yet
- Trusted Excution Environment(https://www.trustonic.com/technology/trustzone-and-tee)
- backup of tee1
- ?Second loader image
- Handles most hardware initializations and bring-up entire Linux kernel
- Linux kernel image and it's root file system
- Recovery kernel image and it's?root file system
- Handles all the system recovery and firmware update functionalities
- Reserved for the security platform used
- Used for the recovery procedure (power loss)
- ?Boot-up logo image
- ?Store Exception database
- ?Android system image
- ?For? Android internal used
- ?Store Android internal cache data or web cache data
- Used for Android system to store user data such as user contacts, settings, installed applications?…?etc
- Internal sdcard on emmc
- Otp(one time program) area on emmc
- flash tool download information
- Handles Bad Block Management(nandflash used and reserved on emmc)
- save parameter for recovery
- factory reset for protect , used for stolen phones
- store data in data/nvram/
- a nvram partition, store one struct default, can be added
- For Android M, MD image have switched to MD standalone partition, all modem images will be load from the partition: md1img, md1dsp, md1arm7 and md3img
- system control processor, used for recovery fail
- used for?the case?of update lk throught OTA?fail
- ?store data which will be stable for a long time
- store master key for data encryption
- nvram config, controlled by MTK_NVCONFIG_PARTITION_SUPPORT, not used yet
- customization partition, controlled by MTK_CIP_SUPPORT
- download BB chip's efuse
-
Privacy protection lock,used for mobile phone antitheft
?
MTK平臺(tái)各種分區(qū)和bin/img(線刷包)對(duì)應(yīng)關(guān)系和作用說(shuō)明
碼叔博客 dz2015 2017-09-27 3308 次瀏覽 0個(gè)評(píng)論
分析的平臺(tái)是MTK某手機(jī)設(shè)備,Android 6.0。有一些沒(méi)有可靠資料,是個(gè)人猜測(cè)總結(jié)。
1、sercro-secro.img?
用于安卓系統(tǒng)啟動(dòng)時(shí)的防盜版功能,nodl_secro.bin==secro.img。
2、boot-boot.bin?
kernel+ramdisk。
3、preloader-preloader_產(chǎn)品名稱(chēng).bin?
和芯片密切相關(guān),bootRom加載preloader到ISRAM執(zhí)行。
4、logo-logo.bin?
如果LOGO配置為vga,則為vga_uboot.bmp+vga_kernel.bmp。
5、system-system.img?
安卓文件系統(tǒng),apps目錄下的apk不允許用戶刪除。
6、userdata-userdata.img?
用戶數(shù)據(jù)區(qū),apps目錄下的apk允許用戶刪除。
7、recovery-recovery.img?
ramdisk-recovery.img==recovery.img。
8、lk-lk.bin?
被preloader加載到DRAM后執(zhí)行,有可能是uboot或者其他用于加載內(nèi)核的程序,是否編譯uboot是在ProjectConfig.mk中配置的。
9、lk2-lk.bin?
為什么要兩個(gè)一樣的bootloader分區(qū),還沒(méi)研究明白。
10、tee1-trustzone.bin?
TrustZone,信任區(qū),查到的資料是arm提供的硬件級(jí)別安全解決方案,由芯片廠家實(shí)現(xiàn),移動(dòng)支付等安全性要求高的場(chǎng)合用到。所以tee應(yīng)該是Trusted Execution Environments縮寫(xiě),這個(gè)分區(qū)和TrustZone方案實(shí)現(xiàn)有關(guān)了。
11、tee2--trustzone.bin?
同tee1。
12、cache-cache.bin
?該分區(qū)的文件重啟后被清空。
13、md1img-md1img.img
14、md1dsp-md1dsp.img
15、md1arm7-md1arm7.img
16、md3img-md3rom.img
13到16沒(méi)有找到資料,但是分析/device/mediatek/build/build/tools/modem/modem_Android.mk,這幾個(gè)文件就是/device/mediatek/build/build/tools/modem/下的這幾個(gè)img直接拷貝過(guò)去的。所以這幾個(gè)分區(qū)應(yīng)該是modem有關(guān)分區(qū),燒寫(xiě)這些分區(qū)就是俗稱(chēng)的刷基帶了,md可能是modenm縮寫(xiě)。資料稱(chēng),modem是MTK提供源碼,射頻工程師修改射頻參數(shù)編譯后被整合到android源碼的,所以android源碼中只有modem的img文件了。
總結(jié)
以上是生活随笔為你收集整理的MTK平台各种分区和bin/img(线刷包)对应关系和作用说明的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: ovito在linux下安装教程,lin
- 下一篇: MT6763芯片资料MT6763处理器性