On Tue, Jan 17, 2017 at 6:59 PM, Richard Cochran <richardcoch...@gmail.com>
wrote:
> On Tue, Jan 17, 2017 at 04:25:39PM +0800, Hardik Gohil wrote:
> > sorry for my mistake I have copied and pasted same message three times.
> > following are real time message
> >
> > ptp4l[2460.587]: port 1: received PDELAY_REQ without timestamp
> > ptp4l[2461.589]: port 1: received PDELAY_REQ without timestamp
> > ptp4l[2462.590]: port 1: received PDELAY_REQ without timestamp
> > ptp4l[2463.590]: port 1: received PDELAY_REQ without timestamp
> > ptp4l[2464.592]: port 1: received PDELAY_REQ without timestamp
> > ptp4l[2465.594]: port 1: received PDELAY_REQ without timestamp
> > ptp4l[2466.594]: port 1: received PDELAY_REQ without timestamp
> >
> > once I exit from application
> > [ 2506.471859] cpts: unable to obtain a time stamp
> > [ 2514.487888] cpts: event pool is empty
>
> The driver (or HW) is not providing time stamps on these messages.
>
> Does your device have both MACs active? If so, check whether
> active_slave in the dts is correct.
>
both MAC means eth0 and eth1 you mean ? yes they are active.
compatible = "ti,cpsw";
ti,hwmods = "cpgmac0";
clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
clock-names = "fck", "cpts";
cpdma_channels = <8>;
ale_entries = <1024>;
bd_ram_size = <0x2000>;
no_bd_ram = <0>;
rx_descs = <64>;
mac_control = <0x20>;
slaves = <2>;
active_slave = <0>;
cpts_clock_mult = <0x80000000>;
cpts_clock_shift = <29>;
reg = <0x4a100000 0x800
0x4a101200 0x100>;
#address-cells = <1>;
#size-cells = <1
>
> IIRC, the cpts does work with P2P. Which kernel version are you
> using? Is your kernel a mainline kernel, or a vendor kernel?
>
I am using kernel version 3.12.30-AM335x-PD15.2.1 build using YOCTO by
PHYTEC.
I think vendor kernel.
>
> Thanks,
> Richard
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users