This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linux下的ptp

Other Parts Discussed in Thread: AM4379

我在使用AM4379开发板

跑的是linux系统

我想让板子和PC(ubuntu)时间同步

需要用到ptp

我根据这个教程http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Kernel_Drivers.html#common-platform-time-sync-cpts

"Testing CPTS/PTP"

操作.目前已经运行成功!

主机(ubuntu):sudo  ./ptp4l -E -2 -H -i enp4s0 -l 7 -m -q -p /dev/ptp0 
从机(板子):sudo ./ptp4l -E -2 -H -i eth0 -s -l 7 -m -q -p /dev/ptp0

但是遇到一个问题:板子显示:

主机显示:

但是两个的时间戳却不一样!

主机的时间戳:

板子的时间戳:

请问这是什么原因呢?