Android System porting
This chapter describes the Android kernel structure and device drivers, Android kernel basic configuration, Android kernel compilation and DMA-210XP platform Android file system burn-write process.
According to the Android system architecture diagram, the Android software hierarchy is divided from four levels: Operating system layer (OS), various function libraries (Libraries), Android Runtime (runtime) and application framework, and applications, Where the operating system uses Linux. The kernel structure of the Android system and the standard Linux2.6 kernel are basically the same, the Android system is relatively standard Linux kernel, the increase is mainly some drivers, such as shared memory, interprocess communication and other device drivers.
The Android kernel structure and the standard Linux kernel are not much different, basically maintaining the basic architecture provided by the original Linux Nehe open source area. It contains the various file directories that the system kernel dominates. The Android system not only has its own local device drivers, but also uses some of the standard device drivers in Linux, including framebuffer drivers, keyboard drivers, NAND flash drivers, and more.
Android Kernel basic configuration: The main menu category of Android kernel configuration, "System type" option: System type configuration, "Kemel Features" option: System kernel parameter configuration, "Device Drivers" option: Equipment driver.
After understanding the Android kernel architecture and its basic configuration, it's time to learn how to compile the Android kernel source code. Android kernel makefile files, unzip the Android kernel source code, compile the Android kernel.
DMA-210XP platform Android file system burn Write, burn write u-boot to NAND Flash, burn write zimage kernel image file, burn write Ramdisk-uboot. IMG image file, burn write Android system.img file, burn write Android userdata.img file, start Android system, TF card automatically update kernel and Android system files.
Android System porting