新手上路
- 积分
- 20
- 金钱
- 20
- 注册时间
- 2025-10-29
- 在线时间
- 3 小时
|

楼主 |
发表于 2026-6-29 12:20:56
|
显示全部楼层
第一次发帖,格式还是乱了,附上不乱的:
In: serial
Out: serial
Err: serial
Bootmode: SD_MODE1
Reset reason: EXTERNAL
Net: FEC: can't find phy-handle
xilinxgmiitorgmii_config, No external phy device found
FEC: can't find phy-handle
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 7, interface rgmii-id
eth1: ethernet@ff0e0000
scanning bus for devices...
正常进入系统后报错:
xgmiitorgmii ff0b0000.ethernet-ffffffff:08: Couldn't find phydev
system-user.dtsi:
&gem3 {
local-mac-address = [00 0a 35 00 8b 87];
phy-handle = <ðernet_phy>;
ethernet_phy: ethernet-phy@7 {
reg = <0x7>;
};
};
&gem0 {
local-mac-address = [00 0a 35 00 c0 13];
phy1: phy1@4 {
reg = <0x4>;
};
};
自动生成的pcw.dtsi:
&gem0 {
phy-handle = <&phy1>;
phy-mode = "gmii";
status = "okay";
xlnx,ptp-enet-clock = <0x0>;
psu_ethernet_0_mdio: mdio {
#address-cells = <1>;
#size-cells = <0>;
gmii_to_rgmii_0: gmii_to_rgmii_0@8 {
compatible = "xlnx,gmii-to-rgmii-1.0";
phy-handle = <&phy1>;
reg = <8>;
};
};
}; |
|