Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

question about mtk partitions #54

@ranshalit

Description

@ranshalit

Hi,

Thanks for the useful partition informations.
I would like please to ask if I may:
I see different start address in system.img between the scater_gather.txt of mtk file (0x4340000 in the mtk file) (see below) , to the info in cat /proc/dumchar_info , which shows 0x3740000. Which one is correct ?

C:\Users\ransh>adb shell
shell@w812a_kk:/ $ su
root@w812a_kk:/ # cat /proc/dumchar_info
Part_Name Size StartAddr Type MapTo
preloader 0x0000000000c00000 0x0000000000000000 2 /dev/misc-sd
mbr 0x0000000000080000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x0000000000080000 0x0000000000080000 2 /dev/block/mmcblk0p1
pro_info 0x0000000000300000 0x0000000000100000 2 /dev/block/mmcblk0
nvram 0x0000000000500000 0x0000000000400000 2 /dev/block/mmcblk0
protect_f 0x0000000000a00000 0x0000000000900000 2 /dev/block/mmcblk0p2
protect_s 0x0000000000a00000 0x0000000001300000 2 /dev/block/mmcblk0p3
seccfg 0x0000000000020000 0x0000000001d00000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000001d20000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x0000000001d80000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000002380000 2 /dev/block/mmcblk0
sec_ro 0x0000000000040000 0x0000000002980000 2 /dev/block/mmcblk0
misc 0x0000000000080000 0x00000000029c0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000002a40000 2 /dev/block/mmcblk0
expdb 0x0000000000a00000 0x0000000002d40000 2 /dev/block/mmcblk0
android 0x0000000035200000 0x0000000003740000 2 /dev/block/mmcblk0p4
cache 0x0000000008000000 0x0000000038940000 2 /dev/block/mmcblk0p5
usrdata 0x0000000028000000 0x0000000040940000 2 /dev/block/mmcblk0p6
fat 0x000000007f1c0000 0x0000000068940000 2 /dev/block/mmcblk0p7
bmtpool 0x0000000001500000 0x00000000ff3f00a8 2 /dev/block/mmcblk0

############################################################################################################

General Setting

############################################################################################################

  • general: MTK_PLATFORM_CFG
    info:
    • config_version: V1.1.1
      platform: MT6572
      project: w812a_kk
      storage: EMMC
      boot_channel: MSDC_0
      block_size: 0x20000
      ############################################################################################################

Layout Setting

############################################################################################################

  • partition_index: SYS0
    partition_name: PRELOADER
    file_name: preloader_w812a_kk.bin
    is_download: true
    type: SV5_BL_BIN
    linear_start_addr: 0x0
    physical_start_addr: 0x0
    partition_size: 0xc00000
    region: EMMC_BOOT_1
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: BOOTLOADERS
    reserve: 0x00

  • partition_index: SYS1
    partition_name: MBR
    file_name: MBR
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0xc00000
    physical_start_addr: 0x0
    partition_size: 0x80000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS2
    partition_name: EBR1
    file_name: EBR1
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0xc80000
    physical_start_addr: 0x0
    partition_size: 0x80000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS3
    partition_name: PRO_INFO
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0xd00000
    physical_start_addr: 0x0
    partition_size: 0x300000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: PROTECTED
    reserve: 0x00

  • partition_index: SYS4
    partition_name: NVRAM
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x1000000
    physical_start_addr: 0x0
    partition_size: 0x500000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: BINREGION
    reserve: 0x00

  • partition_index: SYS5
    partition_name: PROTECT_F
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x1500000
    physical_start_addr: 0x0
    partition_size: 0xa00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: PROTECTED
    reserve: 0x00

  • partition_index: SYS6
    partition_name: PROTECT_S
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x1f00000
    physical_start_addr: 0x0
    partition_size: 0xa00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: PROTECTED
    reserve: 0x00

  • partition_index: SYS7
    partition_name: SECCFG
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x2900000
    physical_start_addr: 0x0
    partition_size: 0x20000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS8
    partition_name: UBOOT
    file_name: lk.bin
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x2920000
    physical_start_addr: 0x0
    partition_size: 0x60000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS9
    partition_name: BOOTIMG
    file_name: boot.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x2980000
    physical_start_addr: 0x0
    partition_size: 0x600000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS10
    partition_name: RECOVERY
    file_name: recovery.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x2f80000
    physical_start_addr: 0x0
    partition_size: 0x600000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS11
    partition_name: SEC_RO
    file_name: secro.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x3580000
    physical_start_addr: 0x0
    partition_size: 0x40000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS12
    partition_name: MISC
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x35c0000
    physical_start_addr: 0x0
    partition_size: 0x80000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS13
    partition_name: LOGO
    file_name: logo.bin
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x3640000
    physical_start_addr: 0x0
    partition_size: 0x300000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS14
    partition_name: EXPDB
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x3940000
    physical_start_addr: 0x0
    partition_size: 0xa00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS15
    partition_name: ANDROID
    file_name: system.img
    is_download: true
    type: YAFFS_IMG
    linear_start_addr: 0x4340000
    physical_start_addr: 0x0
    partition_size: 0x35200000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS16
    partition_name: CACHE
    file_name: cache.img
    is_download: true
    type: YAFFS_IMG
    linear_start_addr: 0x39540000
    physical_start_addr: 0x0
    partition_size: 0x8000000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS17
    partition_name: USRDATA
    file_name: userdata.img
    is_download: true
    type: YAFFS_IMG
    linear_start_addr: 0x41540000
    physical_start_addr: 0x0
    partition_size: 0x28000000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS18
    partition_name: FAT
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x69540000
    physical_start_addr: 0x0
    partition_size: 0x0
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS19
    partition_name: BMTPOOL
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0xFFFF00a8
    physical_start_addr: 0x0
    partition_size: 0x1500000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: false
    is_reserved: true
    operation_type: RESERVED
    reserve: 0x00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions