標題: 有玩過(guò)wifi模塊的沒(méi) [打印本頁(yè)] 作者: wangkj 時(shí)間: 2009-11-9 15:22 標題: 有玩過(guò)wifi模塊的沒(méi) There are some steps to make the SDIO WIFI module work.
1.configure the kernel
a.select Network stack
Networking --->
[*] Networking support
Wireless --->
<*> Improved wireless configuration API
[*] nl80211 new netlink interface support
-*- Wireless extensions
<*> Generic IEEE 802.11 Networking Stack (mac80211)
[*] Enable mac80211 mesh networking (pre-802.11s) support
b.select Blackfin SDH driver
Device Drivers --->
<*> MMC/SD card support --->
*** MMC/SD Card Drivers ***
<*> MMC block device driver
[*] Use bounce buffer for simple hosts
*** MMC/SD Host Controller Drivers ***
<*> Blackfin Secure Digital Host support
[*] Blackfin EZkit Rev 1.3 Missing SDH_CMD Pull Up Resistor Workaround
c.select libertas driver
Device Drivers --->
[*] Network device support --->
Wireless LAN --->
[*] Wireless LAN (IEEE 802.11) Marvell 8xxx Libertas WLAN driver support Marvell Libertas 8385 and 8686 SDIO 802.11b/g cards
[*] Enable full debugging output in the Libertas module.
2.patch the kernel
cd uclinux-dist/linux-2.6.x
...uclinux-dist/linux-2.6.x$ patch -p0 < sdio_wifi.patch
3.copy firmwares and hotplug script to romfs
cd uclinux-dist
.../uclinux-dist$mkdir romfs/lib/firmware
.../uclinux-dist$cp sd8686.bin romfs/lib/firmware
.../uclinux-dist$cp sd8686_helper.bin romfs/lib/firmware
.../uclinux-dist$cp .../hotplug /romfs/sbin/
.../uclinux-dist$cd /romfs/sbin/;chmod +x hotplug
4.install libertas module
After doing above job,then compile the source and download the image to BF548-EZKIT board
SDIO card should be showed after the image is downloaded to the board.
mmc0: new SDIO card at address 0001
Following is my steps to connect this wifi module to my AP
root:/> iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...
g eth1 192.168.1.101 up
route add default gw 192.168.1.1eth1 IEEE 802.11b/g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power=18 dBm
Retry limit:8 RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root:/> ifconfig eth1 up
root:/> iwlist eth1 scan
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...
eth1 Scan completed :
Cell 01 - Address: 00:19:A9:FD:2B:01
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=43/100 Signal level=-88 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 02 - Address: 00:1C:F9:C02:E0
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=89/100 Signal level=-61 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 03 - Address: 00:1C:F9:C02:E1
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=89/100 Signal level=-61 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 04 - Address: 00:19:A9:FD:2B:00
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=43/100 Signal level=-88 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 05 - Address: 00:1A:704:94:C7
ESSID:"linksys"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=98/100 Signal level=-31 dBm Noise level=-96 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Cell 06 - Address: 00:1C:F9:C0B:E0
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=91/100 Signal level=-59 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 07 - Address: 00:1C:F9:C0B:E1
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=91/100 Signal level=-59 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 08 - Address: 00:1C:F9:C05:A0
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=46/100 Signal level=-87 dBm Noise level=-96 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 09 - Address: 00:1C:F9:C05:A1
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=48/100 Signal level=-86 dBm Noise level=-96 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 10 - Address: 00:0F:E2:90:15:50
ESSID:"ChinaNet"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=50/100 Signal level=-85 dBm Noise level=-96 dBm
Encryption key:off
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Cell 11 - Address: 02D:B2:FA8:E5
ESSID:"hpsetup"
Mode:Ad-Hoc
Frequency:2.457 GHz (Channel 10)
Quality=68/100 Signal level=-76 dBm Noise level=-96 dBm
Encryption key:off
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Cell 12 - Address: 00:1C:F9:C0:73:00
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=89/100 Signal level=-61 dBm Noise level=-96 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 13 - Address: 00:1C:F9:C0:73:01
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=89/100 Signal level=-61 dBm Noise level=-96 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 14 - Address: 00:19:A9:FD:2F:01
ESSID:"ADICHINA"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=57/100 Signal level=-82 dBm Noise level=-96 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
Cell 15 - Address: 00:50:18:1F:81:42
ESSID:"Lilly"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=43/100 Signal level=-88 dBm Noise level=-96 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Cell 16 - Address: 00:19:A9:FD:2F:00
ESSID:"ADIWLAN"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=54/100 Signal level=-83 dBm Noise level=-96 dBm
Encryption key:on
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
(Unknown Wireless Token 0x8C05)
root:/> iwconfig eth1 essid linksys
root:/> ifconfig eth1 192.168.1.101 up
root:/> route add default gw 192.168.1.1
root:/> ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=24.000 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=12.000 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=12.000 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=16.000 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=12.000 ms
64 bytes from 192.168.1.1: seq=5 ttl=64 time=12.000 ms作者: wangkj 時(shí)間: 2009-11-9 15:22
這個(gè)模塊誰(shuí)有?誰(shuí)用過(guò)?我正在編譯。
機器是benq的s6。作者: wangkj 時(shí)間: 2009-11-9 17:39
模塊編譯好了?上,開(kāi)關(guān)打不開(kāi)。找不到開(kāi)關(guān)軟件,linux版本的。windows的,打開(kāi)后,重啟又關(guān)了。 http://www.umpcportal.com/module ... _id=4959%26forum=32作者: 一朝成名 時(shí)間: 2009-11-10 22:51
沒(méi)搞錯吧?你的benq s6山寨的啊/
剛買(mǎi)的還用不了wifi?作者: wangkj 時(shí)間: 2009-11-11 07:27
是linux用不了,有開(kāi)關(guān),打不開(kāi),winxp一切正常。
linux找到了恢復盤(pán),下不來(lái),估計gfw吧國外的bt種子封了。
看來(lái),還得想辦法翻墻。做電工真的很不容易。作者: 一朝成名 時(shí)間: 2009-11-11 09:18
準備入手那個(gè)OMAP平臺的了~~~麻痹的,沒(méi)linux系統?俊
拿來(lái)看書(shū)用作者: yuanye05020404 時(shí)間: 2010-7-24 16:12
呵呵作者: xubin_hh 時(shí)間: 2010-8-4 23:54
學(xué)習ing。。。作者: zx3113847 時(shí)間: 2011-7-20 12:13
學(xué)習