Android Deep Explore (Vol. 1) HAL with Driver Development Chapter I Android system porting and Driver Development Overview reading notes

Source: Internet
Author: User

Android Deep Exploration ( volume 1) HAL with Drive Development Chapter I Android system porting and driving development Overview reading notes

This chapter isAndroidsystem porting and Driver development Overview of the specific explanation. First,Androidis divided into four layers of architecture. At the bottom of it isLinuxkernel. And then, respectively,C + +code Base,Android SDK Aand applications. andAndroidtransplantation is also divided into system transplantation and application transplantation. System porting to implementAndroidoperating systems run on other hardware platforms, the key isLinuxthe kernel. The kernel must complete the identification of the various hardware running on the platform. So it's necessaryLinux-driven porting. andHAL(the hardware abstraction layer) separates applications and drivers as an intermediate layer of isolation. It isAndroidunique in the.

The kernel porting of Linux is the driver porting. Drivers of different kernel versions are not generic. In the book I learned how to view the Linux kernel version of the command:

Uname-a

Or

Cat/proc/version

and Gnuc is a common C language compiling environment. Also need me to study.

The generation of Linux device drivers is due to the fact that the first operation of the hardware is done directly by the specific application. This results in a high coupling between the hardware and the application. Device drivers appear for ease of use. The devices are divided into three categories: block devices, character devices, and network devices.

Blog Park Address: http://home.cnblogs.com/u/sxauzzz/

Android Deep Exploration (Volume 1) HAL and Driver Development Chapter  android system porting and driving development Overview 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.