Chapter I. Android Overview of System porting and driver development
Experience
By learning Android Deep Exploration (Vol. 1) HAL and Driver development of the first chapter of Android system porting and driver development, I have a holistic and systematic grasp of the concept of Android drive development and porting. In this chapter I learned a little bit about the knowledge
The system architecture of 1.Android is divided into Linux kernel, C + + code library, Android SDK API, Application layer four.
It focuses on the first layer of the Linux kernel. This layer mainly includes Linux drivers and memory management, process management, power management and other programs.
2. Android porting can be divided into application porting and system porting. Application porting refers to porting an application to a specific hardware platform. System porting refers to having the Android operating system run on a particular hardware platform (the first condition is that the operating system supports the CPU architecture of the hardware platform). The primary task of the system porting is to migrate the Linux driver and HAL (Hardware Abstraction Layer: The hardware abstraction level between the application and the driver).
3. The Linux kernel mainly maintains the Linux2.4, Linux2.6, linux3.x three versions.
Linux2.4 and Linux2.6 two ways to view versions: A.uname-a b.cat/proc/version.
linux3.x View version: Device--about phone.
4. Linux kernel version definition:
Example: 2.6.29.7-FLYKEMEL-12A 2 is the main version number, the 6 is the minor version number, 29 is the revision number, 7 is the fine-tuning version number, flykemel-12a for the Flykemel adjustment.
5. Linux divides the memory and peripherals into three categories, namely the character device (Character devices), the block devices, and the network devices.
6. File system Operation excuse: open, close, read, write and other functions.
7. Linux driver: LED.
This section is a simple introduction to Android and Linux drivers, and yes our team Linux drivers have a perceptual knowledge and lay the groundwork for a better learning of Linux-driven methods and techniques.
http://www.cnblogs.com/yun123456/
Chapter One overview of Android system porting and driver development experience