[meta-xilinx] Help with ethernet0 device tree node

Edward Wingate edwingate8 at gmail.com
Fri Jul 29 13:49:48 PDT 2016


Thank you Mike.  As I suspected, it's still broken when changing link speed
that way.

If anyone would confirm their Linux built using meta-xilinx can
change/re-negotiate eth0 link speed from 1Gbps to 100Mbps, I'd appreciate
it very much.  I'm using a custom Zynq-7020 board and the xemacps driver.
As my original message shows, xemacps driver thinks it is successful in
changing the clock speed to 25 MHz for 100 Mbps operation.



On Fri, Jul 29, 2016 at 1:20 AM, Mike Looijmans <mike.looijmans at topic.nl>
wrote:

> On 29-07-16 09:21, Edward Wingate wrote:
> > On Thu, Jul 28, 2016 at 10:15 PM, Mike Looijmans
> > <mike.looijmans at topic.nl> wrote:
> >>
> >> If you use ethtool to change the speed, only change the autonegotiation
> mask
> >> (0x0F for 10/100 only). Just forcing the speed to 100 usually doesn't
> work
> >> because without negotiation enabled, the other side won't know about it.
> >
> > What ethtool options will set the autonegotiation mask?  I only see
> > options to turn on/off autonegotiation.  I will try, but regardless,
> > starting up plugged into a 100Mbps switch, or unplugging from 1Gbps
> > switch and plugging into 100Mbps switch also doesn't work.
>
> To go to 100Mbps mode:
>
> ethtool -s eth0 advertise 0x0f
>
> Back to gigabit:
>
> ethtool -s eth0 advertise 0x3f
>
>
> On the mpsoc this is broken too, but I guess that's just work in
> progress...
>
> root at zcu102-zynqmp:~# ethtool -s eth0 advertise 0x0f
> macb ff0e0000.ethernet eth0: link down
> macb ff0e0000.ethernet eth0: unable to generate target frequency: 25000000
> Hz
>
>
>
>
> Kind regards,
>
>
>
> Mike Looijmans
>
> System Expert
>
>
>
>
>
> *TOPIC Products*
>
>
>
>
>
> Materiaalweg 4
>
>
>
>
>
> 5681 RJ Best
>
> T:
>
> +31 (0) 499 33 69 69
>
> Postbus 440
>
> E:
>
> mike.looijmans at topicproducts.com
>
> 5680 AK Best
>
> W:
>
> www.topicproducts.com
> The Netherlands
>
> <https://www.facebook.com/TopicProducts>
> <https://twitter.com/TopicProducts>
> <https://www.linkedin.com/company/topic-embedded-products>
> Please consider the environment before printing this e-mail
>
> http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/">Topic
> zoekt gedreven (embedded) software specialisten!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20160729/97d41e46/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image88b09d.JPG
Type: image/jpeg
Size: 1088 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20160729/97d41e46/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageac9430.JPG
Type: image/jpeg
Size: 1060 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20160729/97d41e46/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagebf390d.JPG
Type: image/jpeg
Size: 1087 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20160729/97d41e46/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image85ad6b.PNG
Type: image/png
Size: 9075 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20160729/97d41e46/attachment.png>


More information about the meta-xilinx mailing list