修改时间 10-30-2018 09:53 AM
我是参照petalinux2015.4的教程修改的system-user.dtsi文件:
/include/ "system-conf.dtsi"
/ {
};
ðernet_axi_ethernet_0 {
local-mac-address = [00 0a 35 00 01 22];
phy-handle = <&phy0>;
xlnx,has-mdio = <0x1>;
phy-mode = "rgmii-id";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy0: phy@1 {
compatible = "micrel,ksz9031";
device_type = "ethernet-phy";
reg = <1>;
};
};
};
ðernet_axi_ethernet_0_dma {
compatible = "";
};
下图中eth1是我上面配置的pl端的网口,在我ifconfig eth1 up 时,提示of_phy_connect() failed,使用时也是ping不通的,不知道应该怎样修改配置