Skip to content

Commit 1da07a7

Browse files
committed
README.md: Add info about PTP and AXIS OS 12.7
Change-Id: I3c52fe012a6fed9fd36fa1ed570a9a1c32c317f6 Signed-off-by: Joakim Roubert <joakimr@axis.com>
1 parent eaac0d2 commit 1da07a7

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,26 @@
77

88
[Precision Time Protocol](https://en.wikipedia.org/wiki/Precision_Time_Protocol)
99
(PTP) comes in handy in use cases where time synchronization with high
10-
precision is needed. PTP open source implementations exist, were we use
11-
[ptpd2](https://sourceforge.net/projects/ptpd2/) here: this repository
12-
cross-compiles it and packages it as an Axis
13-
[ACAP](https://www.axis.com/products/acap) application.
14-
15-
> [!IMPORTANT]
10+
precision is needed. As of
11+
[AXIS OS 12.7](https://help.axis.com/en-us/axis-os-release-notes#axis-os-12-7),
12+
PTP is a standard feature in AXIS OS, but for devices running
13+
[AXIS OS LTS 2024 11.11](https://help.axis.com/en-us/axis-os) or older this
14+
repository enables PTP functionality using
15+
[ACAP](https://www.axis.com/products/acap)
16+
to cross-compile and package
17+
the open source PTP implementation
18+
[ptpd2](https://sourceforge.net/projects/ptpd2/).
19+
20+
> [!NOTE]
1621
> The ptpd2 implementation does a startup check to make sure it is run as the
1722
> root user
1823
> ([startup.c#L748-L753](https://github.com/ptpd/ptpd/blob/42f68d8818304e0bc3873550317c9b302d4efff6/src/dep/startup.c#L748-L753)).
1924
> With the *root removal* introduced in
2025
> [AXIS OS 12](https://help.axis.com/en-us/axis-os-release-notes#axis-os-12),
2126
> it is no longer allowed to run an ACAP application as the root user. Hence
2227
> this ACAP packaging of the unmodified ptpd2 executable needs to be run on
23-
> AXIS OS
24-
> [LTS 2024 11.11](https://help.axis.com/en-us/axis-os-release-notes#lts-2024-11-11)
25-
> (supported until 2029-12-31) or older. For newer products released on AXIS OS
26-
> 12 and newer, alternative PTP options must be used.
28+
> older versions of AXIS OS (and with PTP being an integral part of AXIS OS
29+
> 12 an newer, there is also no need for th.
2730
> *However, this repo is still a valid example of how to cross-compile and
2831
> package other programs with ACAP, as long as they do not need to be run as
2932
> root.*

0 commit comments

Comments
 (0)