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
网友评论