- 积分
- 14
贡献73
飞刀18 FD
注册时间2019-12-25
在线时间2 小时
|
楼主 |
发表于 2020-10-16 10:10:23
|
显示全部楼层
我直接修改设备树,
ethernet@f0000 { /* 10GEC1 */
- //phy-handle = <&aqr105_phy>;
+ fixed-link = <0 1 1000 0 0>;
phy-connection-type = "xgmii";
};
/* - 禁用万兆mdio*/
// mdio@fd000 {
// aqr105_phy: ethernet-phy@0 {
// compatible = "ethernet-phy-ieee802.3-c45";
// reg = <0x0>;
// };
// };
更新到设备上后,fm1-mac9可以up起来,但是数据包发不出去,ping显示Destination Host Unreachable。
ethtool 显示如下内容:
root@localhost:~# ethtool fm1-mac9
Settings for fm1-mac9:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
哪里修改不对吗?还是漏了哪个地方没有修改?
|
|