Dear Richard,
I am just wondering if it is possible to extend at linuxptp slave to
openvpn network via the tun interface the delivery of the software ptp
somehow.
" ethtool -T tun0
Time stamping parameters for tun0:
Capabilities:
        software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
        software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
        software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none
"
reference
https://forums.developer.nvidia.com/t/time-sensitive-networking-tsn-on-nx/125189/111?u=andrey1984
Regards,
Andrei Volodin

On 6/24/20, Andrey Volodin <andrevolo...@gmail.com> wrote:
> 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
>
>
>
> 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
>>
>


-- 
This message and any attachments are solely for the use of intended
recipients. The information contained herein may include trade secrets,
protected health or personal information, privileged or otherwise
confidential information. Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and
may be unlawful. If you are not an intended recipient, you are hereby
notified that you received this email in error, and that any review,
dissemination, distribution or copying of this email and any attachment is
strictly prohibited. If you have received this email in error, please
contact the sender and delete the message and any attachment from your
system. Thank you for your cooperation


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

Reply via email to