Re: [Linuxptp-users] PHC not being updated correctly
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: prathosh s. <pra...@gm...> - 2022-11-15 14:04:51
|
Hello Miroslav, thanks for your reply. I am using Microchip SAMA7G54, it is an arm cortex A7-based MPU and it does have a PTP time stamping unit at the MAC layer. Enabled the hardware PTP support in the kernel by adding MACB_CAPS_GEM_HAS_PTP and CONFIG_MACB_USE_HWTIMESTAMP. Regards Prathosh On Tue 15 Nov 2022 at 1:27 p.m., Miroslav Lichvar <mli...@re...> wrote: > On Tue, Nov 15, 2022 at 12:58:53PM +0000, prathosh shastry wrote: > > Hello team, > > > > I had no issue with using software time stamping and also I am able to > see > > the hardware timestamping support by building new kernel. But when I try > to > > use the PHC, I see the PHC clock not being updated correctly. I see only > > the nSec bits being updated. Here are some of the tests I did. > > > > --------------------- > > *root@sama7g5ek-sd:~# phc_ctl eth0 get* > > > > *phc_ctl[60533.796]: clock time is 1.010098874 or Thu Jan 1 00:00:01 > 1970* > > It's most likely a bug in the driver. What hardware are you using? > > -- > Miroslav Lichvar > > |