Android Drive Development (i)

Source: Internet
Author: User

Android is based on Linux, with different versions of Linux as the kernel, but linux2.6 is currently the most widely used version of the Linux kernel, while Android More than 4 of the use of linux3.0 version, when the two devices Android version is different but the Linux kernel version, regardless of HAL and Linux driver compatibility issues, theoretically can be replaced by the Linux kernel,

Wirelessly is divided into 4 tiers, namely the Linux kernel, c/S code base, Android SDK API, application. The transplant of the Android system is the transplant of the application and the system. Application porting refers to porting the fourth tier of applications to a specific hardware platform. Due to the differences between the Android SDK APIs, different vendors will modify the SDK API. It is important that the Android application porting does not involve the drive and HAL libraries, so understanding is possible.

Android's system porting refers to having the Android system run on a particular hardware platform. In order to meet this requirement, it is necessary to satisfy the CPU architecture of the system to support the hardware platform first. Secondly, the system can be used to identify various hardware on the platform, such as sound cards, network cards and other hardware. These hardware are identified and run because of hardware drivers, which are present in the Linux kernel. (This is also the main work of embedded programming, those drivers can be ported to use, can not be used to modify or even rewrite)

Another thing to do in an Android transplant is to port or rewrite HAL.

Android Drive Development (i)

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.