On 6/12/2018 2:51 AM, Arthur Dent wrote:
A brief update:
On the Cyclone V SoC device the clk_ptp_ref can either be the internal emac 
clock (derivative of the osc1_clk) or an external clock (e.g. from the fpga).
I need to use an external clock, but the stmmac drivers in kernel version 
4.1.22 appears to only support the internal clock.
This seems to be fixed in later kernel versions (e.g .4.18), but when using 
version 4.18 linuxptp generates error messages in my system:
ptp4l -m -q -i eth0 -H -s:
socfpga-dwmac ff702000.ethernet eth0: No support for HW time stamping
ptp4l[36.915]: ioctl SIOCSHWTSTAMP failed: Operation not supported
ptp4l[36.915]: port 1: INITIALIZING to FAULTY on FAULT_DETECTED
(FT_UNSPECIFIED)
ptp4l[36.915]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
G'day Arthir,

Haven't used the ptp functional for a while.
All used to work on the latest kernel for SocFPGA C-V.

What does "ethtool -T eth0" show for the capabilities?



--
Regards
Phil Reid

ElectroMagnetic Imaging Technology Pty Ltd
Development of Geophysical Instrumentation & Software
www.electromag.com.au

3 The Avenue, Midland WA 6056, AUSTRALIA
Ph: +61 8 9250 8100
Fax: +61 8 9250 7100
Email: pr...@electromag.com.au


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to