Hi, thanks for the advice.I now have a ZynqMP running petalinux and a Marvel Alaska 88E1512 using the PTP-able macb driver from linux mainline [1].
ethtool looks ok but the driver produces kernel oopsies after the first 1-step sync (Announce -> Sync) was send by ptp4l.
I'll give feedback after I've updated (and hopefully fixed) everything. Greetings, Timo root@petalinux:~# ethtool -T eth0 Time stamping parameters for eth0: 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) one-step-sync (HWTSTAMP_TX_ONESTEP_SYNC) Hardware Receive Filter Modes: none (HWTSTAMP_FILTER_NONE) all (HWTSTAMP_FILTER_ALL)[1] https://github.com/torvalds/linux/tree/master/drivers/net/ethernet/cadence
On 13.01.19 21:50, Richard Cochran wrote:
On Fri, Jan 11, 2019 at 06:03:53PM +0100, Timo Korthals wrote:we try to sync embedded devices, which are only capable of PTP_TWO_STEP=FALSE (aka twoStepFlag=0 aka one-way-sync aka PTP_Sync=1) syncing,Your embedded devices do not comply with IEEE 1588 or with 802.1-AS. It is required to accept two-step synchronization.ptp4l[5819.089]: ioctl SIOCSHWTSTAMP failed: Numerical result out of range^^^ You don't have one-step hardware.We followed the instructions from [2] and [3] without success. We also tried another PTP hardware capable intel network card with e1000e driver with the exact same log messages. We also tried all versions from 1.8 to master branch, while version <= 1.7 ignores the twoStepFlag=0 option. However, software timestamping and twoStepFlag=1 works between two linux hosts Does anyone see our fault or has similar issues?If you want one-step, then you will have to use one-step HW. Sorry, Richard
-- Timo Korthals, M.Sc. Universität Bielefeld AG Kognitronik & Sensorik Exzellenzcluster Cognitive Interaction Technology (CITEC) Inspiration 1 (Zehlendorfer Damm 201) 33619 Bielefeld - Germany Office : 3.413 Phone : +49 521 106-67367 eMail : tkorth...@cit-ec.uni-bielefeld.de Internet: http://www.ks.cit-ec.uni-bielefeld.de/
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users