Re: [Linuxptp-users] PTP4L - i.MX6 implementation question
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Jan D. <jan...@gm...> - 2017-03-02 08:54:27
|
2017-03-02 6:36 GMT+01:00 Richard Cochran <ric...@gm...>: > On Wed, Mar 01, 2017 at 01:04:48PM -0000, Hugh Reynolds wrote: > > The hardware timestamp counter seems to be stuck. > > > > We can set it using phc_ctl, but it doesn't count. > > Sounds like a missing peripheral clock enable. > > I have never used or tested the imx6 ptp driver, and so I don't have > any specific wisdom to offer. In general I find the freescale^Wnxp > kernel SW to be of dubious quality, and so my only advice is to go > through every last register bit and make sure their code is correct. > I am currently working with two i.MX6 UL Eval Boards. I tried with one of the boards as master and the other one as slave as well as my workstation as master and the boards as slaves. It works but I didn't do any comparison with other setups. I had more problems with the drivers for the onboard network interface in my workstation. Now I use the Intel i210. I can not say much about quality of the NXP/Freescale driver code though. To date, I just skimmed some code to get a rough understanding how their PTP support is implemented. Best Jan |