Android is a Linux-based operating system, the underlying Linux kernel layer (Linux2.6, Linux3.4 and so on), Android uses the Linux operating system's kernel and driver, which drives part of the Linux device driver, Android also added a dedicated driver (such as binder for interprocess communication). Before learning to drive, you must first understand the Linux kernel and then explore the way it runs.
Android system porting is running a specific Android operating system on a particular platform, so specific Linux drivers are required to enable the Linux kernel to support Android to identify different hardware platforms.
Linux driver development must have a real operating system and build a Linux-driven development environment and test Linux drivers under this system. For a better test of Linux drivers, you can test the driver to run correctly on the Android-enabled Development Board. Then, practicing continuously, countless practices can help drive development with greater experience.
The drives are targeted at memory and peripherals, including internal CPU-integrated memory and peripherals, and are mainly divided into: character devices, block devices, network devices.
For example, the C language is used to control the 4 LEDs on the s3c6410 Development Board. It belongs to the device driver, and in the LED driver code involves many of the system's functions and structures.
Android system porting and driver development