IEEE 1588/PTP V1.0 for i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IEEE 1588/PTP V1.0 for i.MX6

3,123 Views
frankchenmh
Contributor III

Hi,

I am developing IEEE 1588 PTP application based on i.MX6 fsl-yocto-L4.1.15_1.1.0-ga/ Linux BSP. The PTP protocal we used is V1.0 but not V2.0. I have following questions:

1. Does the Linux FEC driver support PTP v1.0?

2. Does the PTP appliication program linuxptp support PTP v1.0?

3. If linuxptp does not support PTP V1.0, is there any other test application or referece code for us to test/run PTP V1.0 on i.MX6 L4.1.15 BSP?

Thanks!

0 Kudos
8 Replies

2,117 Views
dansharon
Contributor I

hi Frank,

a bit late to the party, but we've successfully used PTP v1 from here ... Precision Time Protocol daemon / Code / [r604] /branches/v1 

Cheers,

-Dan

0 Kudos

2,117 Views
frankchenmh
Contributor III

Hi Dan,

Thank you very much for your information! As I know the ptpd is a software only implementation of PTP V1. This information can be found in doc/ptpd_2005_1588_conference_paper.pdf. It doesn't use hardware 1588 feature. Could you please help clarify? Did you verify it on i.MX6 with hardware FEC 1588 feature? Thanks!

0 Kudos

2,117 Views
dansharon
Contributor I

hi Frank,

you're most welcome. We use software timestamping only, as supported by

that ptpd. We have it running on OMAP-L138 on Linux 3.11.10, and are able

to achieve about 200us timing accuracy. In the last year we started

experimenting with ptp4l/phc2sys and hardware timestamping using the National

Semiconductor DP83640 PHYTER. It mostly worked, but we put it aside at the

time because our kernel was too old.

-Dan

On Fri, Mar 10, 2017 at 1:36 AM, frankchenmh <admin@community.nxp.com>

0 Kudos

2,117 Views
frankchenmh
Contributor III

Hi Dan,

We have to use hardware timestamping. Thanks for your clarification and the information you provided!

0 Kudos

2,118 Views
justin_jiang
NXP Employee
NXP Employee

1. Does the Linux FEC driver support PTP v1.0?

[A] From driver point view, both v1.0 and v2.0 can be supported.

2. Does the PTP appliication program linuxptp support PTP v1.0?

[A] No, the open source linuxptp only support v2.0.

     you can find the code of:  #define PTP_VERSION 2

3. If linuxptp does not support PTP V1.0, is there any other test application or referece code for us to test/run PTP V1.0 on i.MX6 L4.1.15 BSP

[A] we checked most of open source ptp stack are all only support v2.0. So highly recommend you upgrade to use v2.0 application. Otherwise you need find commercial ptp stack to support v1.0. 

0 Kudos

2,118 Views
frankchenmh
Contributor III

Hi Justin,

Thanks very much for your reply!

We have to use PTP v1.0. Do you know any commercial ptp stack for us to evaluate? Thanks!

0 Kudos

2,118 Views
justin_jiang
NXP Employee
NXP Employee

I don't know. we used IXXAT ptp stack in old release. I'm not sure if they have v1.0.

0 Kudos

2,117 Views
frankchenmh
Contributor III

Hi Justin,

Understood now. Thanks for your reply!

0 Kudos