Android Deep Explore--hal and driver Development----The fourth chapter reading notes

Source: Internet
Author: User

1, download, compile, test the source code

Create the directory where the downloaded files are stored (repo)

Download Repo script file

Create a directory to hold the source code

Start downloading the source code.

2, source code directory meaning summary

ABI Application Binary Interface

Device-related code

External Spread Tool source code

NDK NDK related source code

SDK SDK such as DDMS, Draw9patch, Sdkmannager.

Basic systems for System Android

3. Download part of the source code

Using the Repo Sync command

Using the git clone command

4. Linux Kernel directory Summary

Block: Partial block device Drive

Drivers: Device drivers, each of which consumes a subdirectory, such as char, block, net, MTD, I²c, and so on.

FS: Supports various file systems, such as ext, FAT, NTFS, JFFS2, etc.

Include: header files, System-related header files are placed under the Include/linux subdirectory.

INIT: Kernel initialization code.

IPC: Code for interprocess communication

Kernel: The core of the kernel, including the scheduling of the process, timers, and so on, and some of the peace platform related to the code in the Arch/*/kernel directory.

LIB: library file code.

MM: Memory management code, and part of the platform-related code is placed in the ARCH/*/MM directory.

NET: Network-related code, the realization of a variety of common network protocols.

Scripts: The script file used to configure the kernel.

5, Android Transplant is mainly the Linux kernel transplant, the Linux kernel transplant is mainly Linux4

-Driven porting. So we need to build two sets of environments for Android application development environment and Linux kernel development environment.

http://www.cnblogs.com/caoyutao/

Android Deep Explore--hal and driver Development----The fourth chapter reading notes

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.