Hello,
I have two boards (i.MX8M Plus) connected to each other via a switch (LS1028ARDB).
I run the following script to configure the switch in L2 forwarding mode:
#!/bin/bash
INTERFACES = "swp0 swp1 swp2 swp3"
ip link set eno2 up
ip link add name br0 type bridge
for if in $INTERFACES;
do
ip link set $if up
ip link set dev $if master br0
done
ip link set br0 up
I then run ptp4l on both i.MX8M Plus boards. I emphasize that I don't run ptp4l on the LS1028ARDB because I would like to test to what extent adding a "classic" switch between two PTP clocks affects performance.
However, the synchronization doesn't work. I have the following display (on both i.MX8M Plus boards):
# ptp4l -i eth0 -m
ptp4l[xxxx.xxx]: selected /dev/ptp1 as PTP clock
ptp4l[xxxx.xxx]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[xxxx.xxx]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[xxxx.xxx]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[xxxx.xxx]: selected local clock yyyyyy.yyyy.yyyyyy as best master
ptp4l[xxxx.xxx]: assuming the grand master role
Could you explain me why it doesn't work please?
PS1: I tried to perform this operation with a LS1021ATSN switch and it worked perfectly...
PS2: Ping also works fine