ok6410 android driver(10)】的更多相关文章

From this essay, we go to a new discussion "Android Hardware Abstraction Layer". In this essay, we fisrt talk about the architecture of linux and android. 1.linux If you have got some brief reading about  <Linux Kernel Development> or <…
This article talk about how to test device driver on JNI. There are two ways to test the device driver : (1) Create methods to control devices in .c/.cpp file, the .java call the methods in .c/.cpp : This way is call JNI (Java Native Interface), mean…
Test the android driver by JNI (Java Native Interface), In the third article, we know how to compiler the moduler for localhost, ok6410 and goldfish platform. http://www.cnblogs.com/plinx/p/3209500.html But we didn't try to test the driver using by C…
This essay, I go to a deeply studying to android HAL device driver program. According to the android architecture we disscus in last essay, when we are designing a android device driver, we should follow the steps below : (1) linux device driver In t…
In this essay, I will write the JNI to test our leds device. If you don't know how to create a jni project, I suggest you to have a read on the following website : http://www.cnblogs.com/plinx/p/3213824.html 1.string.xml <?xml version="1.0" e…
In the past, we know how to create and run a simple character device driver on pc, goldfish and ok6410. These two essays I will talk about a led device real exists on ok6410. In this essay, we will compile a led device driver and test it. At first, I…
This article discusses the Makefile and how to port the module to different platform (localhost and arm). 1.localhost My localhost system is debian wheezy. If you would like to set up the environment for user-mode, you can follow the website : http:/…
In this essay, I will talk about how to write the service libraries. TIPS : I won't discuss the name rules about HAL libraries, but it's quite important to our understanding. You can check the source file : android_source/hardware/libhardware/hardwar…
This is a short essay about the mistakes in compiling ok6410 android-2.3 source codes. If there is nothing happen when you compiling forlinx android-2.3, just go past. My local host is 64bit system, but the forlinx android souce code was compiler on…
target system : Android (OK6410) host system : Debian Wheezy AMD64 1.Set up android system in ok6410 More details check the forlinx OK6410 UserGuide pdf. 2.There are two different ways to control the android system on ok6410 (1) minicom and USB-to-se…