doc:appunti:hardware:android_partitions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:hardware:android_partitions [2020/01/17 12:24] – [The Scatter File] niccolo | doc:appunti:hardware:android_partitions [2020/01/17 12:37] – [The Scatter File] niccolo | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== The Scatter File ===== | ===== The Scatter File ===== | ||
- | A Scatter File is a .txt file which is used to describe **parts of flash memory** in an Android device which is running on a MediaTek’s | + | A Scatter File is a .txt file which is used to describe **parts of flash memory** in an Android device which is running on a MediaTek’s |
+ | Here it is an **excerpt** of a scatter file, showing **where** to **flash** or **readback** the **recovery partition**: | ||
+ | < | ||
+ | - partition_index: | ||
+ | partition_name: | ||
+ | file_name: recovery.img | ||
+ | is_download: | ||
+ | type: NORMAL_ROM | ||
+ | linear_start_addr: | ||
+ | physical_start_addr: | ||
+ | partition_size: | ||
+ | region: EMMC_USER | ||
+ | storage: HW_STORAGE_EMMC | ||
+ | boundary_check: | ||
+ | is_reserved: | ||
+ | operation_type: | ||
+ | reserve: 0x00 | ||
+ | </ | ||
+ | |||
+ | The most important data is **linear_start_addr** and **physical_start_addr** (which are always the same, or not?) that states the starting point of that partition into the flash memory, and **partition_size** which is obviously its lenght. | ||
+ | |||
+ | The **SP Flash Tool** program - when performing a // | ||
===== EMMC Regions ===== | ===== EMMC Regions ===== | ||