c->no_adj = config_get_int(priv->cfg, NULL, "free_running"); err = asprintf(&c->name, "/dev/ptp%d", phc_index); if (err < 0) { free(c); posix_clock_close(clkid); return NULL; }LIST_INSERT_HEAD(&priv->clocks, c, list); ...
free_running Don't adjust the local clock if enabled. The default is 0 (disabled). freq_est_interval The time interval over which is estimated the ratio of the local and peer clock frequencies. It is specified as a power of two in seconds. The default is 1 (2 seconds). ...
Download linuxptp 1.6 for Linux - A free implementation of the Precision Time Protocol (PTP) on GNU/Linux platforms
* the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of ...
PTP Slave and Master mode Supports P2P delay measurement Supports E2E delay measurement (GMAC, DualEMAC (slave only)) PTP over IPv4 (Annex D) (GMAC, DualEMAC (slave only)) PTP over 802.3 (Annex F) SAN Clock Ordinary Clock (GMAC/PRU port) ...
(PTP) Standardized protocol, IEEE1588 Synchronize the clocks in local computing systems and devices Microsecond to sub-microsecond accuracy and precision Administration free Capability to autonomously decide time server(master) • called Best Master Clock Algorithm (BMCA) ...
1016 Can not check wait to restore timer running state, no matching master found for master port ID: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x.%d Cannot find registered G.8265.1 master in the qualified or unqualified master list, cannot check wait to restore timer state. 1017 Can not clear ...
2 is returned on memory allocation errors during startup. For all other error conditions such as configuration errors, running ptpd2 in help mode or with no parameters, on self shutdown, network startup errors and when attempting to run ptpd2 as non-root - 1 is returned. ...
If the PTP master clock is an AM572x OC running linuxptp ptp4l, and for testing purpose, a line such as clockClass6 in the [global] section of the OC’s linuxptp configuration file can be helpful to make sure that the OC will be a master clock. Refer toPTP Ordinary Clockfor start...
free(m); }static int ts2phc_nmea_master_getppstime(struct ts2phc_master *master, struct timespec *ts) { struct ts2phc_nmea_master *m = container_of(master, struct ts2phc_nmea_master, master); tmv_t delay_t1, delay_t2, local_t1, local_t2, rmc; ...