Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nwtime/linuxptp
Linux PTP Project
https://github.com/nwtime/linuxptp
Due to uclic-ng supports clock_nanosleep without enabled threads we do
not need to provide clock...
Signed-off-by: Richard Cochran <[email protected]>
38ad3264f8726691c3fd0c97d0b34c8eee80c11b authored over 4 years ago by Richard Cochran <[email protected]>
The nmea code estimates the device's current time by adding the duration
from the last reading a...
Bring the built in leap second table up to date through IERS Bulletin C59.
No new leap seconds h...
If a leap seconds file is configured, the software will read the file once
on start up. However...
The error path does not clean up properly when allocations fail. This
patch fixes the memory le...
The PTP time scale is TAI, and a PTP GM needs to provide it. However, most
GPS devices only pro...
If there is no valid fix reported by the RMC message, then calculation
of the PPS time stamp is ...
If a leap second lookup fails, the likely reason is that the table is out
of date. After all, t...
The time value passed into the leap second lookup table should be in
seconds, but the calling co...
This is useful when dealing with timestamps returned by various
ancillary PHC ioctl kernel APIs,...
Currently the PHC index is retrieved only through an ethtool ioctl if
the PHC is specified as an...
Interestingly, although tmv_t is a wrapper over nanoseconds, there is no
initializer from a raw ...
We will be reusing some PMC code between phc2sys and ts2phc. In
preparation of that, we would li...
The capability command for phc_ctl does not display the number of pins
or the cross timestamping...
Signed-off-by: Richard Cochran <[email protected]>
3da961bb112b4d0e823ff125901b5674e7b57c0e authored over 4 years ago by Richard Cochran <[email protected]>
The API to obtain the time stamp of a PPS source indicates the validity of
the returned value. ...
Each slave creates an instance of a servo. However, when cleaning up, the
code neglected to fre...
When creating a ts2phc slave, a clock is obtained by invoking the
posix_clock_open() method. Ho...
Currently it is very finicky to deploy linuxptp in an automated build
system and make KBUILD_OUT...
The poll(2) system call may set POLLERR in the returned events. Normally
no errors are returned...
The application's main event loop (clock_poll) is woken up by poll() and
dispatches the socket r...
ptp4l is too silent when receiving, for whatever reason, out of order
messages. If the reorderin...
This saves a few bytes of static storage and less instructions are
executed when looking for the...
Signed-off-by: Werner Macho <[email protected]>
7c49882e348ef05dfd6a1d10f86a837615527500 authored over 4 years ago by Werner Macho <[email protected]>
On some platforms, time_t has recently switched from "long" to "long
long" [1]. For these platfo...
The slave delay timing data TLV provides the delay time stamps along with
the associated correct...
After a successful message exchange, the delay measurement values are
processed by the port code...
Signed-off-by: Richard Cochran <[email protected]>
ef9d51a47d470e045c4ec4cbc51e4cd7911953a9 authored over 4 years ago by Richard Cochran <[email protected]>Signed-off-by: Richard Cochran <[email protected]>
2d2637989c4b57f709406ac345514ecc69a0da9d authored over 4 years ago by Richard Cochran <[email protected]>
The monitoring module accepts Sync timing events. This patch hooks up the
port receive path to ...
Signed-off-by: Richard Cochran <[email protected]>
6f95c2e92cf9d33a6813bfefa06e52c7f0810f72 authored over 4 years ago by Richard Cochran <[email protected]>
This patch adds a new module for slave event monitoring with its own
configuration option, a UDS...
Signed-off-by: Richard Cochran <[email protected]>
6eb9898f61472dc15bae3cd2a47a774d53fa1080 authored over 4 years ago by Richard Cochran <[email protected]>
The 2019 version of 1588 known as v2.1 introduces new TLV type and
management IDs. This patch a...
Signed-off-by: Richard Cochran <[email protected]>
d0aa29b932bdfb5c8bad2ebb76a8cf8934b948ff authored over 4 years ago by Richard Cochran <[email protected]>
Code in other modules will need this special port ID value. This patch
makes it available throu...
The port_forward_to() method clobbers the specific error code returned
by the transport layer wi...
The utility function to compare port IDs takes pointers, but it only needs
to read the reference...
Signed-off-by: Richard Cochran <[email protected]>
306ac674608e5a8d1affbdc2e459f8f011eca115 authored over 4 years ago by Richard Cochran <[email protected]>
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The current code truncates the size of path trace TLVs which exceed the
expected maximum based o...
Signed-off-by: Richard Cochran <[email protected]>
8f523e4d629e671598ed73a408c88dbbe2c6d490 authored over 4 years ago by Richard Cochran <[email protected]>
The transport layer's functional interface foresees having error codes
percolate back up to the ...
When using the "free running" option, a slaved port remains in the
UNCALIBRATED state. If the a...
Signed-off-by: Richard Cochran <[email protected]>
6c5b61a64c4bd31090703f1e24f89e140dc490d7 authored over 4 years ago by Richard Cochran <[email protected]>
IEEE 1588 v2.1 and ITU G.8275.1/2 call for an optional "synchronization
uncertain" flag passed i...
Recently the Linux kernel's PTP Hardware Clock interface was expanded
to include a "write phase"...
The logic for the Automotive Profile added a message interval update
mechanism that triggers whe...
There are several issues surrounding leap seconds that emerge when a clock
takes on the Grand Ma...
Some PTP Hardware Clocks have input pins that can generate time stamps
on the edges of external ...
Signed-off-by: Richard Cochran <[email protected]>
acd142964586b5c562bf139700378bf3be05a98a authored over 4 years ago by Richard Cochran <[email protected]>
Many GPS radios provide both a 1-PPS and time of day information via
NMEA sentences. This patch...
This patch introduces a new ts2phc source using a PHC device. There
are multiple use cases for ...
If more than one local UDS client subscribes to push notifications,
only the last one receives d...
Allow interactive input like
set SUBSCRIBE_EVENTS_NP duration 60 NOTIFY_PORT_STATE on
to r...
1044268e85642253713c035aeef026a847793cf6 authored almost 5 years ago by Richard Cochran <[email protected]>
The clock layer indeed replies to management GET actions for this item,
but it sends an empty ma...
While we are at it, reformat the pmc_show() function into reverse
Christmas tree order.
Signed-...
e6d52c54e968f46e35d7c2e53b03f913eedc0ba5 authored almost 5 years ago by Richard Cochran <[email protected]>
The header file, pmc_common.h, makes some private macros public. The
intent was to use those ma...
Currently there is a method to convert a timespec into a tmv_t, but
not the other way round. Th...
In anticipation of support for external time stamping in PHC devices, this
patch adds wrapper fu...
Upcoming functionality will need to configure the input and output pins of
PHC devices. However...
The one user of the function, posix_clock_open(), simply open codes
the closing call to phc_clos...
Unfortunately the SNMP code still has issues like not passing the
valgrind test, and no one is a...
When updating and potentially removing event subscribers, the code uses
the simple list traversa...
This novel use of the STA_UNSYNC flag breaks with the established,
traditional meaning of that f...
In case there is no connection to the server, notify the kernel
that the clock is currently unsy...
Now that a complete functional API is in place, there is no need to expose
the inner workings of...
Now that all call sites have been converted to interface_create(), there
is no longer any needed...
When compiling with gcc8 and -O2, the clever compiler complains:
interface.c: In function ‘i...
b878dd99fab24112bfbfb1383d6e7abbb116e529 authored almost 5 years ago by Richard Cochran <[email protected]>
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
In order to eventually hide the implementation details of the interface,
users will need to be a...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
e43a76cbe6c7dc47c80e57bcabee44fe258aecb1 authored almost 5 years ago by Richard Cochran <[email protected]>
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
The ts_label field of the interface is set in different ways by different
callers. In order to ...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
The name field of the interface is set in different ways by different
callers. In order to prev...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
In many cases, the time stamping label will be the same as the name of
the interface. In order ...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
In order to prevent users from open coding this logic, this patch
provides a method that populat...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Many of the users only require a read only reference to the interface name.
This patch adds an a...
Many of the users only require a read only reference to the time
stamping label of the interface...
Signed-off-by: Richard Cochran <[email protected]>
34945679fef64de38bb89ba0bff90837b606f007 authored almost 5 years ago by Richard Cochran <[email protected]>
Up until now, the users of the interface data structure simply access
its fields without restric...
The function to open a posix clock never modifies the passed in
string. This patch adds the con...
Three of the rtnl methods never modify the strings passed in. This
patch adds the const keyword...
The two methods, config_create_interface and config_read, never modify the
strings passed in. T...
Any program that links to the servo interface must also link with the
implementations of that in...