Re: [Linuxptp-users] PHC not being updated correctly

2022-11-15 Thread Jacob Keller
On 11/15/2022 8:51 AM, prathosh shastry wrote: Hello Jacob, Thanks for your reply. Yes, I can use the phc_ctl set and I see the phc being updated to the current time of the day. If I try phc get, again I see only the nSec bits being updated. Looks like it is something to do with the

Re: [Linuxptp-users] PHC not being updated correctly

2022-11-15 Thread prathosh shastry
Hello Jacob, Thanks for your reply. Yes, I can use the phc_ctl set and I see the phc being updated to the current time of the day. If I try phc get, again I see only the nSec bits being updated. Looks like it is something to do with the drivers. Regards Prathosh On Tue 15 Nov 2022 at 4:42 p.m.,

Re: [Linuxptp-users] PHC not being updated correctly

2022-11-15 Thread Jacob Keller
On 11/15/2022 4:58 AM, 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

Re: [Linuxptp-users] PHC not being updated correctly

2022-11-15 Thread prathosh shastry
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

Re: [Linuxptp-users] PHC not being updated correctly

2022-11-15 Thread Miroslav Lichvar
On Tue, Nov 15, 2022 at 12:58:53PM +, 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

Re: [Linuxptp-users] PHC not being updated correctly

2022-11-15 Thread prathosh shastry
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

[Linuxptp-users] (no subject)

2022-11-15 Thread prathosh shastry
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