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