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