Linux PTP

作者: semiscone | 来源:发表于2021-10-19 14:10 被阅读0次

SOFTWARE

Master

william@bili:~/workspace/nt3/linuxptp$ sudo ptp4l -i eno1 -m -S

Slave

william@aurix-builder:~$ sudo ptp4l -i eno1 -m -S -s
ptp4l[1049083.782]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[1049083.783]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[1049084.180]: port 1: new foreign master a4ae12.fffe.f4223a-1
ptp4l[1049088.180]: selected best master clock a4ae12.fffe.f4223a
ptp4l[1049088.180]: foreign master not using PTP timescale
ptp4l[1049088.180]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[1049089.188]: master offset     218482 s0 freq   +3978 path delay    119562
ptp4l[1049090.188]: master offset     219634 s0 freq   +3978 path delay    119562
ptp4l[1049091.188]: master offset     192118 s0 freq   +3978 path delay    129775
ptp4l[1049092.188]: master offset     209181 s0 freq   +3978 path delay    120544

Hardware

Master

^Cwilliam@bili:~/workspace/nt3/linuxptp$ sudo ptp4l -i eno1 -m -H
ptp4l[11379.251]: selected /dev/ptp0 as PTP clock
ptp4l[11379.252]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[11379.252]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[11381.193]: port 1: new foreign master 006074.ffff.01aa96-2
ptp4l[11385.191]: selected best master clock 006074.ffff.01aa96
ptp4l[11385.191]: assuming the grand master role
ptp4l[11385.191]: port 1: LISTENING to GRAND_MASTER on RS_GRAND_MASTER

Slave


william@aurix-builder:~/workspace/linuxptp$ sudo ptp4l -i eno1 -m -H -s 
ptp4l[1050177.989]: selected /dev/ptp0 as PTP clock
ptp4l[1050177.990]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[1050177.990]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[1050178.168]: port 1: new foreign master 006074.ffff.01aa96-2
ptp4l[1050182.169]: selected best master clock 006074.ffff.01aa96
ptp4l[1050182.169]: assuming the grand master role
ptp4l[1050182.169]: port 1: master state recommended in slave only mode
ptp4l[1050182.169]: port 1: defaultDS.priority1 probably misconfigured
...
ptp4l[1050294.180]: port 1: new foreign master a4ae12.fffe.f4223a-1
ptp4l[1050294.758]: selected local clock a08cfd.fffe.e1e77b as best master
ptp4l[1050298.180]: selected best master clock a4ae12.fffe.f4223a
ptp4l[1050298.181]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[1050299.188]: master offset 3504119699 s0 freq      +0 path delay     42425
ptp4l[1050300.188]: master offset 3504108699 s1 freq  -11000 path delay     42425
ptp4l[1050301.188]: master offset      -1201 s2 freq  -12201 path delay     42425
ptp4l[1050301.188]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[1050302.188]: master offset       1138 s2 freq  -10222 path delay     41103
ptp4l[1050303.188]: master offset       1564 s2 freq   -9455 path delay     39782
ptp4l[1050304.188]: master offset       1722 s2 freq   -8827 path delay     39557
...
ptp4l[1050458.199]: master offset      -1438 s2 freq  -12391 path delay     38996
ptp4l[1050459.199]: master offset       1015 s2 freq  -10369 path delay     38866
ptp4l[1050460.199]: master offset      -1109 s2 freq  -12189 path delay     38945

相关文章

  • Linux PTP

    SOFTWARE Master Slave Hardware Master Slave

  • PTP(Picture Transfer Protocol)

    图片传输协议英文全称为:picture transfer protocol,缩写为ptp。 ptp是由柯达与微软协...

  • PTP BMCA

    TL;DR BMCA主要分为两部分: 使用data set...

  • 7JMS的PTP模型

    JMS PTP 模型, PTP模型是基于队列的,生产者发消息到队列,消费者从队列接收消息,队列的存在使得消息的...

  • PTP (Precise Time Protocol) 使用

    为何会出现PTP NTP的精度很低,只能达到毫秒级别的精度,那么PTP就是为了克服NTP精度不高的问题而出现的。P...

  • The PTP Telecom Profile for Freq

    2018-12-09 The PTP Telecom Profile for Frequency Synchron...

  • G8275.1 简述

    此recommendation的全名为 PTP telecom profile for phase/time sy...

  • PTP timing characterization

    From Clause 7.7 对于Announce, Sync, Delay_Req, Pdelay_Req...

  • PTP message types

    PTP中定义了event和general两种message。event message在发送以及接收时都需要打上时...

  • PTP multicast address

    根据IEEE 1588 Annex F里的内容 PTP msg默认应该使用以下表格中的MAC address。 0...

网友评论

      本文标题:Linux PTP

      本文链接:https://www.haomeiwen.com/subject/tbraoltx.html