@Mohit Any update for the post?
I have tested with the following command:
sudo pmc 'GET PARENT_DATA_SET' 'GET CURRENT_DATA_SET' 'GET TIME_STATUS_NP'
sending: GET PARENT_DATA_SET
sending: GET CURRENT_DATA_SET
sending: GET PORT_DATA_SET
sending: GET TIME_STATUS_NP
00010d.fffe.c3f4fc-1 seq 0 RESPONSE MANAGEMENT PARENT_DATA_SET
00010d.fffe.c3f4fc-1 seq 1 RESPONSE MANAGEMENT CURRENT_DATA_SET
00010d.fffe.c3f4fc-1 seq 2 RESPONSE MANAGEMENT PORT_DATA_SET
00010d.fffe.c3f4fc-1 seq 3 RESPONSE MANAGEMENT TIME_STATUS_NP
I know some of the values from above ouput, for example gmPresent means the PTP clock is synchronized to a master,I can also see
portState for 00010d.fffe.c3f4fc-1 device which is in slave state.
But dn't know about other values? let me explain what is my issue. I am trying to make sure that I have configured the PTP4l and Phc2sys correctly, because normally there should be no need of restarting the ptp4l and phc2sys services on every reboot, as I have setup it per official documentation and enabled them on start. However, the ptp4l and phc2sys will only work if I restart both services followed by daemon-reload on every boot otherwise it will not work. Because if this step, which I have to do on every reboot (i.e., restarting ptp4l and phc2sys services), I am sure that there is a problem but not able to pinpoint it and solve it.
I would appreciate your help for the right direction.