2009年12月31日 星期四

WWW browser Kiosk mode

Use Ctrl-F4 to close Browser

Google Chrome 4.0.266
"C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --kiosk http://www.google.com

IE 6.x kiosk mode
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -k http://www.google.com

Firefox 3.5.x
install firefox and install https://addons.mozilla.org/en-US/firefox/addon/1659

"C:\Program Files\Mozilla Firefox\firefox.exe" http://www.google.com

Auto Run (WinXP)
Add String registry AutuKiosk at (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run)
and put previous browser command.



2009年12月30日 星期三

Build your Android Logo

1. use GIMP to convert your logo to RAW format.
2. use Android build-in tool rgb2565 to convert RAW format to RLE format.
rgb2565 -rle <> initlogo.rle
3. put file initlogo.rle to root directory of android file system.

2009年12月29日 星期二

ubuntu 9.10 , build android , java 1.5

1. edit /etc/apt/sources.list and add source link


deb http://tw.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse


2.
sudo apt-get update & sudo apt-get install sun-java5-jdk
3.
sudo update-alternatives --config java
4.
sudo update-java-alternatives -s java-1.5.0-sun
5. remark the previous source line at file /etc/apt/sources.list


2009年11月4日 星期三

Android sytem user id and group source code

system/core/include/private/android_filesystem_config.h

2009年8月26日 星期三

WL1271 SDIO driver performance and setting - WiLink 6.x



















Environment :

Host : DevKit8000 ( clone of beagleboard)
Kernel : 2.6.29-omap1
WiFi modile : Muruta WL1271 module (WLAN & BT & FM)
SDIO Freq. : 7.5Mhz 1bit ( cable issue) not optimize yet.

driver : WiLink 6.x

Modification : none
root@beagleboard:/modules/objs# uname -a
Linux devkit8000 2.6.29-omap1 #68 Wed Aug 26 09:22:21 CST 2009 armv7l unknown

Performance :
root@devkit8000:/wl1271# ping 192.168.168.254
PING 192.168.168.254 (192.168.168.254): 56 data bytes
64 bytes from 192.168.168.254: seq=0 ttl=64 time=83.008 ms
64 bytes from 192.168.168.254: seq=1 ttl=64 time=106.567 ms
64 bytes from 192.168.168.254: seq=2 ttl=64 time=78.522 ms
64 bytes from 192.168.168.254: seq=3 ttl=64 time=102.111 ms
64 bytes from 192.168.168.254: seq=4 ttl=64 time=75.043 ms
64 bytes from 192.168.168.254: seq=5 ttl=64 time=98.297 ms
64 bytes from 192.168.168.254: seq=6 ttl=64 time=70.679 ms
64 bytes from 192.168.168.254: seq=7 ttl=64 time=94.360 ms
64 bytes from 192.168.168.254: seq=8 ttl=64 time=67.261 ms
64 bytes from 192.168.168.254: seq=9 ttl=64 time=90.973 ms
64 bytes from 192.168.168.254: seq=10 ttl=64 time=63.080 ms
Power consumption : below 10mA.
claud@claud-desktop:~$ iperf -c 192.168.168.83 -i 1
------------------------------------------------------------
Client connecting to 192.168.168.83, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.168.25 port 46919 connected with 192.168.168.83 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 424 KBytes 3.47 Mbits/sec
[ 3] 1.0- 2.0 sec 616 KBytes 5.05 Mbits/sec
[ 3] 2.0- 3.0 sec 640 KBytes 5.24 Mbits/sec
[ 3] 3.0- 4.0 sec 632 KBytes 5.18 Mbits/sec
[ 3] 4.0- 5.0 sec 624 KBytes 5.11 Mbits/sec
[ 3] 5.0- 6.0 sec 584 KBytes 4.78 Mbits/sec
[ 3] 6.0- 7.0 sec 704 KBytes 5.77 Mbits/sec
[ 3] 7.0- 8.0 sec 600 KBytes 4.92 Mbits/sec
[ 3] 8.0- 9.0 sec 592 KBytes 4.85 Mbits/sec
[ 3] 9.0-10.0 sec 648 KBytes 5.31 Mbits/sec
[ 3] 0.0-10.1 sec 5.93 MBytes 4.93 Mbits/sec


ftp performance : ~600KB/s

Power consumption : 100~110mA.

2009年8月19日 星期三

WL12xx SDIO driver performance and setting - Original

Environment :

Host : Beagleboard B4
Kernel : 2.6.29-omap1
WiFi modile : Muruta WL1251 module

