Hi,
We'd like to use AM335x in our product. We bought a Beaglebone black to test some of its performance. We'd like to implement the one step hardware time stamp linuxptp on it. we have checked the driver and hardware support using ethtool. The timestamping parameters for eth0 is:
Capabilities:
hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE)
software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE)
hardware-receive (SOF_TIMESTAMPING_RX_HARDWARE)
software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)
software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
hardware-raw-clock (SOF_TIMESTAMPING_RAW_HARDWARE)
PTP Hardware Clock: 0
Hardware Transmit Timestamp Modes:
off (HWTSTAMP_TX_OFF)
on (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
none (HWTSTAMP_FILTER_NONE)
ptpv1-14-event (HWTSTAMP_FILTER_PTP_V1-L4_EVENT)
ptpv2-event (HWTSTAMP_FILTER_PTP_V2__EVENT)
However, when we run:
ptp4l -2 -i eth0 -m -f /etc/linuxptp.cfg
We got the following error message:
selected /dev/ptp0 as PTP clock
driver rejected most general HWTSTAMP filter
ioctl SIOCSHWTSTAMP failed: Numerical result out of range
port 1: INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
port 0: INITIALIZING to LISTENING on INIT_COMPLETE
The content of /etc/linuxptp.cfg is:
[global]
twoStepFlag 0
time_stamping hardware
When we were running ptp4l as two-step hardware stamping, there is no problem. We are very grateful if anybody can tell us what caused this problem.
Best regards.
Lee