[meta-xilinx] Fix for Microzed ethernet issue: no PHY found
Nathan Rossi
nathan at nathanrossi.com
Wed Mar 22 07:07:52 PDT 2017
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 = <ðernet_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
More information about the meta-xilinx
mailing list