Chapter One overview of Android system porting and driver development experience

Source: Internet
Author: User

Chapter I. Android Overview of System porting and driver development

Experience

By learning Android Deep Exploration (Vol. 1) HAL and Driver development of the first chapter of Android system porting and driver development, I have a holistic and systematic grasp of the concept of Android drive development and porting. In this chapter I learned a little bit about the knowledge

The system architecture of 1.Android is divided into Linux kernel, C + + code library, Android SDK API, Application layer four.

It focuses on the first layer of the Linux kernel. This layer mainly includes Linux drivers and memory management, process management, power management and other programs.

2. Android porting can be divided into application porting and system porting. Application porting refers to porting an application to a specific hardware platform. System porting refers to having the Android operating system run on a particular hardware platform (the first condition is that the operating system supports the CPU architecture of the hardware platform). The primary task of the system porting is to migrate the Linux driver and HAL (Hardware Abstraction Layer: The hardware abstraction level between the application and the driver).

3. The Linux kernel mainly maintains the Linux2.4, Linux2.6, linux3.x three versions.

Linux2.4 and Linux2.6 two ways to view versions: A.uname-a b.cat/proc/version.

linux3.x View version: Device--about phone.

4. Linux kernel version definition:

Example: 2.6.29.7-FLYKEMEL-12A 2 is the main version number, the 6 is the minor version number, 29 is the revision number, 7 is the fine-tuning version number, flykemel-12a for the Flykemel adjustment.

5. Linux divides the memory and peripherals into three categories, namely the character device (Character devices), the block devices, and the network devices.

6. File system Operation excuse: open, close, read, write and other functions.

7. Linux driver: LED.

This section is a simple introduction to Android and Linux drivers, and yes our team Linux drivers have a perceptual knowledge and lay the groundwork for a better learning of Linux-driven methods and techniques.

http://www.cnblogs.com/yun123456/

Chapter One overview of Android system porting and driver development experience

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.