driver WL1251 from linux wireless 2009/09/18

Modification : none
root@beagleboard:/modules/objs# uname -a
Linux beagleboard 2.6.29-omap1 #35 Wed Aug 19 14:43:34 CST 2009 armv7l unknown

Performance :
root@beagleboard:/modules/objs# ping 192.168.168.254
PING 192.168.168.254 (192.168.168.254): 56 data bytes
64 bytes from 192.168.168.254: seq=0 ttl=64 time=6.836 ms
64 bytes from 192.168.168.254: seq=1 ttl=64 time=14.130 ms
64 bytes from 192.168.168.254: seq=2 ttl=64 time=5.981 ms
64 bytes from 192.168.168.254: seq=3 ttl=64 time=13.458 ms
64 bytes from 192.168.168.254: seq=4 ttl=64 time=5.249 ms
64 bytes from 192.168.168.254: seq=5 ttl=64 time=5.005 ms
64 bytes from 192.168.168.254: seq=6 ttl=64 time=4.578 ms
64 bytes from 192.168.168.254: seq=7 ttl=64 time=4.242 ms
64 bytes from 192.168.168.254: seq=8 ttl=64 time=11.963 ms
64 bytes from 192.168.168.254: seq=9 ttl=64 time=3.601 ms
64 bytes from 192.168.168.254: seq=10 ttl=64 time=3.326 ms

Power consumption : 190~200mA.

claud@claud-desktop:~/src/beagleboard/kernel29/compat-wireless$ iperf -c 192.168.168.80 -i 1 -t 10
------------------------------------------------------------
Client connecting to 192.168.168.80, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.168.25 port 38614 connected with 192.168.168.80 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 448 KBytes 3.67 Mbits/sec
[ 3] 1.0- 2.0 sec 440 KBytes 3.60 Mbits/sec
[ 3] 2.0- 3.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 3.0- 4.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 4.0- 5.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 5.0- 6.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 6.0- 7.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 7.0- 8.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 8.0- 9.0 sec 352 KBytes 2.88 Mbits/sec
[ 3] 9.0-10.0 sec 360 KBytes 2.95 Mbits/sec
[ 3] 0.0-10.2 sec 3.63 MBytes 3.00 Mbits/sec

Power consumption : 190~200mA.

WiLink 4.x SDIO driver performance and setting

Environment :

Host : Beagleboard B4
Kernel : 2.6.29-omap1
WiFi modile : Muruta WL1251 module

WiLink 4.x from android source code

Modification : Change Host setting from MSM700 to Beagleboard

root@beagleboard:/modules/objs# uname -a
Linux beagleboard 2.6.29-omap1 #35 Wed Aug 19 14:43:34 CST 2009 armv7l unknown

Performance :

root@beagleboard:/modules# ping 192.168.168.254
PING 192.168.168.254 (192.168.168.254): 56 data bytes
64 bytes from 192.168.168.254: seq=0 ttl=64 time=224.671 ms
64 bytes from 192.168.168.254: seq=1 ttl=64 time=43.426 ms
64 bytes from 192.168.168.254: seq=2 ttl=64 time=66.956 ms
64 bytes from 192.168.168.254: seq=3 ttl=64 time=90.668 ms
64 bytes from 192.168.168.254: seq=4 ttl=64 time=12.237 ms
64 bytes from 192.168.168.254: seq=5 ttl=64 time=35.522 ms
64 bytes from 192.168.168.254: seq=6 ttl=64 time=59.387 ms
64 bytes from 192.168.168.254: seq=7 ttl=64 time=82.885 ms
64 bytes from 192.168.168.254: seq=8 ttl=64 time=106.293 ms
64 bytes from 192.168.168.254: seq=9 ttl=64 time=27.679 ms
64 bytes from 192.168.168.254: seq=10 ttl=64 time=51.636 ms


Power consumption : below 10mA.

claud@claud-desktop:~/src/beagleboard/kernel29/compat-wireless$ iperf -c 192.168.168.59 -i 1 -t 10
------------------------------------------------------------
Client connecting to 192.168.168.59, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.168.25 port 36533 connected with 192.168.168.59 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 560 KBytes 4.59 Mbits/sec
[ 3] 1.0- 2.0 sec 856 KBytes 7.01 Mbits/sec
[ 3] 2.0- 3.0 sec 912 KBytes 7.47 Mbits/sec
[ 3] 3.0- 4.0 sec 800 KBytes 6.55 Mbits/sec
[ 3] 4.0- 5.0 sec 920 KBytes 7.54 Mbits/sec
[ 3] 5.0- 6.0 sec 952 KBytes 7.80 Mbits/sec
[ 3] 6.0- 7.0 sec 816 KBytes 6.68 Mbits/sec
[ 3] 7.0- 8.0 sec 912 KBytes 7.47 Mbits/sec
[ 3] 8.0- 9.0 sec 920 KBytes 7.54 Mbits/sec
[ 3] 9.0-10.0 sec 912 KBytes 7.47 Mbits/sec
[ 3] 0.0-10.1 sec 8.37 MBytes 6.95 Mbits/sec

