|
本帖最后由 ztshun 于 2015-8-11 09:51 编辑
1.附件中提供了RT3070AP驱动源码包2010_0203_RT3070_SoftAP_v2.4.0.1_DPA和编译好的驱动,这里选择使用taget_file.tar.gz中已经编译好的文件。[mw_shl_code=c,true]tar zxvf target_file.tar.gz[/mw_shl_code]
2.将target_file目录下的rt3070ap.ko,rtnet3070ap.ko,rtutil3070ap.ko和RT2870AP.dat拷贝进MYD-AM335X开发板中
[mw_shl_code=bash,true]mkdir -p /etc/Wireless/RT2870AP
cp RT2870AP.dat /etc/Wireless/RT2870AP/
cp rt3070ap.ko rtnet3070ap.ko rtutil3070ap.ko /home/[/mw_shl_code]
3.驱动加载
按顺序加载
[mw_shl_code=bash,true]root@MYD-AM335x home# insmod rtutil3070ap.ko
root@MYD-AM335x home# insmod rt3070ap.ko
root@MYD-AM335x home# insmod rtnet3070ap.ko
rtusb init --->
=== pAd = e0ac7000, size = 417992 ===
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870[/mw_shl_code]
4.启动工作
[mw_shl_code=bash,true]root@MYD-AM335x home# ifconfig ra0 192.168.1.11 up
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
Main bssid = 48:02:2a:48:a9:06
<==== rt28xx_init, Status=0
0x1300 = 00064320[/mw_shl_code]
5,测试
用笔记本电脑可以搜索到RT2860AP的wifi信号,连接成功。
6.附件
target_file.tar.gz
(288.67 KB, 下载次数: 13805)
2010_0203_RT3070_SoftAP_v2.4.0.1_DPA.tar.gz
(2.87 MB, 下载次数: 11738)
|
|