[Linuxptp-users] PTP not Sync with TDD base stations
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: <gan...@la...> - 2019-10-31 10:49:27
|
Dear Richard, I have successfully implement the setup with ptp4l to sync TDD base station and base station receives the ptp sync massages but after 2 second it lost the ip clock which is sent by the server. * PTP server and the base station in the same L2 broadcast domain * Neo 6M gps module connected to the server via serial interface * interface card is Intel 82580 Gigabit Network Connection My ptp4l configurations as follows, [root@info ~]# cat /etc/ptp4l.conf [global] verbose 1 time_stamping hardware #priority1 127 #tx_timestamp_timeout 100 #[eno2] # # Default Data Set # twoStepFlag 1 gmCapable 1 slaveOnly 0 priority1 128 priority2 128 domainNumber 24 #utc_offset 37 clockClass 7 #clockAccuracy 0xFE clockAccuracy 0x20 #offsetScaledLogVariance 0xFFFF offsetScaledLogVariance 0xD2AF free_running 0 freq_est_interval 1 dscp_event 0 dscp_general 0 dataset_comparison ieee1588 G.8275.defaultDS.localPriority 128 # # Port Data Set # logAnnounceInterval 1 logSyncInterval 0 logMinDelayReqInterval 0 logMinPdelayReqInterval 0 announceReceiptTimeout 3 syncReceiptTimeout 0 delayAsymmetry 0 fault_reset_interval 4 neighborPropDelayThresh 20000000 masterOnly 1 G.8275.portDS.localPriority 128 # # Run time options # assume_two_step 0 logging_level 6 path_trace_enabled 0 follow_up_info 0 hybrid_e2e 0 inhibit_multicast_service 0 net_sync_monitor 0 tc_spanning_tree 0 tx_timestamp_timeout 1 unicast_listen 0 unicast_master_table 0 unicast_req_duration 3600 use_syslog 1 verbose 0 summary_interval 0 kernel_leap 1 check_fup_sync 0 # # Servo Options # pi_proportional_const 0.0 pi_integral_const 0.0 pi_proportional_scale 0.0 pi_proportional_exponent -0.3 pi_proportional_norm_max 0.7 pi_integral_scale 0.0 pi_integral_exponent 0.4 pi_integral_norm_max 0.3 step_threshold 0.0 first_step_threshold 0.00002 max_frequency 0 clock_servo pi sanity_freq_limit 200000000 ntpshm_segment 24 # # Transport options # transportSpecific 0x0 ptp_dst_mac 01:1B:19:00:00:00 p2p_dst_mac 01:80:C2:00:00:0E udp_ttl 1 udp6_scope 0x0E uds_address /var/run/ptp4l # # Default interface options # clock_type OC network_transport L2 delay_mechanism E2E time_stamping hardware tsproc_mode filter delay_filter moving_median delay_filter_length 10 egressLatency 1500 ingressLatency 0 boundary_clock_jbod 0 # # Clock description # productDescription ;; revisionData ;; manufacturerIdentity 00:00:00 userDescription ; timeSource 0xA0 [enp3s0f3] transportSpecific 1 [root@info ~]# ============================================================== [root@info ~]# tail -f /var/log/messages Oct 31 15:46:11 info phc2sys: [621627.853] enp3s0f3 sys offset -12 s2 freq +1 delay 1530 Oct 31 15:46:12 info phc2sys: [621628.853] enp3s0f3 sys offset -11 s2 freq -2 delay 1533 Oct 31 15:46:13 info phc2sys: [621629.853] enp3s0f3 sys offset -8 s2 freq -2 delay 1537 Oct 31 15:46:14 info phc2sys: [621630.853] enp3s0f3 sys offset 0 s2 freq +4 delay 1530 Oct 31 15:46:15 info phc2sys: [621631.854] enp3s0f3 sys offset -4 s2 freq -0 delay 1530 Oct 31 15:46:16 info phc2sys: [621632.854] enp3s0f3 sys offset -3 s2 freq -1 delay 1530 ========================================================== At the same time I tried to capture the interface traffic that associated with the server. Screen shot as below. Do you have any suggestion for that ? Best Regards, Ganganath |