Corter-A8移植rt3070驱动解决方案及新问题
来源:互联网 发布:傲梦青少年编程收费 编辑:程序博客网 时间:2024/04/30 05:36
上次做的驱动移植出现的
[root@PD-STS /]# ifconfig wlan0 up
phy1 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'.
phy1 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.22.
phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, A.
phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, A.
phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, .
phy1 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, .
ADDRCONF(NETDEV_UP): wlan0: link is not read
问题我已经解决了但有出现了新的问题
先说说上次的解决方法:
重新配置内核将
<M> Ralink driver support -->
这个选项选成模块的模式然后重新编译内核烧进板子
重新加载rt3070模块驱动会出现如下打印信息
[root@PD-STS /]# insmod rt3070sta.ko
rtusb init rt2870 --->
=== pAd = f4f02000, size = 518032 ===
<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
使用命令iwconfig查看
[root@PD-STS /]# iwconfig
lo no wireless extensions.
ifb0 no wireless extensions.
ifb1 no wireless extensions.
eth0 no wireless extensions.
usb0 no wireless extensions.
sit0 no wireless extensions.
ip6tnl0 no wireless extensions.
ra0 Ralink STA
已经能看见ra0,说明能识别了
继续启动无线网卡
root@PD-STS /]# ifconfig ra0 up
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RTMP_TimerListAdd: add timer obj f4f49a10!
RTMP_TimerListAdd: add timer obj f4f49a58!
RTMP_TimerListAdd: add timer obj f4f49aa0!
RTMP_TimerListAdd: add timer obj f4f499c8!
RTMP_TimerListAdd: add timer obj f4f498f0!
RTMP_TimerListAdd: add timer obj f4f49938!
RTMP_TimerListAdd: add timer obj f4f144c4!
RTMP_TimerListAdd: add timer obj f4f03c4c!
RTMP_TimerListAdd: add timer obj f4f03c9c!
RTMP_TimerListAdd: add timer obj f4f145b0!
RTMP_TimerListAdd: add timer obj f4f14434!
RTMP_TimerListAdd: add timer obj f4f14564!
-->RTUSBVenderReset
<--RTUSBVenderReset
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 = 5
2. Phy Mode = 5
phy mode> Error! The chip does not support 5G band 5!
RTMPSetPhyMode: channel is out of range, use first channel=1
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
到这里网卡已经启动成功了
现在让它连一下无线网
我这里用的是WEP模式加密的无线网
我先修改了一下RT2870STA.dat里面的SSID 和key改成我这边的无线(我上网看见的别人好像都没配置多这里面的内容,但我这边不配置的话就连不了网,不知道为什么,求高人告诉为什么)
SSID=pd-wifi
EncrypType=WEP
Key1Type=1
Key1Str=abc12
只贴除了修改的部分
连接无线网
[root@PD-STS /]# ./sbin/net_set
Try to bring net interface up ...
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ra0 ; Network is down.
iwconfig ra0 essid pd-wifi key abc12
sh: 1: unknown operand
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RTMP_TimerListAdd: add timer obj f4f49a10!
RTMP_TimerListAdd: add timer obj f4f49a58!
RTMP_TimerListAdd: add timer obj f4f49aa0!
RTMP_TimerListAdd: add timer obj f4f499c8!
RTMP_TimerListAdd: add timer obj f4f498f0!
RTMP_TimerListAdd: add timer obj f4f49938!
RTMP_TimerListAdd: add timer obj f4f144c4!
RTMP_TimerListAdd: add timer obj f4f03c4c!
RTMP_TimerListAdd: add timer obj f4f03c9c!
RTMP_TimerListAdd: add timer obj f4f145b0!
RTMP_TimerListAdd: add timer obj f4f14434!
RTMP_TimerListAdd: add timer obj f4f14564!
-->RTUSBVenderReset
<--RTUSBVenderReset
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 = 5
2. Phy Mode = 5
phy mode> Error! The chip does not support 5G band 5!
RTMPSetPhyMode: channel is out of range, use first channel=1
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
ifconfig ra0 192.168.1.21 netmask 255.255.255.0 up
route add default gw 192.168.1.1
Done
不知道为什么会出现
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ra0 ; Network is down.
这样的错误,但是ping路由器已经可以ping的通了
[root@PD-STS /]# 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=14.172 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=1.329 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=4.308 ms
^C
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.329/6.603/14.172 ms
还有就是没过段时间就出打印出Err;FC.ToDs这样的错误信息
求高手帮帮忙啊!!!!!!!!!!!!!!!!
- Corter-A8移植rt3070驱动解决方案及新问题
- Cortex-A8上移植rt3070驱动出错
- rt3070驱动移植及测试
- RT3070驱动移植及测试
- 【转】RT3070驱动移植
- RT3070 STA 驱动移植
- RT3070 驱动移植
- RT3070驱动移植
- rt3070 wifi驱动移植
- RT3070驱动移植
- RT3070驱动移植
- rt3070 AP驱动移植
- RT3070 STA 驱动移植
- WIFI 驱动 RT3070移植
- sam9x5平台搭建及rt3070驱动移植总结
- linux下移植RT3070 驱动
- Linux 下 RT3070 驱动移植
- rt3070驱动移植到fsl imx51上
- 黑马程序员--交通灯管理系统
- 如何匹配Dell R710服务器的Linux的网卡与eth代号
- android中保存Activity的状态
- 设置颜色的方法
- 常用driver模板
- Corter-A8移植rt3070驱动解决方案及新问题
- GTK的Glib包含ThreadPool库
- 42篇经典英语短文
- 数据库中删除重复数据
- 别人是怎么读你的简历的
- cocos2d-x结合cocosbuilder,不同屏幕适配小结
- mysql You can turn off this feature to get a quicker startup with –A
- Spring工具类ToStringBuilder用法简介
- MySQL数据类型中DECIMAL的作用和用法