Re: [Linuxptp-users] PHYs supporting HW timestamping
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Wolfgang H. <wh...@xi...> - 2019-01-23 17:33:16
|
I went through this some time ago with a Zynq SoC (MicroZed board). Attached is a summary of the steps I took, perhaps some of it also applies to your board. To generate the PPS signal from the DP83640 GPIO you would need to configure its internal registers. I found one can do that either in the Kernel driver dp83640.c (fixed setup) or with mii-tool (more interactively). My customized version of mii-tool is available at http://support.xia.com/default.asp?W772 Wolfgang On 1/23/2019 4:47 AM, Arthur Dent wrote: > Hi, thanks for the information on alternative 1 Gb PHYs (VSC8572 and LAN7430). > A DP83640 evaluation board arrived today so I have decided to start out with that to see what kind of 1PPS accuracy I can get, and later decide if a 1 Gb interface is actually required for my application. > BR > AD > > > Sent: Tuesday, January 22, 2019 at 12:26 AM > From: "David Mirabito"<da...@ar...> > To: "Arthur Dent"<art...@cy...> > Cc: lin...@li... > Subject: Re: [Linuxptp-users] PHYs supporting HW timestamping > > It's not on the list (probably due to not being ptp-ready "out of the box" under Linux) but Microsemi's VSC8572 (nee Vitesse) and family could do the job (for 2-step PTP). > https://www.microsemi.com/product-directory/gigabit-ethernet-phys/3905-vsc8572 > > > For various reasons we ended up not using this feature so unfortunately I can't comment on the effort required to make it happen. > Whilst there seems to be a Linux phylib driver for the part, last I checked timestamping wasn't implemented so there could be some fair bringup work. > > YMMV, but the part exists and hopefully is a useful datapoint in your search. > > - David > > On Mon, 21 Jan 2019 at 20:08, Arthur Dent<art...@cy...[mailto:art...@cy...]> wrote:Hi > On my Cyclone V SoC board I have ptp running with HW timestamping in MAC (stmmac), but I need even better accuracy, i.e. hardware timestamping in PHY. Is my only option to use TI’s DP83640 PHY (which only supports 100Mb) or am I reading the information on http://linuxptp.sourceforge.net[http://linuxptp.sourceforge.net] 0incorrectly? > BR > AD > > > _______________________________________________ > Linuxptp-users mailing list > Lin...@li...[mailto:Lin...@li...] > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > > > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users -- Wolfgang Hennig, Ph.D. XIA LLC 31057 Genstar Rd. Hayward CA 94544 |