Hi, I am doing a project that needs high precision time sync between several Xavier, so I tryed to use linuxptp to enable hardware time stamping via the Linux SO_TIMESTAMPING socket option. But I got no lucky, after I enable the hardware time stamping option, Xavier’s ethernet dead, with no more RX interrupt, reboot Xavier to make ethernet work again.
So, is Xavier’s ethernet fully support hardware Precision Time Protocol (PTP) ?
In JetsonXavierSOMDatSheet_v0.9.PDF, 1.9.8 RGMII, says yes, maybe ethernet driver mod is needed?
BTW, PTPd with software time stamping worke well.
kaya@K:~/linuxptp$ sudo ./ptp4l -i eth0 -m -S
ptp4l[58508.071]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[58508.071]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[58514.906]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[58514.907]: selected local clock 00044b.fffe.cc3c7a as best master
ptp4l[58514.908]: assuming the grand master role
nvidia@N:~/linuxptp$ sudo ./ptp4l -i eth0 -m -H
ptp4l[780901.106]: selected /dev/ptp0 as PTP clock
ptp4l[780901.107]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[780901.107]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[780902.145]: port 1: new foreign master 00044b.fffe.cc3c7a-1
ptp4l[780906.147]: selected best master clock 00044b.fffe.cc3c7a
ptp4l[780906.147]: assuming the grand master role
ptp4l[780906.148]: port 1: LISTENING to GRAND_MASTER on RS_GRAND_MASTER