From 211b8f27415941102f4dbf28361cda857edd71f4 Mon Sep 17 00:00:00 2001 From: MD Danish Anwar Date: Thu, 9 Jul 2026 11:51:41 +0530 Subject: [PATCH] docs(linux): Update linuxptp clone URL and branch for HSR/PRP PTP Update the linuxptp repository URL from the bigeasy fork to the mda fork, and update the branch from hsr_prp_v2_plus to hsr_prp_ptp. Also remove the now-unnecessary config file patching steps. Signed-off-by: MD Danish Anwar --- .../Kernel_Drivers/Network/HSR_PRP_PTP.rst | 22 +++++-------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst index ae9b6dcb8..65f3ef492 100644 --- a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst +++ b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst @@ -4,8 +4,8 @@ HSR and PRP PTP support ======================= -The `linuxptp-hsr `_ -implementation on the ``hsr_prp_v2_plus`` branch supports PTP (Precision Time Protocol) +The `linuxptp-hsr-prp `_ +implementation on the ``hsr_prp_ptp`` branch supports PTP (Precision Time Protocol) synchronization over High-availability Seamless Redundancy (HSR) and Parallel Redundancy Protocol (PRP) interfaces. @@ -19,21 +19,9 @@ Clone linuxptp-hsr: .. code-block:: console - git clone https://git.kernel.org/pub/scm/linux/kernel/git/bigeasy/linuxptp-hsr.git - cd linuxptp-hsr - git checkout hsr_prp_v2_plus - -Patch the config files with the actual interface names and the P2P destination MAC -address. The config files use INI-style sections where ``[eth1]`` and ``[eth2]`` -denote the two physical interfaces. The first command appends the ``p2p_dst_mac`` -key (destination MAC for P2P delay-request messages) into the ``[global]`` -section just after the ``delay_mechanism`` key. The second command replaces the -``[eth1]`` and ``[eth2]`` section headers with the actual interface names: - -.. code-block:: console - - sed -i '/^delay_mechanism/a p2p_dst_mac 01:1B:19:00:00:01' configs/-master.cfg configs/-slave.cfg - sed -i 's/^\[eth1\]/[]/; s/^\[eth2\]/[]/' configs/-master.cfg configs/-slave.cfg + git clone https://git.kernel.org/pub/scm/linux/kernel/git/mda/linuxptp-hsr-prp.git + cd linuxptp-hsr-prp + git checkout hsr_prp_ptp Build and install: