Android System porting

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.