[meta-xilinx] Ethernet Issues on Custom Board using PS GEM?

Peter Crosthwaite crosthwaitepeter at gmail.com
Thu Dec 3 14:11:49 PST 2015


On Thu, Dec 3, 2015 at 9:17 AM, Giordon Stark <gstark at cern.ch> wrote:
> Hi all,
>
> We're using a custom board with the ZC706 chip.
>
> Device Tree is here:
> https://github.com/kratsg/meta-l1calo/blob/940fa27aa6c9a456ccca7ec60351c26287f9f671/conf/machine/boards/preprototype/system.dts
>
> Notice that we had to modify it from the dts generated by Xilinx SDK since
> it didn't have any details about the PHY chip (not sure if that was
> intentional or not;
> https://github.com/kratsg/meta-l1calo/commit/940fa27aa6c9a456ccca7ec60351c26287f9f671).
>

It is quite intentional. Xilinx SDK can only manages things that are
on the chip, which the ethernet phy is not. Anything that is off chip
but needs to be in the dts has to be added afterwards or via a dtsi
setup.

> Here is the log of the board's bootup:
> https://gist.github.com/anonymous/64ab1f335514ff246d14
>
> Notice line 163
> (https://gist.github.com/anonymous/64ab1f335514ff246d14#file-gistfile1-txt-L163)
> and lines 234-238
> (https://gist.github.com/anonymous/64ab1f335514ff246d14#file-gistfile1-txt-L234-L238)
> seem to point to issues with the ethernet.
>

I would just grep that message from 163 in kernel source to see why it
doesn't like your device tree binding.

Regards,
Peter

> At line 325, we looked at ifconfig
> (https://gist.github.com/anonymous/64ab1f335514ff246d14#file-gistfile1-txt-L325)
> which seems like it's showing up.
>
> Tried assigning an IP address at line 362
> (https://gist.github.com/anonymous/64ab1f335514ff246d14#file-gistfile1-txt-L362).
>
> Lines 382-388 show the failed pings
> (https://gist.github.com/anonymous/64ab1f335514ff246d14#file-gistfile1-txt-L382-L388)
> - we have the board plugged into a router along with a computer at
> 192.168.0.3.
>
> Closer to the end, we tried restarting the networking interfaces which seems
> to have failed.
>
>  I saw a previous posting here with changes that I'm going to try applying:
> https://lists.yoctoproject.org/pipermail/meta-xilinx/2015-April/000959.html
> which is the following commit in my project
> (https://github.com/kratsg/meta-l1calo/commit/69d89d1fc9e2489e90676569c8095509f9167226).
>
> If anyone has any more information about what's happening, that would be
> helpful, thanks!
>
> Giordon
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>



More information about the meta-xilinx mailing list