4. 每台设备上可以同时启动多个gPTP程序,但是不能存在多个gPTP master,否则会自动切换; root@DevelLinux:~# ifconfig eth0 192.168.200.101/24 up && ptp4l -i eth0 -f gPTP.cfg-m & # 设备1 root@DevelLinux:~# ifconfig eth0 192.168.200.102/24 up && ptp4l -i eth0 -f gPTP.cfg-m & # ...
用于gPTP模式判断Sync是否超时,是否触发best master clock选择。
默认配置:linuxptp的默认配置文件通常位于packages/rfs/yoctopoky/build/tmp/work/core264pokylinux/linuxptp/2.0r0/linuxptp3.1.1/configs/default.cfg。修改配置:删除gPTP.cfg中的neighborPropDelayThresh 800配置,并将修改后的配置文件下载至/home/root目录。执行测试命令:在两台设备上分别执行测试...
使用linuxptp:默认配置位于packages/rfs/yocto-poky/build/tmp/work/core2-64-poky-linux/linuxptp/2.0-r0/linuxptp-3.1.1/configs/default.cfg。删除gPTP.cfg中的neighborPropDelayThresh 800配置,下载至/home/root目录。在两台设备上分别执行测试命令,覆盖默认配置部分选项。多台设备可同时启动gPTP...
gPTP Master and slave, autoselected using the Best Master Clock Algorithm (BMCA) $ sudo linuxptp.ptp4l -i eth0 -f /snap/linuxptp/current/etc/gPTP.cfg --step_threshold=1 -m Synchronise the system clock $ sudo linuxptp.phc2sys -s eth0 -c CLOCK_REALTIME --step_threshold=1 --transpo...
running in gPTP mode according to the 802.1AS-2011 standard. Setting this option to zero will disable the sync message timeout. The default is 0 or disabled. .TP .B transportSpecific The transport specific field. Must be in the range 0 to 255. The default is 0. .TP .B ...
gPTP.cfg config: make foreign_master_threshold configurable May 20, 2014 hwstamp_ctl.8 Remove trailing whitespaces. Feb 7, 2013 hwstamp_ctl.c hwstamp_ctl: explain ERANGE error better Mar 24, 2013 incdefs.sh Make the CFLAGS more robust. ...
linuxptp-1.6/gPTP.cfg linuxptp-1.6/hash.c linuxptp-1.6/hash.h linuxptp-1.6/hwstamp_ctl.8 linuxptp-1.6/hwstamp_ctl.c linuxptp-1.6/incdefs.sh linuxptp-1.6/linreg.c linuxptp-1.6/linreg.h linuxptp-1.6/linuxptp.IAB linuxptp-1.6/linuxptp.IAD linuxptp-1.6/linuxptp.IMB linuxptp-1.6/linux...
gPTP.cfg [global] gmCapable 1 priority1 248 priority2 248 logAnnounceInterval 0 logSyncInterval -3 syncReceiptTimeout 3 neighborPropDelayThresh 5000 min_neighbor_prop_delay -20000000 assume_two_step 1 path_trace_enabled 1 follow_up_info 1 ...
修改linxuptp包,打包文件系统时自动将gPTP.cfg拷贝到/usr/bin目录: diff --git a/meta/recipes-extra/linuxptp/linuxptp/gPTP.cfg b/meta/recipes-extra/linuxptp/linuxptp/gPTP.cfg new file mode 100644 ... diff --git a/meta/recipes-extra/linuxptp/linuxptp_3.1.1.bb b/meta/recipes-extra/linuxptp...