|
7 | 7 |
|
8 | 8 | [Precision Time Protocol](https://en.wikipedia.org/wiki/Precision_Time_Protocol) |
9 | 9 | (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] |
16 | 21 | > The ptpd2 implementation does a startup check to make sure it is run as the |
17 | 22 | > root user |
18 | 23 | > ([startup.c#L748-L753](https://github.com/ptpd/ptpd/blob/42f68d8818304e0bc3873550317c9b302d4efff6/src/dep/startup.c#L748-L753)). |
19 | 24 | > With the *root removal* introduced in |
20 | 25 | > [AXIS OS 12](https://help.axis.com/en-us/axis-os-release-notes#axis-os-12), |
21 | 26 | > it is no longer allowed to run an ACAP application as the root user. Hence |
22 | 27 | > 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. |
27 | 30 | > *However, this repo is still a valid example of how to cross-compile and |
28 | 31 | > package other programs with ACAP, as long as they do not need to be run as |
29 | 32 | > root.* |
|
0 commit comments