Skip to content

PTP on rpi3 testing code #11

@RajatDas2020

Description

@RajatDas2020

I have enabled PTP on RPi3 B+ by following the instruction given here. Now can you help me with a code to test PTP on Rpi. I am trying with one code, but with "SOF_TIMESTAMPING_TX_SOFTWARE" an input argument, but getting some error related to "ioctl" .
(http://www.cs.fsu.edu/~baker/devices/lxr/source/2.6.31.13/linux/Documentation/networking/timestamping/timestamping.c)

pi@raspberrypi:~ $ sudo 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions