diff --git a/SPECS/clknetsim-8b4842.tar.gz b/SPECS/clknetsim-8b4842.tar.gz new file mode 100644 index 0000000..de62aaf Binary files /dev/null and b/SPECS/clknetsim-8b4842.tar.gz differ diff --git a/SPECS/linuxptp-2.0.tgz b/SPECS/linuxptp-2.0.tgz new file mode 100644 index 0000000..a42e8c1 Binary files /dev/null and b/SPECS/linuxptp-2.0.tgz differ diff --git a/SPECS/linuxptp-testsuite-a7f6e1.tar.gz b/SPECS/linuxptp-testsuite-a7f6e1.tar.gz new file mode 100644 index 0000000..cd6d00a Binary files /dev/null and b/SPECS/linuxptp-testsuite-a7f6e1.tar.gz differ diff --git a/SPECS/phc2sys.service b/SPECS/phc2sys.service new file mode 100644 index 0000000..ff2f77e --- /dev/null +++ b/SPECS/phc2sys.service @@ -0,0 +1,11 @@ +[Unit] +Description=Synchronize system clock or PTP hardware clock (PHC) +After=ntpdate.service ptp4l.service + +[Service] +Type=simple +EnvironmentFile=-/etc/sysconfig/phc2sys +ExecStart=/usr/sbin/phc2sys $OPTIONS + +[Install] +WantedBy=multi-user.target diff --git a/SPECS/ptp4l.service b/SPECS/ptp4l.service new file mode 100644 index 0000000..fbb26d1 --- /dev/null +++ b/SPECS/ptp4l.service @@ -0,0 +1,12 @@ +[Unit] +Description=Precision Time Protocol (PTP) service +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple +EnvironmentFile=-/etc/sysconfig/ptp4l +ExecStart=/usr/sbin/ptp4l $OPTIONS + +[Install] +WantedBy=multi-user.target diff --git a/SPECS/timemaster.conf b/SPECS/timemaster.conf new file mode 100644 index 0000000..fd8e77e --- /dev/null +++ b/SPECS/timemaster.conf @@ -0,0 +1,33 @@ +# Configuration file for timemaster + +#[ntp_server ntp-server.local] +#minpoll 4 +#maxpoll 4 + +#[ptp_domain 0] +#interfaces eth0 +#delay 10e-6 + +[timemaster] +ntp_program chronyd + +[chrony.conf] +include /etc/chrony.conf + +[ntp.conf] +includefile /etc/ntp.conf + +[ptp4l.conf] + +[chronyd] +path /usr/sbin/chronyd + +[ntpd] +path /usr/sbin/ntpd +options -u ntp:ntp -g + +[phc2sys] +path /usr/sbin/phc2sys + +[ptp4l] +path /usr/sbin/ptp4l diff --git a/SPECS/timemaster.service b/SPECS/timemaster.service new file mode 100644 index 0000000..a6bda33 --- /dev/null +++ b/SPECS/timemaster.service @@ -0,0 +1,12 @@ +[Unit] +Description=Synchronize system clock to NTP and PTP time sources +After=chronyd.service ntpd.service ntpdate.service sntp.service network-online.target +Conflicts=chronyd.service ntpd.service phc2sys.service ptp4l.service +Wants=network-online.target + +[Service] +Type=simple +ExecStart=/usr/sbin/timemaster -f /etc/timemaster.conf + +[Install] +WantedBy=multi-user.target