Re: [Linuxptp-users] ptp4l gives tx timestamp polling timeout issue
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Wolfgang H. <wh...@xi...> - 2021-03-30 18:04:54
|
Hi Amol, It has been a long time since I used this. I think I saw that error also at some point. I looked through my notes but could not find any detail on it. I attach a summary that may give a bit more detail that the old thread. I later upgraded the Zynq to Ubuntu 18 and found that Xilinx removed the emacps driver at some point; the last kernel to include it was release 17.4 and things worked ok with that. While unused, the functionality is still included in the system we released publicly. An SD card image is here: https://www.mediafire.com/file/u24pn07ggbjvw69/PN_U18_8GB_STD_022226.img/file You might be able to boot your Zedboard with this; I used the MicroZed. I can also provide the updated kernel functions upon request. Best regards, Wolfgang On 3/29/2021 6:09 AM, Dhanuka, Anmol via Linuxptp-users wrote: > > Hi, > > I am using TI DP83640 PHY with Xilinx Zedboard (with Ubuntu 16.04 > running on it) > > I have followed the steps mentioned in the following mail thread to > configure the Xilinx_emacps drivers to detect HW timestamps from PHY: > > https://linuxptp-users.narkive.com/i5cijFRH/linuxptp-on-zynq-with-dp83640 > <https://linuxptp-users.narkive.com/i5cijFRH/linuxptp-on-zynq-with-dp83640> > > However on running the following command “ptp4l -P -i eth0 -f > ./gPTP.cfg -m”, I get the following error: > > ptp4l[265621.845]: selected /dev/ptp0 as PTP clock > > ptp4l[265621.900]: port 1: INITIALIZING to LISTENING on INITIALIZE > > ptp4l[265621.900]: port 0: INITIALIZING to LISTENING on INITIALIZE > > *ptp4l[265623.000]: timed out while polling for tx timestamp* > > *ptp4l[265623.001]: increasing tx_timestamp_timeout may correct this > issue, but it is likely caused by a driver bug* > > *ptp4l[265623.001]: port 1: send peer delay request failed* > > ptp4l[265623.001]: port 1: LISTENING to FAULTY on FAULT_DETECTED > (FT_UNSPECIFIED) > > ptp4l[265639.120]: port 1: FAULTY to LISTENING on FAULT_CLEARED > > I tried increasing the “tx_timestamp_timeout” to 10ms, 100ms. But it > is not resolving the error > > Am I missing any step? > > Regards, > > Anmol > > > > _______________________________________________ > 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 |