Mozhdeh Kamel
2013-04-14 16:22:16 UTC
Hi everybody :)
I am trying to understand how to work with linuxptp. As there is no manual
for it, it made me confuse d. I wish there was a finite state that explain
the relation between different parts.
According to what I understood, to use ptplinux,
we need to have system requirements (linux kernel support, proper
NIC(MAC+PHY)). The whole process works with these commands :
ptp4l, pmc, phc2sys, hwstamp_ctl
Can you please give me one line definition of each command? I know the
options, and what we can get from with <command -h>.
Here is another question, how we can define which is master and which is
slave. I have seen
-p [dev] in ptp4l
-c [dev|name] in phc2sys
-d [dev] in phc2sys
-s [dev|name] in phc2sys
which refers to PTP hardware clock device, master and slave. So, What
exactly means by PTP hardware device? do we need a special clocks beside
the NIC?
Sorry for so many questions, I hope you help me. I have started reading all
the discussion in user forum to understand but it made me more confused.
BR,
Mozhdeh
I am trying to understand how to work with linuxptp. As there is no manual
for it, it made me confuse d. I wish there was a finite state that explain
the relation between different parts.
According to what I understood, to use ptplinux,
we need to have system requirements (linux kernel support, proper
NIC(MAC+PHY)). The whole process works with these commands :
ptp4l, pmc, phc2sys, hwstamp_ctl
Can you please give me one line definition of each command? I know the
options, and what we can get from with <command -h>.
Here is another question, how we can define which is master and which is
slave. I have seen
-p [dev] in ptp4l
-c [dev|name] in phc2sys
-d [dev] in phc2sys
-s [dev|name] in phc2sys
which refers to PTP hardware clock device, master and slave. So, What
exactly means by PTP hardware device? do we need a special clocks beside
the NIC?
Sorry for so many questions, I hope you help me. I have started reading all
the discussion in user forum to understand but it made me more confused.
BR,
Mozhdeh