關於IEEE1588 軟體時戳式至問題
你好目前嘗試在 Raspberry Pi 上運行ptp4l
以下是碰到的問題
$ ethtool -T eth0
Time stamping parameters for eth0:
Capabilities:
software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE)
software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)
software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none
有重編kernel軟體時戳功能開啟
接著是者使用時卻出現下列問題
$ ./ptp4l -i eth0 -S -m
ptp4l: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l: port 1: link down
ptp4l: port 1: LISTENING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
ptp4l: selected best master clock b827eb.fffe.898854
ptp4l: assuming the grand master role
$ ./ptp4l -i eth0 -S -m -s
ptp4l: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l: port 1: link down
ptp4l: port 1: LISTENING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
ptp4l: selected best master clock b827eb.fffe.898854
ptp4l: assuming the grand master role
ptp4l: port 1: master state recommended in slave only mode
ptp4l: port 1: defaultDS.priority1 probably misconfigured
請問有如何正確使用ptp4l的軟體時戳呢?
http://linuxptp.sourceforge.net,这个也许有用,看看需求,是不是哪里漏了,看下第五部分,系统需求。
页:
[1]