Android Deep Explore--hal and Driver Development----Chapter One reading notes

Source: Internet
Author: User

1.1 Android has a very complete system architecture that can be divided into four layers:

First layer: Linux kernel. Includes drivers and programs that manage memory, process, power, and other resources

The second layer: C + + code base. Mainly includes the Linux. So file and the NDK code embedded in the APK program

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

Layer Fourth: Application. Java applications that target end users directly

1.2 The main work of Android system porting

Android porting can be divided into two parts: application porting and system porting. (This book does not introduce much to the transplant)

The main work of Android porting includes porting the Linux driver and porting the HAL. (The porting process will be completed by the Linux kernel)

Android migration is largely a Linux kernel migration.

1.3 Viewing the Linux kernel version

The Linux kernel maintains another 3 versions of Linux2.4, Linux2.6, and Linux 3.x.

There are two ways to view the kernel version of the Linux system:

(1)) the Linux terminal line commands the following: Uname-a

(2) Execute the following command on the Linux terminal: cat/proc/version

1.6 Linux memory and peripherals are divided into 3 categories

Character devices, block devices, network devices

Summary: Learn the Android Drive development is learning the development of Linux drive, through this chapter learning is I have a general understanding of the development of Linux, in the course of learning, I learned from the previous lesson in the knowledge and access to information about the meaning of some professional words, It lays the foundation for better learning of Android Drive development in the future.

http://www.cnblogs.com/lhczln/

Android Deep Explore--hal and Driver Development----Chapter One reading notes

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.