Dear Richard,
Thank you for your response.
We got nvidia Jetson NX devices that have support of hardware PTP on
ethernet lan. We got also Ardu Simple SimpleRT2K unit that has the
timepulse.
Before we tested two Jetson NX connection over LAN with the method
illustrated below.
ethtool -T eth0 Time stamping parameters for eth0: Capabilities:
hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE) software-transmit
(SOF_TIMESTAMPING_TX_SOFTWARE) hardware-receive
(SOF_TIMESTAMPING_RX_HARDWARE) software-receive
(SOF_TIMESTAMPING_RX_SOFTWARE) software-system-clock
(SOF_TIMESTAMPING_SOFTWARE) hardware-raw-clock
(SOF_TIMESTAMPING_RAW_HARDWARE) PTP Hardware Clock: 0 Hardware Transmit
Timestamp Modes: off (HWTSTAMP_TX_OFF) on (HWTSTAMP_TX_ON) Hardware Receive
Filter Modes: none (HWTSTAMP_FILTER_NONE) ptpv1-l4-sync
(HWTSTAMP_FILTER_PTP_V1_L4_SYNC) ptpv1-l4-delay-req
(HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) ptpv2-l4-sync
(HWTSTAMP_FILTER_PTP_V2_L4_SYNC) ptpv2-l4-delay-req
(HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ) ptpv2-l2-sync
(HWTSTAMP_FILTER_PTP_V2_L2_SYNC) ptpv2-l2-delay-req
(HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ) ptpv2-event
(HWTSTAMP_FILTER_PTP_V2_EVENT)


----------------------------------------------------

*Host side*
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth0 0.0.0.0
ip addr add 10.0.0.1/24 dev eth0
ip link set dev eth0 up
timedatectl set-ntp false
date 010100002018
phc_ctl /dev/ptp0 set
phc_ctl /dev/ptp0 get
ptp4l -f gPTP.cfg -i eth0 -p /dev/ptp0 -m

*DUT side*
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth0 0.0.0.0
ip addr add 10.0.0.2/24 dev eth0
ip link set dev eth0 up
timedatectl set-ntp false
phc_ctl /dev/ptp0 get
ptp4l -f gPTP.cfg -i eth0 -p /dev/ptp0 -s -m

--------------------------------------------------

-the question is how to add to this scenario /dev/pps0 so that it adds more
precision

- how shall I run the commands above to use the pps0? with linuxptp?



Regards,

Andrei Volodin

On Wed, Jun 24, 2020 at 2:49 AM Richard Cochran <richardcoch...@gmail.com>
wrote:

> On Tue, Jun 23, 2020 at 04:55:35PM +0000, Andrey Volodin wrote:
> > Could you extend on the best way to add PPS input to linuxptp, please?
>
> There are different ways to use a PPS input.  What are you trying to do?
>
> > does linuxptp support PPS input?
>
> Yes.
>
> Thanks,
> Richard
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to