设为首页收藏本站
查看: 16129|回复: 0

MYD-AM335X上移植USB WiFi RT3070AP驱动

[复制链接]

3

主题

2

回帖

38

积分

实习版主

积分
38
ztshun 发表于 2015-8-10 11:57:50 | 显示全部楼层 |阅读模式
本帖最后由 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信号,连接成功。
无标题.png
6.附件
target_file.tar.gz (288.67 KB, 下载次数: 13716) 2010_0203_RT3070_SoftAP_v2.4.0.1_DPA.tar.gz (2.87 MB, 下载次数: 11648)



回复

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-11-22 00:46 , Processed in 0.185024 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表