PTP Time Sychronization

Topics about the Software of Revolution Pi
Post Reply
hydro-controls
Posts: 4
Joined: 15 Sep 2025, 02:39

PTP Time Sychronization

Post by hydro-controls »

For anyone interested, I have successfully enabled PTP on a RevPi Core S. Simple instructions:

1. From a shell in the Rev Pi:

$ sudo apt install chrony linuxptp
$ sudo systemctl enable timemaster

2. You will need to edit /etc/linuxptp/ptp4l.conf and /etc/linuxptp/timemaster.conf for your use case. At a minimum, the prepackaged /etc/linux/ptp/timemaster.conf file point to the incorrect chrony.conf file location, so that will need updating.
hydro-controls
Posts: 4
Joined: 15 Sep 2025, 02:39

Re: PTP Time Sychronization

Post by hydro-controls »

One additional note:

3. The PTP service (UDP ports 319 and 320) must also be enabled in the firewall. This can be done in cockpit, or at the shell:

$ sudo firewall-cmd --add-service=ptp
User avatar
nicolaiB
KUNBUS
Posts: 1131
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: PTP Time Sychronization

Post by nicolaiB »

Thanks for sharing this!
Nicolai
Post Reply