
Check PTP clock and timestamping capability
# ethtool -T swp0
Time stamping parameters for swp0:
Capabilities:
hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE)
hardware-receive (SOF_TIMESTAMPING_RX_HARDWARE)
hardware-raw-clock (SOF_TIMESTAMPING_RAW_HARDWARE)
PTP Hardware Clock: 1
Hardware Transmit Timestamp Modes:
off (HWTSTAMP_TX_OFF)
on (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
none (HWTSTAMP_FILTER_NONE)
all (HWTSTAMP_FILTER_ALL)
For 802.1AS testing, use the configuration file
gPTP.cfg
in linuxptp source. Run the below commands on the two boards instead.
# ptp4l -i swp0 -p /dev/ptp1 -f gPTP.cfg -m
8.1.4.3 Qbv test
The following figure describes the setup for Qbv test on LS1028ARDB.
Figure 33. Qbv test
NXP Semiconductors
TSN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
117 / 199