Hi Jon,
I used a Zynq with LinuxPTP but with a DP83640 PTP PHY to do the time
stamping. The DP83640 is supported by LinuxPTP. It required recompiling
the Zynq Linux kernel with some PTP related options and redirecting the
Zynq Ethernet controller MII to the PL where the DP83640 was connected.
This way LinuxPTP has access to the PHY time stamp registers etc on the
DP83640. You can also access special PTP related control registers on
the DP83640 with something like mii-tool.
If you implement your own time stamping in the PL, you would have to
make an I/O connection from the PL to Linux on the ARM/PS and make that
available to the LinuxPTP drivers. I liked the xillybus I/O for the
former (http://xillybus.com/xillinux), no experience how to approach the
latter.
Please see my summary notes here :
http://support.xia.com/default.asp?W801#toc_8 or let me know if you have
any specific questions.
Cheers,
Wolfgang
On 10/14/2018 1:22 AM, Jon Bean wrote:
Hello
I want to use ptp4l with an embedded board that is based on a Xilinx
Zynq chip. I am developing some IP to do the PTP time stamping and
also the RTC. What I need is information on how I would integrate
these two IPs so that ptp4l can read time stamps and also read and
write the RTC. I guess I would need to write some drivers to allow
ptp4l to interface with the IPs, but I don't know the format of these
drivers. Are there some documentation or example drivers to do this? I
am not really a Linux expert, but could get something working with
some examples.
Thanks
Jon
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users
--
Wolfgang Hennig, Ph.D.
XIA LLC
31057 Genstar Rd.
Hayward CA 94544
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users