Hi Wolfgang,

Thanks for the info.

I am afraid that I cant use that PHY as I already have a board with uses a different PHY, plus I also need a 1Gb PHY. I think the problem is that I dont know enough about Linux to be able to create something custom. I did investigate the Xilinx driver so I have some idea of how its done. But I dont really want to have to hack their driver. I would rather have custom drivers for the time stamping and clock. I may have to try and find someone who knows more than me about Linux who can write the code.

BTW your setup seems to work very well, plus the hardware you are producing looks top notch.

Thanks

Jon


On 19/10/2018 20:03, Wolfgang Hennig wrote:
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




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

Reply via email to