[meta-xilinx] Fix for Microzed ethernet issue: no PHY found

Cody Piersall cody at arrc.ou.edu
Thu Mar 23 06:49:40 PDT 2017


Thanks for the response, Nathan.  I checked the new device tree, and it
works!  Thanks.

Cody

On Wed, Mar 22, 2017 at 9:07 AM, Nathan Rossi <nathan at nathanrossi.com>
wrote:

> On 22 March 2017 at 03:08, Cody Piersall <cody at arrc.ou.edu> wrote:
> > Hi,
> >
> > I upgraded my Microzed yocto project from jethro to morty, and found that
> > the ethernet does not work.  I found a fix for it on Henry Feng's fork of
> > the repository:
> > https://github.com/HenryFeng2016/meta-xilinx/commit/
> 348b1fe180ae778b396d50b016518614acae061e
> >
> > Here is the patch:
> >
> > diff --git a/recipes-bsp/device-tree/files/microzed/microzed-zynq7.dts
> > b/recipes-bsp/device-tree/files/microzed/microzed-zynq7.dts
> > index f0de60e..4e6418f 100644
> > --- a/recipes-bsp/device-tree/files/microzed/microzed-zynq7.dts
> > +++ b/recipes-bsp/device-tree/files/microzed/microzed-zynq7.dts
> > @@ -31,13 +31,6 @@
> >  &gem0 {
> >     status = "okay";
> >     phy-mode = "rgmii-id";
> > -   phy-handle = <&ethernet_phy>;
> > -
> > -   ethernet_phy: ethernet-phy at 0 {
> > -       compatible = "marvell,88e1512";
> > -       device_type = "ethernet-phy";
> > -       reg = <0>;
> > -   };
> >  };
> >
> >  &sdhci0 {
>
> Hi Cody,
>
> Thanks for patch. The device tree in meta-xilinx is likely to be
> removed in the future due to the kernel providing a microzed device
> tree in v4.10 and newer.
>
> However to sort this out now for master and morty, we can just replace
> the device tree in meta-xilinx with the kernel one. However I just
> want to confirm that it solves your issue before I go ahead and make
> the change.
>
> Grab the device tree here:
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/
> linux-stable.git/plain/arch/arm/boot/dts/zynq-microzed.dts
>
> And copy the content into the device in the meta-xilinx layer, rebuild
> and let me know if it also solves the issue.
>
> Thanks,
> Nathan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170323/8a8b1b57/attachment.html>


More information about the meta-xilinx mailing list