Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter I Summary

Source: Internet
Author: User

AndroidSystem in -of global market share .81.6%, and has been growing in recent years, walking on the streets, everywhere the Android phone, no doubt, Android has become the current smartphone operating system boss. When we want to figure outAndroiddriving development, in fact, is learningLinuxdrive the development process, but Android adds aHAL, this isAndroidpeculiar to. GoogleThere are many reasons for this design, for example, becauseLinuxkernel based onCPLOpen Source protocol, and many drivers do not want to open their sources, so increaseHALlayer, you can alreadyLinuxThe driving business logic is placed inHALlayer.

Android 's system architecture is divided into 4 layers. This 4 -tier includes the following:

Layer 1 :linux kernel

Since Android is based on the linux kernel,android and other Linux The core parts of the system vary very little. This layer mainly includes Linux drivers and memory management, process management, power management and other programs.

Layer 2 : code library

Layer 3 :Android SDK API due to android SDK The API is written in the Java language, and this layer can also be called the Java API layer.  

Layer 4 : Applications

Android migration is divided into application porting and system porting, in which the Android operating system is used to run on a particular hardware platform. to make android work on a different hardware platform and only support the CPU structure, you have to let android A variety of hardware that can identify the platform , which is mainly done by the Linux kernel, the protagonist of which is the linux driver.

There are two ways to view Linux system kernel versions:1 uname-a

2 cat/proc/version

Of course, the first chapter also has a lot of knowledge points are not described.

http://home.cnblogs.com/u/zivjeli/

Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter I Summary

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.