Android system porting and Driver development overview

Source: Internet
Author: User

Through the first chapter of the study, I learned a lot.Androidis a very good operating system,AndroidThe system architecture is divided into four tiers, respectively:LinuxKernel,c,c++code Base,Android SDK APIand applications. What we have to learnanrroidsystem porting is divided into two parts, application porting and system porting. But we're focusing on this part of the system transplant,AndroidThe primary work of the transplant is migration.LinuxDrive and TransplantHAL,HALmeans thatAndroidthe newly added hardware abstraction layer. From the book, we still know.AndroidThe basic principle of transplantation is to find the driver andHALsource code, it is easier than starting from scratch. AndroidThe transplant is, to a large extent,Linuxporting of the kernel,Linuxkernel porting is primarily a driver transplant, with differentLinuxversion of the driver is not universal, so we need to knowLinuxat present there are mainly3versions,2.4;2.6;3.x,LinuxThe kernel version is divided into: Major version number; minor version number; fine-tuned version number; for a specificLinuxthe system is specially tuned for description. Having learned some basic knowledge, we should begin to learnLinuxDrive development, in the course of learning and development, we must masterGUN CThis technology, also need to learn to drive related hardware knowledge, but also need to prepare the development Board, the most important thing is that we have to seriously learn this knowledge, and constantly practice. And I know.Linuxdevice drivers include character devices, block devices, network devices. and watched aLEDThe core code of the relevant driver, let me more interested in this course, let me know that the course of study must continue to practice and practice, in order to succeed.

Android system porting and Driver development overview

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.