Forum Discussion
Hi Jonel,
Sorry for the delay, was wondering anyone contacted you as I forwarded your queries to our NA sales/sales tech team as I did not get any reply back from them and we also had a few public holidays on our end.
Anyway for your questions
Our FPGA code for Ethernet is connected to the HPS with an HPS wrapper, whereas in the Intel Eval Kit, the Tri-Speed MAC soft core is used. Is there any advantage to using the Tri-Speed MAC in this case?
Support wise, we have reference design example coverage for Tri Speed MAC and also user guide for it. Tri Speed MAC is also easier to achieve the rated speed .
2. We have identified a possible cause of the issue—using ethtool, we observed that the link is running at 10 Mbps half-duplex, even though we intended it to be 100 Mbps full-duplex.
Did you try forcing to 100Mbps using ethtool (eg. ethtool -s eth0 speed 100 duplex full autoneg off to force to 100Mbps to see whether that is achievable) , and could you provide the ethtool report.
Some possible causes: Assuming no issues with the ethernet cable, is the auto negotiating enabled, or any issues with it as when auto negotiating fails, it will default to 10Mbps? Could you also check on the PHY reference clock is set to the correct frequency and clock source is stable. Just wondering also whether the PHY drivers are also loaded in Linux (probably ethtool can show this info or via dmesg)
Thanks
Regards
Kian
- Jonel13 months ago
New Contributor
Hello Kian,
Please see the attached file for the report. I hope you can find something useful in it and assist. I've also included the dmesg log for reference.
dmesg | grep -i phy,
[0.175224] soc:usbphy@0 supply vcc not found, using dummy regulator
[0.811934] socfpga-dwmac ff700000.ethernet: snps,phy-addr property is deprecated
[0.820253] libphy: stmmac: probed
[0.820260] eth0: PHY ID 00221430 at 1 IRQ POLL (stmmac-0:01)
[0.820265] eth0: PHY ID 00221430 at 2 IRQ POLL (stmmac-0:02)
[0.820270] eth0: PHY ID 00221430 at 3 IRQ POLL (stmmac-0:03) activeWe need your support