Chapter One: Android system porting and Driver development overview

Source: Internet
Author: User

1. The process of customizing Android for a specific device is called "porting."

The 2.Android system architecture is divided into:

Tier One: The Linux kernel (mainly includes drivers and programs that manage resources such as memory, process, power, and so on).

Second tier: C + + code base (mainly including Linux, so files and DNK code embedded in the SPK program)

Layer Three: Android SDK API Direct application-oriented Java APK

Layer Fourth: Application layer, Java applications directed towards end users

The 3.Android migration is largely a migration of the Linux kernel. Linux kernel porting is primarily a porting driver.

4. If you want to see the kernel versions of other Linux systems, you can use two methods:

Method one: In terminal execution: uname-a

Method Two: In terminal execution: cat/proc/version

5.prod is an image of the system kernel, where the files are stored in memory, and he provides an interface for accessing system kernel data in a file system manner.

The 6.Linux kernel version number consists of the following parts:

Major version number, minor version number, revision number, fine-tuning version number, and special tuning for specific Linux systems.

7. Drivers are a class of programs that interact directly with the hardware and are responsible for abstracting the hardware.

The 8.Linux divides memory and peripherals into 3 categories:

1. Character devices: Devices that must be accessed in serial order

2. Block devices: can be accessed in any order, for the operation of units.

3. Network equipment.

9.HAL is unique to Android. It is not required by Android.

Chapter One: Android system porting and Driver development overview

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.