[Linuxptp-users] Multi-clock sync for AVB in a network switch
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Liyong Z. <ont...@ho...> - 2019-01-17 18:57:35
|
QUESTION: Can linuxptp set/adjust for multiple ptp clocks in a switch?
HARDWARE: Switch with 3 Marvell chips interconnected, each exposes a /dev/ptpN and 8 Ethernet ports.
SOFTWARE: Linuxptp 1.92 (going to 2.0) (Thanks to Richard and others!) with gPTP.cfg and boundary_clock_jbod=1.
ISSUES: The three ptpN are not sync-ed, with Grandmaster of itself or an external device. Tried to use "phc2sys -a" but it waits for ptp4l forever. Then, brute-force:
"phc2sys -c /dev/ptp3 -s /dev/ptp1 -O 0 &"
"phc2sys -c /dev/ptp2 -s /dev/ptp1 -O 0 &"
where ptp1 is sync-ed by linuxptp and has the Grandmaster connected. This made AVB audio working.
Advises are appreciated!
Liyong
|