PTP on LS1028ARDB Felix switch

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PTP on LS1028ARDB Felix switch

跳至解决方案
1,399 次查看
ceroone
Contributor II

Hello,

I have two LS1028ARDB, that I connected to each other using their SWP0 interface.
I then configured the "Single port mode" on both boards, to be able to use these interfaces independently (https://docs.nxp.com/bundle/GUID-C3A436DA-E944-4F73-9811-2335DEBD04D6/page/GUID-F27864B5-2195-4FC0-8...:
On Board A:
# ip a add 192.168.0.1/24 brd + dev swp0
# ip l set eno0 up
# ip l set swp0 up
On Board B:
# ip a add 192.168.0.2/24 brd + dev swp0
# ip l set eno0 up
# ip l set swp0 up

I then launch a PTP synchronization on both boards (using L2 Transport):
# ptp4l -i swp0 -2 -m
It works fine.

BUT, when I try to use UDP/IPv4, it doesn't work anymore:
# ptp4l -i swp0 -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

Is there a problem with the configuration of the interfaces ? I don't understand why it doesn't work with IP transport but it does with L2...

Thank you in advance for your help.

ceroone

标记 (4)
0 项奖励
回复
1 解答
1,347 次查看
yipingwang
NXP TechSupport
NXP TechSupport
0 项奖励
回复
2 回复数
1,348 次查看
yipingwang
NXP TechSupport
NXP TechSupport
0 项奖励
回复
1,398 次查看
ceroone
Contributor II
0 项奖励
回复