Skip to content

Commit a9d27eb

Browse files
committed
Update PTP post, missing property + overview image
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent d90b4d4 commit a9d27eb

2 files changed

Lines changed: 85 additions & 2 deletions

File tree

‎_posts/2026-04-07-ptp-time-synchronization.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
title: "PTP Time Synchronization"
33
author: troglobit
44
date: 2026-04-07 10:00:00 +0200
5+
last_modified_at: 2026-09-14 12:00:00 +0100
56
categories: [examples]
67
tags: [ptp, ieee1588, gptp, timing, cli, marvell]
8+
image:
9+
path: /assets/img/ptp-topology.svg
10+
alt: A grandmaster and a time-receiver synchronised over PTP on eth0
11+
show_in_post: false
712
---
813

914
The Precision Time Protocol (PTP, IEEE 1588) synchronizes clocks across a
@@ -67,8 +72,14 @@ to verify before committing to a setup.
6772

6873
### Ordinary Clock — Time-Receiver
6974

70-
The simplest setup: one device tracks time from another. Configure the
71-
**time-receiver** first.
75+
The simplest setup: one device tracks time from another.
76+
77+
![](/assets/img/ptp-topology.svg){: #fig1 width="700" }
78+
_**Figure 1**: Two ordinary clocks, back to back on `eth0`. The
79+
grandmaster wins the election on `priority1`, the receiver is pinned
80+
with `time-receiver-only`._
81+
82+
Configure the **time-receiver** first.
7283

7384
```console
7485
admin@receiver:/> configure
@@ -114,6 +125,7 @@ PTP Instance 0 Ordinary Clock · domain 0
114125
Clock class : cc-time-receiver-only
115126
GM clock class : cc-primary-sync
116127
Time source : internal-oscillator
128+
Mode : time-receiver only
117129
PTP timescale : yes
118130
UTC offset : 37 s
119131
Time traceable : yes

‎assets/img/ptp-topology.svg‎

Lines changed: 71 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)