LoginSignup
0
0

More than 5 years have passed since last update.

PetaLinux / MicroZed > AH. PHYのトラブル (v2014.2)

Last updated at Posted at 2017-02-21
動作環境
PetaLinux 2014.4
Vivado v2014.2
MicroZed

2014年のメモより。

no PHY setup on Zedboard using petalinux 2014.2

Petalinux-createでプロジェクトを作ってhdfを取り込んだものからBOOT.BINを作成した時、PHYがうまく動かないとのこと。

bkamen on Wed, 2015-01-07 10:23. によると

realized the Ethernet fixes that go in system-top.dts go OUTSIDE the top set of lines.

とのこと。
petalinux-createにて作成したプロジェクトにおいてsystem-top.dtsを見ると以下のようになっている。

/dts-v1/;
/include/ "system-conf.dtsi"
/ {
};

上記をprebuilt BSPから作成したプロジェクト(Ethernetが正常認識する)内のsystem-top.dtsを参考に以下のようにするとEthernetを認識するようになった。

/dts-v1/;
/include/ "system-conf.dtsi"
/ {
};
    &ps7_ethernet_0 {
        phy-handle = <&phy0>;
        phy-mode = "rgmii-id";

        mdio {
            #address-cells = <1>;
            #size-cells = <0>;
            phy0: phy@0 {
                compatible = "marvell,88e1510";
                device_type = "ethernet-phy";
                reg = <0x0>;
                marvell,reg-init = <3 16 0xff00 0x1e 3 17 0xfff0 0x00>;
            };
        };
    };

この問題はv2014.4では修正されている。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0