Re: [Linuxptp-users] PTP implementation on AM335x

2016-11-22 Thread Hardik Gohil
Hello,

How can get details on this ?

I will be using HW time stamping at MAC layer at CPTS core for TI Chip.

and linuxptp to synchronize clock between system clock and PTP hardware
clock.

Master clock is GPS receiver



Regards,
Hardik A Gohil

On Tue, Nov 22, 2016 at 4:18 PM, Richard Cochran 
wrote:

> On Tue, Nov 22, 2016 at 02:21:07PM +0800, Hardik Gohil wrote:
> > what is the accuracy of time sync ??
>
> It depends.
>
> Cheers,
> Richard
>
--
___
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users


Re: [Linuxptp-users] PTP implementation on AM335x

2016-11-22 Thread Richard Cochran
On Tue, Nov 22, 2016 at 02:21:07PM +0800, Hardik Gohil wrote:
> what is the accuracy of time sync ??

It depends.

Cheers,
Richard

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


Re: [Linuxptp-users] PTP implementation on AM335x

2016-11-21 Thread Hardik Gohil
Hello,

Thank you.

so for HW time stamping at CPTS core I need to change kernel to 3.8 or
later.

what is the accuracy of time sync ??





Regards,
Hardik A Gohil

On Tue, Nov 22, 2016 at 2:18 AM, Richard Cochran 
wrote:

> On Mon, Nov 21, 2016 at 10:13:32PM +0800, Hardik Gohil wrote:
> > Does this means support is there from kernel 3.8
>
> Yes.
>
> > Yes I have tried this method and posted the problem in previous message.
>
> You said you were running kernel 3.2.  That won't work.  Use kernel
> 3.8 or later.
>
> BTW, the '-T' ethtool option only works on kernel 3.5 or later.
>
> HTH,
> Richard
>
>
--
___
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users


Re: [Linuxptp-users] PTP implementation on AM335x

2016-11-21 Thread Richard Cochran
On Mon, Nov 21, 2016 at 10:13:32PM +0800, Hardik Gohil wrote:
> Does this means support is there from kernel 3.8

Yes.

> Yes I have tried this method and posted the problem in previous message.

You said you were running kernel 3.2.  That won't work.  Use kernel
3.8 or later.

BTW, the '-T' ethtool option only works on kernel 3.5 or later.

HTH,
Richard


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


[Linuxptp-users] PTP implementation on AM335x

2016-11-20 Thread Hardik Gohil
Hello,

I am working on AM335x running on linux -3.2.0

I want to implement PTP and I have done the following configuration

   1. Select PPS Support - Device Drivers ---> PPS Support ---> <*> PPS
   Support
   2. Select PTP Clock Support - Device Drivers ---> PTP Clock Support --->
   <*> PTP Clock Support
   3. Select TI CPTS PTP Clock - Device Drivers ---> PTP Clock Support --->
   <*> TI CPTS as PTP clock

As per my study AM335x supports Hardware time stamping at MAC layer.

In order to confirm this I am using ethtool.

root@phyCORE-AM335x:~ ./ethtool -T eth0
Time stamping parameters for eth0:
Cannot get device time stamping settings: Operation not supported

starting from which kernel version support is there ?
how to confirm HW time stamping feature ?

Regards,
Hardik A Gohil
--
___
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users