This chapter starts with a simple Android framework that describes the Android system framework in 4 tiers, namely the Linux kernel, c/S code base, the Android SDK API, and the application. Then it introduces the main work of the Android system transplant, including the application porting and the system porting two parts. Then look at the Linux kernel version, consisting mainly of 3 versions, the most commonly used is the Linux2.6 version. If you want to see the kernel version of the Linux system in two ways, one is to execute the uname–a command on the Linux terminal, and the second is to execute the cat/proc/version command on the Linux terminal. Then we learned the Linux kernel version number definition rules, a Linux kernel version number by the major version number, the minor version number, revision number, fine-tuning version number and for the specific Linux special tuning part of the description. And only the 5 parts that make up the kernel version number are identical to indicate that the cores of the two Linux systems are the same. Then introduced the Linux device driver, from the device-driven development and role, classification and specific to introduce. Finally, in order to let the scholar understand the Linux driver, introduced the LED, through the simple Linux drive core code to control the Development Board 4 LEDs.
Through this chapter of learning understand that learning Android drive development is actually learning Linux drive development, the difference is that Android adds Hal, which is unique to Android. The general driver will have HAL, but HAL is not required. Then dredge up Android system porting and development.
Blog Park Address: Http://www.cnblogs.com/j-wei
Chapter One overview of Android system porting and driver development