-
Notifications
You must be signed in to change notification settings - Fork 655
PTPd Service Enhancement: Supports Ethernet Synchronization / Logic Optimization / Alignment with Linux PTPv4 Options #3247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
support cmake build Signed-off-by: dongjiuzhu1 <[email protected]>
pass structure between remote and local core Signed-off-by: dongjiuzhu1 <[email protected]>
…_DEBUG using new ptp clock device debug function Signed-off-by: dongjiuzhu1 <[email protected]>
new starting command: ptpd start interface & we should run it in background ways Signed-off-by: dongjiuzhu1 <[email protected]>
…ting ptpd origin command change to new command: ptpd start interface & -> ptpd -i eth0 & ptpd stop pid -> ptpd -d pid ptpd status pid -> ptpd -t status Signed-off-by: dongjiuzhu1 <[email protected]>
runtime to config the ways of timestamp Signed-off-by: dongjiuzhu1 <[email protected]>
…ecision using nanoseconds as timestamp Signed-off-by: dongjiuzhu1 <[email protected]>
N/A Signed-off-by: Xiang Xiao <[email protected]>
fix minor issue Signed-off-by: Xiang Xiao <[email protected]> Signed-off-by: dongjiuzhu1 <[email protected]>
…aye2e fix compile warning when only enable PTPD_CLIENT or PTPD_SERVER ptpd.c:493:38: error: 'CONFIG_NETUTILS_PTPD_PRIORITY1' undeclared (first use in this function); did you mean 'CONFIG_NETUTILS_PTPD_CLIENT'? ptpd.c:494:39: error: 'CONFIG_NETUTILS_PTPD_CLASS' undeclared (first use in this function); did you mean 'CONFIG_NETUTILS_PTPD_CLIENT'? ptpd.c:495:39: error: 'CONFIG_NETUTILS_PTPD_ACCURACY' undeclared (first use in this function); did you mean 'CONFIG_NETUTILS_PTPD_DEBUG'? ptpd.c:498:38: error: 'CONFIG_NETUTILS_PTPD_PRIORITY2' undeclared (first use in this function); did you mean 'CONFIG_NETUTILS_PTPD_CLIENT'? ptpd.c:502:36: error: 'CONFIG_NETUTILS_PTPD_CLOCKSOURCE' undeclared (first use in this function); did you mean 'CONFIG_NETUTILS_PTPD_STACKSIZE'? Signed-off-by: dongjiuzhu1 <[email protected]>
support ptp clock deivce to adjust time Signed-off-by: dongjiuzhu1 <[email protected]>
…djustment optimize the speed of adjustment Signed-off-by: dongjiuzhu1 <[email protected]>
support ptp clock device Signed-off-by: dongjiuzhu1 <[email protected]>
support ptp by rawsocket Signed-off-by: dongjiuzhu1 <[email protected]>
new option -B to BMCA message Signed-off-by: dongjiuzhu1 <[email protected]>
The current gPTP stack does not support path delay correction of the Switch. The path delay correction field in the Head is added. Signed-off-by: dongjiuzhu1 <[email protected]>
|
@Donny9 Can you please provide simple update to documentation too ? https://nuttx.apache.org/docs/latest/applications/system/ptpd/index.html |
|
@Donny9 beside the PTP documentation I think it should be nice to have a documenation about the ptpd with the details you included here, including this graphics to show the time to syncronize |
cederom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Donny9 very nice update and very nice PR description! CI caught some things to update :-)
Summary
This patch series brings comprehensive PTP (Precision Time Protocol) daemon
support to NuttX, implementing a complete IEEE 1588 PTPv2 stack with the
following key enhancements:
Core Infrastructure (dc94b24, 32ef6dc):
Debug and Logging (5aecb30):
Task Management Redesign (e2737dd, 09420b3):
ptpd -i eth0 &for start,ptpd -d pidfor stopHardware Timestamping Support (0985006, d5713d2):
PTP Clock Device Integration (71598b6, 10b7258, 757744a):
BMCA and Clock Selection (3b20797, 3cab597):
Transport Layer (ebd885e, 8f8bc63):
Configuration Flexibility (32b4ef4):
gPTP Switch Support (f61389e):
The series transforms ptpd from a basic proof-of-concept into a production-ready
PTP daemon with hardware timestamp support, flexible transport options, and full
integration with NuttX PTP clock framework.
Impact
Users:
ptpd start eth0 &, New:ptpd -i eth0 &Build System:
Hardware Requirements:
Configuration:
Compatibility:
Documentation:
Security:
Testing
ptp sync base on tricore tc4 platform:
Initial synchronization error: ±50 μs, converging to ±2.5 μs within 3 seconds.