On Fri, 2019-01-11 at 18:03 +0100, Timo Korthals wrote:
> Dear ptp4l-devs,
> 

Hi,

> we try to sync embedded devices, which are only capable of
> PTP_TWO_STEP=FALSE (aka twoStepFlag=0 aka one-way-sync aka
> PTP_Sync=1) syncing, with our Ubuntu Linux host (System overview
> below).
> When we run the self build ptp4l via "./ptp4l -m -l7 -2 -H -i enp0s25
> -E -f /etc/ptp4l.conf" (see config etc. below), the execution hangs
> for all ptp4l versions > 1.7 at "INITIALIZING to LISTENING on
> INIT_COMPLETE".
> If we comment the corresponding line [1] where ptp4l hangs, its start
> sending the SYNC_MESSAGE etc. and the log goes on with:
> 

It sounds like your device driver (and possibly kernel changes, I don't
remember offhand) needs to support the one step configurations. We
can't help you with your device driver, especially if it's not
public/open-source.

Specifically you're looking for HWTSTAMP_TX_ONESTEP_SYNC. Your kernel
must be new enough to support the field. Additionally, you will need to
have your driver updated to correctly enable the request for
HWTSTAMP_TX_ONESTEP_SYNC.

Note that as far as I'm aware this only works for sync packets, and no
kernel support for one-step of other messages has been written. This is
primarly because no hardware has been widely available to test such a
feature. (i.e. one-step syncing of peer delay messages)

Hope this helps.

Regards,
Jake

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to