Android Deep Exploration--eighth chapter

Source: Internet
Author: User

In this chapter, we learned that the Linux kernel provides multiple functions that interact with I/O memory, such as ioread16,ioread32 , Iowrite16 , iowrite32 , ETC., Linux the kernel's memory management module is responsible for synchronizing I/O the data in the memory and hardware.

Each connectionLinuxof hardware inI/Othere will be mapped addresses in memory. BecauseLEDthe driver can only bes3cThe board is installed, soBuild,shthe script executes directlybuild_s3c6410.shThe script file is compiled and installed, and does not appear as the sixth chapter requires the user to chooseUbuntu Linux,Androidthe simulator ors3cthe development version corresponds to theLinuxcompiled on the kernel, but if you connect theAndroiddevice or started theAndroidSimulator. Or will you let the user choose to upload to that device, please selects3cThe Development Board, or even if the upload is successful, it will be usedLinuxKernel version issue failed to install successfully.

Multiple linux alloc_chrdev_region When the function automatically assigns a device number, baseminor and Span style= "FONT-FAMILY:CALIBRI;" >count

LED driver Book in the book the first real and hardware proud of the Linux Drive, although the led driver is not complex, knowledge control of four LEDs But the LED driver already includes all the necessary parts of the Linux drive. _

Android Deep Exploration--eighth chapter

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.