Dear Miroslav,

 

I want to synchronize TDD base station with PTP clock server (this server
should be master clock)

01. this base station and the server in the same broadcast domain

02. PTP domain should be 24

 

Am I able to do this with below configuration in the /etc/ptp4l.conf or am I
missing something ?

 

[root@localhost ~]# cat /etc/ptp4l.conf

[global]

verbose                              1

time_stamping                  hardware         

priority1                               127

#tx_timestamp_timeout 100

#[eno2]

#

# Default Data Set

#

twoStepFlag                      1

slaveOnly                           0

priority1                             128

priority2                             128

domainNumber               24

#utc_offset                        37

clockClass                          248

clockAccuracy                   0xFE

offsetScaledLogVariance 0xFFFF

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                       0

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                900000000

clock_servo                       pi

sanity_freq_limit             200000000

ntpshm_segment          0

#

# 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         UDPv4

delay_mechanism           E2E

time_stamping                 hardware

tsproc_mode                    filter

delay_filter                        moving_median

delay_filter_length          10

egressLatency                   0

ingressLatency                  0

boundary_clock_jbod     0

#

# Clock description

#

productDescription         ;;

revisionData                      ;;

manufacturerIdentity    00:00:00

userDescription                ;

timeSource                        0xA0

 

 

 

[root@localhost ~]#

 

 

[root@localhost ~]# cat /etc/sysconfig/phc2sys

OPTIONS="-a -r -r"

#OPTIONS="-s CLOCK_REALTIME -c eno2 -w"

[root@localhost ~]#

 

 

Best Regards,

Ganganath

 

 

   

 

-----Original Message-----

From: Miroslav Lichvar <mlich...@redhat.com> 

Sent: Wednesday, October 2, 2019 04:15 PM

To: gangana...@lankabell.net

Cc: linuxptp-users@lists.sourceforge.net

Subject: Re: [Linuxptp-users] phc2sys in fail status

 

On Wed, Oct 02, 2019 at 04:02:44PM +0530, gangana...@lankabell.net wrote:

> [root@localhost /]# cat /etc/timemaster.conf    

> # Configuration file for timemaster

> 

> [ptp4l.conf]

> includefile /etc/ptp4l.conf

 

Oh, I see.

 

ptp4l doesn't support an "includefile" option. The content of
/etc/ptp4l.conf needs to be included in the [ptp4l.conf] section of
timemaster.conf.

 

--

Miroslav Lichvar

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to