This chapter first introduces us to theAndroidsystem architecture, which is very important and also very basic knowledge. Androidsystem architecture is like the various sections of a house, each plate is indispensable. The first layer ofLinuxThe kernel is like an engine that drives the entireAndroidof rotation and operation. and the second layer ofC + +The code base is the first level of connectivity andAndroidend of the bridge. The final application layer is mostly a variety ofAPPup. Androidsystem architecture is the most important part of this chapter. In addition, he briefly introduced a hardware application layer, which is ourHALup. Because of ourHAl, we haveAndroidthe transplant will become very simple. There is also the development and use of device-driven. This is what we learnAndroid's purpose and outlook. A driver is a kind of program that interacts directly with hardware and is responsible for abstracting the hardware. This, of course, involves another area, the driver engineer. In addition, the classification and characteristics of the equipment are simply introduced. It is mainly divided into character devices, block devices and network devices. These devices are designed to make it easier to drive and link between devices. This section alsoLEDThe driver for the light is a simple introduction to driver development. Besides, what we can't forget isLinuxThe version number of the kernel. Readers can know each version of the kernel according to the kernel's number.
Android system porting and Driver development overview