ok6410 android driver(1)
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-serial
More details check the following website :
http://www.cnblogs.com/plinx/archive/2013/01/18/2866525.html
(2) USB to mini-USB
To this way, we should got the 'adb' tools in our system first. (If not, google and install)
After connected ok6410 and localhost :
$ adb shell
You may get the following warning :
error: insufficient permissions for device
And we can correct it by doing these :
$ su root # adb kill-server # adb start-server # exit
Then
$ adb shell
There are some differences between the two method :
In minicom, we would got the system log. In 'adb shell', we would see the files in highlight.
3、Mount the nfs in ok6410
More details check the following website :
http://www.cnblogs.com/plinx/archive/2013/01/31/2886860.html
TIPS :
In debian wheezy, we don't need to install portmap, because we got rpcbind instead.
We just need to configure the /etc/exports and restart the nfs-kernel-server.