TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: Time cannot be synchronized using the ptp4l tool

Part Number:TDA4VM

Hi, TI experts

I want to use the ptp4l tool to synchronize the time, but the synchronization failed.


I took a look at the file

Then refer to this link 3.2.2.12.3.1. PTP — Processor SDK Linux for J721e Documentation 

I used two TDAVM cards

For the first card set as primary, enter the command    ptp4l -E -2 -H -i eth1 -l 6 -m -q -f ptp.cfg

For the second card set to slave, enter the command  ptp4l -E -2 -H -i eth0 -s -l 6 -m -q -f ptp.cfg

The symptom is consistent with the document.

however, the slave computer fails to synchronize the host time

The test situation can be referred to the table below:

ptp4l tool test

testing environment

hardware

software

SAK-TC397AX

V7.3.3.16.20220418

single-board test

input cmd

Board output

problem

1. ptp4l -E -2 -H -i eth0 -l 7 -m -q -p /dev/ptp0 -f ptp.cfg

2. ptp4l -E -2 -H -i eth0 -l 7 -m -q -p /dev/ptp0

1. ptp4l[274.850]: port 1: master tx announce timeout
ptp4l[275.850]: port 1: master sync timeout

2. The wireshark fails to capture packets.

The ptp4l tool cannot output ptp packets when a single card is master

Double board card test

master:ptp4l -E -2 -H -i eth1 -l 6 -m -q -f ptp.cfg

slave:ptp4l -E -2 -H -i eth0 -s -l 6 -m -q -f ptp.cfg

The print is normal and consistent with the document description

Query the system time. The slave board is not synchronized with the master board time

ptp.cfg content 

[global]
tx_timestamp_timeout 400

Sikai Lu:

Move to e2e.ti.com/…/tda4vm-time-cannot-be-synchronized-using-the-ptp4l-tool

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: Time cannot be synchronized using the ptp4l tool
分享到: 更多 (0)