This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linuxdsp:docs:linux_yocto_distrubution_and_applications:linuxptp [15 Jul 2020 07:42] – [Run Example] Sunny Feng | resources:tools-software:linuxdsp:docs:linux_yocto_distribution_and_applications:linuxptp [22 Sep 2020 11:14] (current) – [Device tree configuration] Sunny Feng | ||
---|---|---|---|
Line 46: | Line 46: | ||
\\ | \\ | ||
==== Device tree configuration ==== | ==== Device tree configuration ==== | ||
- | The timestamps that are the basis of PTP can be acquired with greater accuracy when they are captured by the ethernet PHY hardware. The RMII PHY interface | + | The timestamps that are the basis of PTP can be acquired with greater accuracy when they are captured by the ethernet PHY hardware. The PHY interface |
- | The phy-mode can be changed to " | + | |
+ | The phy-mode | ||
<WRAP info> | <WRAP info> | ||
... : ellipsis, means other properties in EMAC0 node stay the same\\ | ... : ellipsis, means other properties in EMAC0 node stay the same\\ | ||
Line 120: | Line 121: | ||
=== 2) Slave === | === 2) Slave === | ||
< | < | ||
- | # hwstamp_ctl -i eth0 -r 6 -t 1 | + | # hwstamp_ctl -i eth0 -r 6 -t 1 |
tx_type 1 | tx_type 1 | ||
rx_filter 6 | rx_filter 6 | ||
- | # ptp4l -i eth0 -s & | + | # ptp4l -i eth0 -s & |
- | # date | + | # date |
Mon Jan 1 00:02:24 UTC 2007 | Mon Jan 1 00:02:24 UTC 2007 | ||
- | # phc2sys -s /dev/ptp0 -O 0 & | + | # phc2sys -s /dev/ptp0 -O 0 & |
- | # date | + | # date |
Mon Jan 1 00:02:24 UTC 2007 | Mon Jan 1 00:02:24 UTC 2007 | ||
... | ... | ||
- | # date | + | # date |
Fri Jan 1 13:30:58 UTC 2010 | Fri Jan 1 13:30:58 UTC 2010 | ||
Date on the slave board is 2007.1.1-00: | Date on the slave board is 2007.1.1-00: | ||
Line 144: | Line 145: | ||
\\ | \\ | ||
---- | ---- | ||
- | **Back to** [[resources/tools-software/linuxdsp/docs/ | + | **Back to** [[resources:tools-software:linuxdsp:docs: |