@@ -188,169 +188,3 @@ Multicast MAC address can be added/deleted using ip maddr commands or Linux sock
188188.. code-block :: console
189189
190190 # ip maddr del 01:00:5e:00:00:05 dev hsr0
191-
192- .. ifconfig :: CONFIG_part_variant in ('AM64X', 'AM65X')
193-
194- .. rubric :: PTP Ordinary Clock
195-
196- PTP Master Clock
197-
198- The PTP Ordinary Clock (OC) implementation is provided by the linuxptp application.
199- The following command should be executed for master mode clock.
200-
201- .. code-block :: console
202-
203- ptp4l -f gm_hsr0.cfg -m
204-
205- The gm_hsr0.cfg is given below
206-
207- .. code-block :: console
208-
209- root@am65xx-evm:~# cat gm_hsr0.cfg
210- [global]
211- sanity_freq_limit 0
212- step_threshold 0.00002
213- tx_timestamp_timeout 20
214-
215- domainNumber 0
216- priority1 127
217- priority2 128
218- slaveOnly 0
219-
220- twoStepFlag 1
221- summary_interval 0
222- doubly_attached_clock 1
223-
224- [hsr0]
225- redundancy 1
226- delay_mechanism P2P
227- network_transport L2
228-
229- [eth1]
230- redundancy 1
231- redundancy_master_interface hsr0
232- redundancy_slave_number 1
233-
234- logAnnounceInterval 0
235- logSyncInterval 0
236- logMinPdelayReqInterval 0
237- announceReceiptTimeout 3
238- syncReceiptTimeout 2
239-
240- delay_mechanism P2P
241- network_transport L2
242- egressLatency 726
243- ingressLatency 186
244- fault_reset_interval 0
245-
246- [eth2]
247- redundancy 1
248- redundancy_master_interface hsr0
249- redundancy_slave_number 2
250-
251- logAnnounceInterval 0
252- logSyncInterval 0
253- logMinPdelayReqInterval 0
254- announceReceiptTimeout 3
255- syncReceiptTimeout 2
256-
257- delay_mechanism P2P
258- network_transport L2
259- egressLatency 726
260- ingressLatency 186
261- fault_reset_interval 0
262-
263- .. rubric :: PTP Slave Clock
264-
265- The following command should be executed for slave mode clock.
266-
267- .. code-block :: console
268-
269- ptp4l -f oc_hsr0.cfg -m -s
270-
271- The oc_hsr0.cfg is given below
272-
273- .. code-block :: console
274-
275- [global]
276- sanity_freq_limit 0
277- step_threshold 0.00002
278- tx_timestamp_timeout 20
279-
280- domainNumber 0
281- priority1 128
282- priority2 128
283- slaveOnly 0
284-
285- twoStepFlag 1
286- summary_interval 0
287- doubly_attached_clock 1
288-
289- [hsr0]
290- redundancy 1
291- delay_mechanism P2P
292- network_transport L2
293-
294- [eth1]
295- redundancy 1
296- redundancy_master_interface hsr0
297- redundancy_slave_number 1
298-
299- logAnnounceInterval 0
300- logSyncInterval 1
301- logMinPdelayReqInterval 0
302- announceReceiptTimeout 3
303- syncReceiptTimeout 2
304-
305- delay_mechanism P2P
306- network_transport L2
307- egressLatency 726
308- ingressLatency 186
309- fault_reset_interval 0
310-
311- [eth2]
312- redundancy 1
313- redundancy_master_interface hsr0
314- redundancy_slave_number 2
315-
316- logAnnounceInterval 0
317- logSyncInterval 1
318- logMinPdelayReqInterval 0
319- announceReceiptTimeout 3
320- syncReceiptTimeout 2
321-
322- delay_mechanism P2P
323- network_transport L2
324- egressLatency 726
325- ingressLatency 186
326- fault_reset_interval 0
327-
328- .. rubric :: PPS
329-
330- PPS can be tested using the testptp.c tool.
331-
332- To find which PTP Hardware Clock is associated with the netdevice, use
333-
334- .. code-block :: console
335-
336- ethtool -T DEVNAME
337-
338- To turn on PPS,
339-
340- .. code-block :: console
341-
342- # ip link set dev eth1 up
343- # ./testptp -d /dev/ptp2 -P 1
344- pps for system time request okay
345-
346- To turn off PPS,
347-
348- .. code-block :: console
349-
350- # ./testptp -d /dev/ptp2 -P 0
351- pps for system time request okay
352-
353- .. rubric :: PTP Over VLAN
354-
355- For PTP Over VLAN, the PTP oc_hsr0.cfg and gm_hsr0.cfg should use VLAN
356- interface instead of hsr0.
0 commit comments