7236
- 收藏
- 点赞
- 分享
- 举报
关于网卡 AR8035 的问题
开发板:hi3536
sdk:Hi3536 V100R001C02SPC050
我按照论坛里的帖子,开启了 stmmac ,phy0 和phy1 的 id 都为 2,STMMAC PHY0 MDIO INTERFACE 和 STMMAC PHY1 MDIO INTERFACE 设为7,启动信息为:
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email]maxk@qualcomm.com[/email]>
STMMAC driver:
platform registration...
done!
done!
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is 0:b:3f:0:0:1
stmmac_associate_phy: phy 0 mode=7
eth0 - (dev. name: stmmaceth - id: 0, IRQ #55
IO base addr: 0xfc020000)
libphy: STMMAC MII Bus: probed
eth0: PHY ID 004dd072 at 2 IRQ -6 (1:02) active
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is ff:ff:ff:ff:ff:ff
no valid MAC address for MAC 1;please, use ifconfig or nwhwconfig!
stmmac_associate_phy: phy 1 mode=7
eth1 - (dev. name: stmmaceth - id: 0, IRQ #55
IO base addr: 0xfc024000)
eth1: PHY ID 004dd072 at 2 IRQ -6 (1:02) active
stmmac_reset: RESET COMPLETE!
**************************************************
* TNK driver built on Oct 9 2017 at 13:45:20
* TNK driver mode is BYPASS
**************************************************
stmmac: Rx Checksum Offload Engine supported
TX Checksum insertion supported
stmmac: Rx Checksum Offload Engine supported
TX Checksum insertion supported
在启动内核后:
/* 配置ip地址 */
/ # ifconfig eth0 192.168.1.138
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
/ # libphy: 1:02 - Link is Up - 1000/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
libphy: 1:02 - Link is Up - 1000/Full
/ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:3F:00:00:01
inet addr:192.168.1.138 Bcast:192.168.1.255 Mask:255.255.255.0 /* 配置ip成功 */
inet6 addr: fe80::20b:3fff:fe00:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
Interrupt:55
/ # ping 192.168.1.176
PING 192.168.1.176 (192.168.1.176): 56 data bytes
^C
--- 192.168.1.176 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss /* 但是 ping 不通 */
/ # --- 192.168.1.176 ping statistics ---
请教一下,能够配置ip地址,但是 ping 不通,是哪里配置有问题,谢谢!
sdk:Hi3536 V100R001C02SPC050
我按照论坛里的帖子,开启了 stmmac ,phy0 和phy1 的 id 都为 2,STMMAC PHY0 MDIO INTERFACE 和 STMMAC PHY1 MDIO INTERFACE 设为7,启动信息为:
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email]maxk@qualcomm.com[/email]>
STMMAC driver:
platform registration...
done!
done!
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is 0:b:3f:0:0:1
stmmac_associate_phy: phy 0 mode=7
eth0 - (dev. name: stmmaceth - id: 0, IRQ #55
IO base addr: 0xfc020000)
libphy: STMMAC MII Bus: probed
eth0: PHY ID 004dd072 at 2 IRQ -6 (1:02) active
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is ff:ff:ff:ff:ff:ff
no valid MAC address for MAC 1;please, use ifconfig or nwhwconfig!
stmmac_associate_phy: phy 1 mode=7
eth1 - (dev. name: stmmaceth - id: 0, IRQ #55
IO base addr: 0xfc024000)
eth1: PHY ID 004dd072 at 2 IRQ -6 (1:02) active
stmmac_reset: RESET COMPLETE!
**************************************************
* TNK driver built on Oct 9 2017 at 13:45:20
* TNK driver mode is BYPASS
**************************************************
stmmac: Rx Checksum Offload Engine supported
TX Checksum insertion supported
stmmac: Rx Checksum Offload Engine supported
TX Checksum insertion supported
在启动内核后:
/* 配置ip地址 */
/ # ifconfig eth0 192.168.1.138
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
/ # libphy: 1:02 - Link is Up - 1000/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
libphy: 1:02 - Link is Up - 1000/Full
/ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:3F:00:00:01
inet addr:192.168.1.138 Bcast:192.168.1.255 Mask:255.255.255.0 /* 配置ip成功 */
inet6 addr: fe80::20b:3fff:fe00:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
Interrupt:55
/ # ping 192.168.1.176
PING 192.168.1.176 (192.168.1.176): 56 data bytes
^C
--- 192.168.1.176 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss /* 但是 ping 不通 */
/ # --- 192.168.1.176 ping statistics ---
请教一下,能够配置ip地址,但是 ping 不通,是哪里配置有问题,谢谢!
我来回答
回答14个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-05-11 10:13:42
-
2016-04-29 13:38:58
-
2016-05-08 22:18:09
-
2016-05-20 16:38:42
-
2016-05-09 19:53:56
-
2013-07-22 23:34:36
-
2019-09-30 16:39:00
-
2019-04-24 18:05:16
-
2017-08-18 11:23:55
-
2019-01-10 16:05:45
-
2015-07-25 15:06:20
-
2017-10-16 11:27:02
-
2020-02-29 19:20:42
-
2020-07-27 14:28:15
-
2017-02-07 16:57:57
-
2017-10-17 16:48:21
-
2020-03-23 14:23:22
-
2018-03-12 23:19:45
-
02020-01-03 09:22:06
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
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板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认