Skip to content

Commit 8b6c328

Browse files
committed
Updates for OCPBUGS-28651
1 parent 56d47e8 commit 8b6c328

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

snippets/ptp_PtpConfigDualCardGmWpc.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
profile:
1010
- name: "grandmaster"
1111
ptp4lOpts: "-2 --summary_interval -4"
12-
phc2sysOpts: -r -u 0 -m -O -37 -N 8 -R 16 -s $iface_master -n 24
12+
phc2sysOpts: -r -u 0 -m -O -37 -N 8 -R 16 -s $iface_nic1 -n 24
1313
ptpSchedulingPolicy: SCHED_FIFO
1414
ptpSchedulingPriority: 10
1515
ptpSettings:
@@ -22,16 +22,16 @@ spec:
2222
LocalHoldoverTimeout: 14400
2323
MaxInSpecOffset: 100
2424
pins:
25-
"$iface_master_nic1":
26-
"U.FL2": "0 2"
27-
"U.FL1": "0 1"
28-
"SMA2": "0 2"
29-
"SMA1": "2 1"
30-
"$iface_master_nic2":
31-
"U.FL2": "0 2"
32-
"U.FL1": "0 1"
33-
"SMA2": "0 2"
34-
"SMA1": "1 1"
25+
"$iface_nic1":
26+
"U.FL2": "0 2"
27+
"U.FL1": "0 1"
28+
"SMA2": "0 2"
29+
"SMA1": "2 1"
30+
"$iface_nic2":
31+
"U.FL2": "0 2"
32+
"U.FL1": "0 1"
33+
"SMA2": "0 2"
34+
"SMA1": "1 1"
3535
ublxCmds:
3636
- args: #ubxtool -P 29.20 -z CFG-HW-ANT_CFG_VOLTCTRL,1
3737
- "-P"
@@ -79,7 +79,7 @@ spec:
7979
- "1"
8080
- "-e"
8181
- "SURVEYIN,600,50000"
82-
reportOutput: true
82+
reportOutput: true
8383
- args: #ubxtool -P 29.20 -p MON-HW
8484
- "-P"
8585
- "29.20"
@@ -99,30 +99,30 @@ spec:
9999
#example value of gnss_serialport is /dev/ttyGNSS_1700_0
100100
ts2phc.nmea_serialport $gnss_serialport
101101
leapfile /usr/share/zoneinfo/leap-seconds.list
102-
[$iface_master]
102+
[$iface_nic1]
103103
ts2phc.extts_polarity rising
104104
ts2phc.extts_correction 0
105-
[$iface_master_nic2]
105+
[$iface_nic2]
106106
ts2phc.master 0
107107
ts2phc.extts_polarity rising
108108
#this is a measured value in nanoseconds to compensate for SMA cable delay
109109
ts2phc.extts_correction -10
110110
ptp4lConf: |
111-
[$iface_master]
111+
[$iface_nic1]
112112
masterOnly 1
113-
[$iface_master_1]
113+
[$iface_nic1_1]
114114
masterOnly 1
115-
[$iface_master_2]
115+
[$iface_nic1_2]
116116
masterOnly 1
117-
[$iface_master_3]
117+
[$iface_nic1_3]
118118
masterOnly 1
119-
[$iface_master_nic2]
119+
[$iface_nic2]
120120
masterOnly 1
121-
[$iface_master_nic2_1]
121+
[$iface_nic2_1]
122122
masterOnly 1
123-
[$iface_master_nic2_2]
123+
[$iface_nic2_2]
124124
masterOnly 1
125-
[$iface_master_nic2_3]
125+
[$iface_nic2_3]
126126
masterOnly 1
127127
[global]
128128
#

0 commit comments

Comments
 (0)