1. To run Android on your device, you must develop specific software for your device, which is called "porting" to a specific device that customizes Android.
The 2.Android system architecture is divided into: the bottom Linux kernel, and other Linux systems are very small differences, the next layer is the C/S code base, and the next layer is the Android SDK API, this layer is written in Java library; The top is the application, All users of this layer are exposed to all Android apps.
3.Android migration is divided into application porting and system porting, the main work is porting the Linux driver and porting HAL (Hardware abstraction layer, the Android SDK directly accesses the Linux driver through the HAL, the application cannot directly access the driver).
4. Enter the uname-a or cat/proc/version command in the terminal to view the kernel version.
5. The drive targets the memory and peripherals into three major classes of:1> character devices 2> block devices 3> network devices.
6. Any Linux driver has a load function and an unload function, which can be specified by Mobule_init and mobule_exit macros, respectively.
Learning about Linux drives is not related to Linux systems, but only to the Linux kernel. As long as the kernel is the same, the driver can be used directly. Read the first chapter, re-understand the Android system porting and drive development of the overall impression, so that I learn more direction. The kernel used by Android adds a HAL. Learning to drive development can customize their own equipment, self-help to achieve home electric lights such as automation and mobile phone control functions, think let people excited.
Chapter One overview of Android system porting and driver development notes