Android System custom--download Android systems and loading system image files

Source: Internet
Author: User

Customize the Android System (configuration and image files of the relevant system), for reference: driver_all_in_one_v1.0--mt6735_6753.pdf documentation, specifically the download section.

The corresponding software is: Smart Phone Flash Tool, usually in the download section of the menu bar to select the operation.

Download-agent (Download agent): Select \ Upgrade firmware and upgrade firmware tool \sp_flash_tool_exe_windows_v5.1536.00.000 file (usually not special selection, use the default)

Scatter-loading File (partition Loading): MT6735 in \\s4.y\jenkins_share_2T\debug\k86s7_KST-T5\S1.00\KST-T5_H3.1_S1.k86s7.00 directory _android_scatter.txt file

Choose Download Type: Three options, Format all + download,firmware Upgrade (firmware update), Download only; the second Firmware Upgrade is generally selected by default.

scatter-loading file distributed loading is a mechanism provided by ARM connectors that separates an executable image file (that is, a. bin file) into different separate segments of memory. The following analysis Mt6735_android_scatter.txt file contents:

Partition_index:sys0

linear_start_addr:0x0 physical_start_addr:0x0 partition_size:0x40000 region:emmc_boot_1

Partition_index:sys1

linear_start_addr:0x0 physical_start_addr:0x0 partition_size:0x80000 Region:emmc_user

Partition_index:sys2

linear_start_addr:0x80000 physical_start_addr:0x80000 partition_size:0x300000 Region:emmc_user

Partition_index:sys3

linear_start_addr:0x380000 physical_start_addr:0x380000 partition_size:0x500000 Region:emmc_user

Wait a minute.

Firmware firmware refers to the program written in Erom (Erasable read-only memory) and EEPROM (electrically erasable programmable read-only memory) (hardware upgrades, mainly storage hardware upgrades, resulting in the ability to repeat the brush write, allowing firmware to be modified and upgraded), which is the device "driver Through the firmware, the operating system is able to perform the operation of a particular machine according to the standard device driver.

The firmware acts as the most basic and lowest-level software work (or nerve center) of a system, such as BIOS basic input and output system. In hardware devices, firmware is the soul of a hardware device, because some hardware devices have no software other than the firmware, so the firmware determines the functionality and performance of the hardware device.

Image download Process

The files that need to be imported into the system include the following sections:

The types of these files are as follows:

In MPCore, each arm's processor begins with the memory location of 0x00000000, usually we can have two methods to provide the startup code: 1. NOR flash;2. Boot Rom, but nor flash storage costs are high. Each MTK BBC has a boot ROM embedded to store the simple startup program. The internal boot ROM is selected if the boot pin is pulled down at reset. The Boot ROM contains a small program that is downloaded via the serial port, which can be used for download or factory testing.

By default, the Boot ROM responds to its processing based on the data received. The communication between the Boot ROM and host has a handshake protocol. The following commands are supported by the boot ROM:

System Startup process:

Image loading Process:

Android System custom--download Android systems and loading system image files

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.