I am using a raspberrypi cm4 with Timbeat's timecard mini and ts2phc from linuxptp with the goal of creating a PTP grandmaster. When running ts2phc, I can see that the NMEA messages seem good ad we are syncing the phy to the GNSS time, hoewever when I run :
sudo phc_ctl eth1 get
on the pi, the time on the phc is the time in my local timezone with the additional 37 leap seconds.
I currently have systemctl timemaster.service and systemd timesyncd both disabled and inactive. When I start running ts2phc, the phc time is sometimes one hour behind my timezone's time. Restarting ts2phc usually fixes this.
Is there a way to update the phc with TAI and not factor in the timezone? Or could there be another linux service that could be interfering with this?