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. <rant> Their vendor kernels are particularly bad. On one project a few years back, the Ethernet port stopped working with freescale's newer kernel. Turns out that they unconditionally enabled the PTP clock output on one of the MII input lines. This was done with a one-liner buried deep within the board setup code under arch/arm/mach. By the time I figured this out, the PHY was toast. But hey, the code worked on their development kit, so who can complain? </rant> 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