closes-bug: 2083863 Change-Id: I47e6c9d7216711b32919e70ad270f5313da4a861 Signed-off-by: Suzana Fernandes <Suzana.Fernandes@windriver.com>
3.2 KiB
Instance Specific Considerations
ptp4l
Default global parameters
- tx_timestamp_timeout 20
- summary_interval 6
- clock_servo linreg
- network_transport L2
- time_stamping hardware
- delay_mechanism E2E
- boundary_clock_jbod 1
- uds_address /var/run/ptp4l-<instance name>
Default interface parameters
NONE
Required user-supplied parameters
domainNumber <number>
Other requirements
An interface with a port must be assigned to the ptp4l
instance in order for it to start.
Note
It is recommended to configure one ptp4l
instance per .
Some designs have a single shared between all the ports on the , while
others may have one per port. Refer to the documentation to determine if
a has multiple . Configuring a ptp4l
instance with multiple
interfaces, each with its own results in degraded timing accuracy or
other undesirable behaviors. This means that a given ptp4l
instance should only be configured with interfaces that are on the same
and share a .
phc2sys
Default global parameters
cmdline_opts '-a -r -R 2 -u 600'
Default interface parameters
NONE
Required user-supplied parameters
domainNumber <number>
-
This should match with the associated
ptp4l
instance. uds_address <path>
-
This value needs to be the same as the uds_address for the
ptp4l
instance thatphc2sys
is tracking.
Other requirements
The cmdline_opts
are defaulted to support interaction
with ptp4l
. If phc2sys
is instead being used
with ts2phc
, this parameter will have to be updated. See
ptp-instance-examples-517dce312f56
for more
information.
Note
The cmdline_opts parameter
overrides all default command
line flags for the service. This means that when setting
cmdline_opts
, the full list of desired flags should be
set.
ts2phc
Default global parameters
ts2phc.pulsewidth 100000000
leapfile /usr/share/zoneinfo/leap-seconds.list
cmdline_opts '-s nmea'
Default interface parameters
ts2phc.extts_polarity rising
Required user-supplied parameters
This value is the path to the GNSS serial port that is connected, it will be named differently on each system.
ts2phc.nmea_serialport=/dev/gnss0
Other requirements
An interface with a port must be assigned to the ts2phc
instance in order for time to be synced from GNSS to the .
clock
Default global parameters
There are no supported global parameters for clock type.
Default interface parameters
NONE
Required user-supplied parameters
NONE
Other requirements
The clock type instance is a special instance used for configuring the control parameters of the Westport Channel or Logan Beach clock interface parameters.
These parameters can be applied to the interface of a clock instance parameters:
- sma1 input/output
- sma2 input/output
- u.fl1 output
- u.fl2 input
- synce_rclka enabled
- synce_rclkb enabled