Power consumption : 190~200mA.

The ping round-trip time is high but the power consumption is very low at idle.

WL12xx SDIO driver performance and setting - Mod















Environment :

Host : Beagleboard B4
Kernel : 2.6.29-omap1
WiFi modile : Muruta WL1251 module


driver WL1251 from linux wireless 2009/09/18

Modification : Add GPIO interrupt handling at SDIO


root@beagleboard:/modules/objs# uname -a
Linux beagleboard 2.6.29-omap1 #35 Wed Aug 19 14:43:34 CST 2009 armv7l unknown
root@beagleboard:/modules/objs#
root@beagleboard:/modules/objs# cat load.sh

insmod rfkill_backport.ko
insmod cfg80211.ko
insmod lib80211.ko
insmod lib80211_crypt_ccmp.ko
insmod lib80211_crypt_tkip.ko
insmod lib80211_crypt_wep.ko
insmod mac80211.ko
insmod wl1251.ko
insmod wl1251_sdio.ko



Performance :


root@beagleboard:/modules/objs# ping 192.168.168.254
PING 192.168.168.254 (192.168.168.254): 56 data bytes
64 bytes from 192.168.168.254: seq=0 ttl=64 time=2.288 ms
64 bytes from 192.168.168.254: seq=1 ttl=64 time=3.144 ms
64 bytes from 192.168.168.254: seq=2 ttl=64 time=3.052 ms
64 bytes from 192.168.168.254: seq=3 ttl=64 time=3.144 ms
64 bytes from 192.168.168.254: seq=4 ttl=64 time=3.387 ms
64 bytes from 192.168.168.254: seq=5 ttl=64 time=4.669 ms
64 bytes from 192.168.168.254: seq=6 ttl=64 time=3.052 ms
64 bytes from 192.168.168.254: seq=7 ttl=64 time=3.052 ms
64 bytes from 192.168.168.254: seq=8 ttl=64 time=3.113 ms
64 bytes from 192.168.168.254: seq=9 ttl=64 time=3.327 ms

Power consumption : 190~200mA.

claud@claud-desktop:~/src/beagleboard/kernel29/compat-wireless$ iperf -c 192.168.168.77 -i 1 -t 10
------------------------------------------------------------
Client connecting to 192.168.168.77, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.168.25 port 53616 connected with 192.168.168.77 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 776 KBytes 6.36 Mbits/sec
[ 3] 1.0- 2.0 sec 792 KBytes 6.49 Mbits/sec
[ 3] 2.0- 3.0 sec 888 KBytes 7.27 Mbits/sec
[ 3] 3.0- 4.0 sec 760 KBytes 6.23 Mbits/sec
[ 3] 4.0- 5.0 sec 888 KBytes 7.27 Mbits/sec
[ 3] 5.0- 6.0 sec 896 KBytes 7.34 Mbits/sec
[ 3] 6.0- 7.0 sec 792 KBytes 6.49 Mbits/sec
[ 3] 7.0- 8.0 sec 824 KBytes 6.75 Mbits/sec
[ 3] 8.0- 9.0 sec 888 KBytes 7.27 Mbits/sec
[ 3] 9.0-10.0 sec 808 KBytes 6.62 Mbits/sec
[ 3] 0.0-10.0 sec 8.12 MBytes 6.80 Mbits/sec

Power consumption : 190~200mA.

2009年7月7日 星期二

SMDK2416 boot setting

NAND:
CFG2 ( 1 - 6)
OFF ON ON OFF OFF OFF

u-Boot loading and execute address 33E00000.

2009年6月6日 星期六

openembedd ubuntu 9.04

sudo apt-get install ccache sed wget cvs subversion git-core  \
monotone coreutils unzip texi2html texinfo libsdl1.2-dev \
docbook-utils gawk python-pysqlite2 diffstat help2man \
docbook gcc g++

git clone git://git.openembedded.org/openembedded

cd /bin
sudo rm sh
ln -s bash sh




checkout branch stable/2009
git checkout origin/stable/2009 -b stable/2009