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 <[email protected]>
wrote:

> On 29-07-16 09:21, Edward Wingate wrote:
> > On Thu, Jul 28, 2016 at 10:15 PM, Mike Looijmans
> > <[email protected]> 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@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:
>
> [email protected]
>
> 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!
>
>
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to