Hi All, We are working on bringing up ptp4l on Marvell CN9130 ARM Platform.
As a first step we are trying SW timestamp. But, hit the problem in clock_create() function. Clock is not getting created. But ethtool provides the SW timestamping capability SOF_TIMESTAMPING_SOFTWARE is enabled. Any patch or IOCTL missed? Any modification in kernel driver required? Logs for reference: ./ptp4l -i eth0 -E -2 -S -l 7 -m ptp4l[10680.766]: config item (null).assume_two_step is 0 ptp4l[10680.767]: config item (null).check_fup_sync is 0 ptp4l[10680.767]: config item (null).tx_timestamp_timeout is 1 ptp4l[10680.767]: config item (null).hwts_filter is 0 ptp4l[10680.767]: config item (null).clock_servo is 0 ptp4l[10680.767]: config item (null).clock_type is 32768 ptp4l[10680.767]: config item (null).clock_servo is 0 ptp4l[10680.767]: config item (null).clockClass is 248 ptp4l[10680.767]: config item (null).clockAccuracy is 254 ptp4l[10680.767]: config item (null).offsetScaledLogVariance is 65535 ptp4l[10680.767]: config item (null).productDescription is ';;' ptp4l[10680.767]: config item (null).revisionData is ';;' ptp4l[10680.767]: config item (null).userDescription is '' ptp4l[10680.767]: config item (null).manufacturerIdentity is '00:00:00' ptp4l[10680.767]: config item (null).domainNumber is 0 ptp4l[10680.767]: config item (null).slaveOnly is 0 ptp4l[10680.767]: config item (null).gmCapable is 1 ptp4l[10680.767]: config item (null).gmCapable is 1 ptp4l[10680.767]: config item (null).G.8275.defaultDS.localPriority is 128 ptp4l[10680.767]: config item (null).maxStepsRemoved is 255 ptp4l[10680.767]: config item (null).time_stamping is 1 ptp4l[10680.767]: config item (null).twoStepFlag is 1 ptp4l[10680.767]: config item (null).twoStepFlag is 1 ptp4l[10680.767]: config item (null).time_stamping is 1 ptp4l[10680.767]: config item (null).priority1 is 128 ptp4l[10680.767]: config item (null).priority2 is 128 ptp4l[10680.767]: interface index 2 is up ptp4l[10680.767]: interface 'eth0' does not support requested timestamping mode failed to create a clock ./ethtool -T eth0 Time stamping parameters for eth0: Capabilities: 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 Thanks & Regards, Mohan
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel