[Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-12 Thread Peter Bergin
Hi, I'm currently working on a network product using gPTP configuration for PTP sync. The device shall be a AVB endpoint handling audio and according to Avnu specifications all endpoint shall be capable of being master on the network. Some plugins for AVB (such as gstreamer and alsa-plugins)

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-13 Thread Peter Bergin
Hi, On 2021-10-13 00:19, Richard Cochran wrote: On Tue, Oct 12, 2021 at 09:47:21PM +0200, Peter Bergin wrote: Hi, I'm currently working on a network product using gPTP configuration for PTP sync. The device shall be a AVB endpoint handling audio and according to Avnu specification

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-14 Thread Peter Bergin
Hi Vincius, On 2021-10-14 01:44, Vinicius Costa Gomes wrote: One thing that could be missing is for phc2sys to use the same config file as ptp4l, this should be more convenient, something like this: $ ./phc2sys -a -r -r -q -m -f /etc/linuxptp/gPTP.cfg sure it can be more convenient but I thin

Re: [Linuxptp-users] Dynamically sync clocks with phc2sys depending on master/slave

2021-10-14 Thread Peter Bergin
Hi again, phc2sys has an automatic mode.  See the man page for details. I have some follow up question as I still can not see that I get this correct. I hope some experienced linuxptp users can help out. I can not get sync between CLOCK_REALTIME and PHC as I expect. I have two devices conn

[Linuxptp-users] bad message due to padding of FOLLOW_UP and DELAY_REQ

2022-01-12 Thread Peter Bergin
Hi, I have a setup with TI processor using the cpsw driver from Linux mainline, kernel version 5.4. I'm using IEEE 802.3 network transport and sending PTP frames on Ethernet. When sending SYNC, FOLLOW_UP and DELAY_REQ that has a length of 58 bytes they get padded up to 64 bytes. When receivin

Re: [Linuxptp-users] bad message due to padding of FOLLOW_UP and DELAY_REQ

2022-01-13 Thread Peter Bergin
On 2022-01-13 05:11, Richard Cochran wrote: On Wed, Jan 12, 2022 at 03:57:55PM +0100, Peter Bergin wrote: I have a setup with TI processor using the cpsw driver from Linux mainline, kernel version 5.4. I'm using IEEE 802.3 network transport and sending PTP frames on Ethernet. When sending