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平臺各種分區和bin/img(線刷包)對應關系和作用說明
碼叔博客 dz2015 2017-09-27 3308 次瀏覽 0個評論
分析的平臺是MTK某手機設備,Android 6.0。有一些沒有可靠資料,是個人猜測總結。
1、sercro-secro.img?
用于安卓系統啟動時的防盜版功能,nodl_secro.bin==secro.img。
2、boot-boot.bin?
kernel+ramdisk。
3、preloader-preloader_產品名稱.bin?
和芯片密切相關,bootRom加載preloader到ISRAM執行。
4、logo-logo.bin?
如果LOGO配置為vga,則為vga_uboot.bmp+vga_kernel.bmp。
5、system-system.img?
安卓文件系統,apps目錄下的apk不允許用戶刪除。
6、userdata-userdata.img?
用戶數據區,apps目錄下的apk允許用戶刪除。
7、recovery-recovery.img?
ramdisk-recovery.img==recovery.img。
8、lk-lk.bin?
被preloader加載到DRAM后執行,有可能是uboot或者其他用于加載內核的程序,是否編譯uboot是在ProjectConfig.mk中配置的。
9、lk2-lk.bin?
為什么要兩個一樣的bootloader分區,還沒研究明白。
10、tee1-trustzone.bin?
TrustZone,信任區,查到的資料是arm提供的硬件級別安全解決方案,由芯片廠家實現,移動支付等安全性要求高的場合用到。所以tee應該是Trusted Execution Environments縮寫,這個分區和TrustZone方案實現有關了。
11、tee2--trustzone.bin?
同tee1。
12、cache-cache.bin
?該分區的文件重啟后被清空。
13、md1img-md1img.img
14、md1dsp-md1dsp.img
15、md1arm7-md1arm7.img
16、md3img-md3rom.img
13到16沒有找到資料,但是分析/device/mediatek/build/build/tools/modem/modem_Android.mk,這幾個文件就是/device/mediatek/build/build/tools/modem/下的這幾個img直接拷貝過去的。所以這幾個分區應該是modem有關分區,燒寫這些分區就是俗稱的刷基帶了,md可能是modenm縮寫。資料稱,modem是MTK提供源碼,射頻工程師修改射頻參數編譯后被整合到android源碼的,所以android源碼中只有modem的img文件了。
總結
以上是生活随笔為你收集整理的MTK平台各种分区和bin/img(线刷包)对应关系和作用说明的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ovito在linux下安装教程,lin
- 下一篇: MT6763芯片资料MT6763处理器性