5101
- 收藏
- 点赞
- 分享
- 举报
Hi3536 移植mt7601U芯片 的usb wifi问题
编译的时候报错:
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2380:2: error: unknown field ‘private’ specified in initializer
.private = (iw_handler *) &rt_priv_handlers,
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2380:2: warning: initialization from incompatible pointer type [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2380:2: warning: (near initialization for ‘rt28xx_iw_handler_def.get_wireless_stats’) [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2381:2: error: unknown field ‘num_private’ specified in initializer
.num_private = N(rt_priv_handlers),
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2381:2: warning: excess elements in struct initializer [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2381:2: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2382:2: error: unknown field ‘private_args’ specified in initializer
.private_args = (struct iw_priv_args *) privtab,
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2382:26: warning: excess elements in struct initializer [enabled by default]
.private_args = (struct iw_priv_args *) privtab,
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2382:26: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2383:2: error: unknown field ‘num_private_args’ specified in initializer
.num_private_args = N(privtab),
^
之后网上说打开内核802.11驱动,
Device Drivers --->
Network device support --->
Wireless LAN --->
SB ZD1201 based Wireless device support
或者是这个IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
这样是编译通过了,但是当加载到文件系统的时候,要加载、hitoe/stmmac.ko 的时候,报错:
STMMAC driver:
platform registration...
done!
done!
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = e68e4000
[00000000] *pgd=6685d831, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1] SMP ARM
Modules linked in: stmmac(+)
CPU: 2 PID: 861 Comm: insmod Not tainted 3.10.0_hi3536 #27
task: e7ae1400 ti: e68d6000 task.ti: e68d6000
PC is at stmmac_get_mac_addr+0x30/0x80 [stmmac]
LR is at 0x8000ffff
pc : [] lr : [<8000ffff>] psr: 80000013
sp : e68d7d50 ip : 00000000 fp : bf01cb40
r10: bf01c348 r9 : bf01cb40 r8 : bf01c138
r7 : bf016cd4 r6 : e6caac80 r5 : 00000000 r4 : 00ffffff
r3 : 008000ff r2 : fc020040 r1 : ffffffff r0 : 0000ffff
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 668e406a DAC: 00000015
启动之后,可以用wifi 但是没了eth0 和eth1
整了好几天了,求助啊,感激不尽,有偿也可!
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2380:2: error: unknown field ‘private’ specified in initializer
.private = (iw_handler *) &rt_priv_handlers,
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2380:2: warning: initialization from incompatible pointer type [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2380:2: warning: (near initialization for ‘rt28xx_iw_handler_def.get_wireless_stats’) [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2381:2: error: unknown field ‘num_private’ specified in initializer
.num_private = N(rt_priv_handlers),
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2381:2: warning: excess elements in struct initializer [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2381:2: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2382:2: error: unknown field ‘private_args’ specified in initializer
.private_args = (struct iw_priv_args *) privtab,
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2382:26: warning: excess elements in struct initializer [enabled by default]
.private_args = (struct iw_priv_args *) privtab,
^
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2382:26: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
/lizilei/Hi3536/wifi/3520wifi_final/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:2383:2: error: unknown field ‘num_private_args’ specified in initializer
.num_private_args = N(privtab),
^
之后网上说打开内核802.11驱动,
Device Drivers --->
SB ZD1201 based Wireless device support
或者是这个IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
这样是编译通过了,但是当加载到文件系统的时候,要加载、hitoe/stmmac.ko 的时候,报错:
STMMAC driver:
platform registration...
done!
done!
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = e68e4000
[00000000] *pgd=6685d831, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1] SMP ARM
Modules linked in: stmmac(+)
CPU: 2 PID: 861 Comm: insmod Not tainted 3.10.0_hi3536 #27
task: e7ae1400 ti: e68d6000 task.ti: e68d6000
PC is at stmmac_get_mac_addr+0x30/0x80 [stmmac]
LR is at 0x8000ffff
pc : [
sp : e68d7d50 ip : 00000000 fp : bf01cb40
r10: bf01c348 r9 : bf01cb40 r8 : bf01c138
r7 : bf016cd4 r6 : e6caac80 r5 : 00000000 r4 : 00ffffff
r3 : 008000ff r2 : fc020040 r1 : ffffffff r0 : 0000ffff
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 668e406a DAC: 00000015
启动之后,可以用wifi 但是没了eth0 和eth1
整了好几天了,求助啊,感激不尽,有偿也可!
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2020-04-28 14:43:31
-
2020-10-19 16:48:30
-
2020-09-03 09:47:29
-
2018-12-26 13:45:08
-
2016-06-21 16:25:49
-
2018-07-27 17:59:55
-
2018-07-27 17:59:11
-
2017-09-26 22:05:22
-
2020-12-04 14:37:16
-
2020-01-13 11:55:55
-
2017-11-28 15:57:16
-
2018-04-10 13:50:16
-
2016-12-19 16:17:45
-
2019-01-02 16:42:10
-
2016-09-14 14:11:35
-
2015-11-10 19:07:13
-
2014-12-18 17:10:02
-
2018-03-14 09:49:18
-
112016-03-21 18:49:07
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认