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

Print messages to the syslog by default.

Signed-off-by: Richard Cochran <[email protected]>

86ddff4a0aa0f3cc316a589f97d3c62663bd2719 authored about 13 years ago by Richard Cochran <[email protected]>
Implement timeouts with log seconds less than zero.

Signed-off-by: Richard Cochran <[email protected]>

6d73cea86a0c380fe09bdf95558fe57c7d54dd8c authored about 13 years ago by Richard Cochran <[email protected]>
Add command line options to control the logging destination.

Signed-off-by: Richard Cochran <[email protected]>

c0ebf12f79e4603136d25e48bb39c2efa54ac63f authored about 13 years ago by Richard Cochran <[email protected]>
Fix the port finite state machine.

The state machine needs to know whether a new master has just been
selected in order to choose b...

222c9bb62bef1c64aba8a954611146e309ed8add authored about 13 years ago by Richard Cochran <[email protected]>
Fix wrong result from the best master clock algorithm.

The BMC should never return 'faulty', and I don't know what I was thinking
here, so let's just f...

807ec32c96412db23810ac4a114a6867e98756b7 authored about 13 years ago by Richard Cochran <[email protected]>
Fix the BMC state decision algorithm.

We failed to make the distinction between plain old "better" and
"better by topology," but the B...

c2fad7bd516ffe18990a99bd2f59c8e7fa134b20 authored about 13 years ago by Richard Cochran <[email protected]>
uClinux: provide missing system calls.

The timerfd calls are missing from Sourcery CodeBench Lite 2011.09-23.
We can remove this code o...

ba6cf8b767c9a65dc8c933a71cf5fd241d183975 authored about 13 years ago by Richard Cochran <[email protected]>
Fix typo in the initial priority field of the parent data set.

Signed-off-by: Richard Cochran <[email protected]>

a442a928f8e9047232671bffe833fbe18d04e904 authored about 13 years ago by Richard Cochran <[email protected]>
Differentiate the BMC related logging from the synchronization logging.

Signed-off-by: Richard Cochran <[email protected]>

335100c1a63c7f78ec969a3e64db25a215390f35 authored about 13 years ago by Richard Cochran <[email protected]>
Add code to read a configuration file.

Signed-off-by: Richard Cochran <[email protected]>

ec5e783e848a71220a4a7a67424153423f774db7 authored about 13 years ago by Richard Cochran <[email protected]>
Make the slave only mode a non-default option.

Now that we have the master code in place, there is no longer any need
to restrict ourselves.

S...

a736b0c2ffd70a3bbf8b7b89138b0667e59a7a71 authored about 13 years ago by Richard Cochran <[email protected]>
Issue a warning when the path delay turns out negative.

Signed-off-by: Richard Cochran <[email protected]>

0536aa7413f16998e0df850dc592925aac44f4f7 authored about 13 years ago by Richard Cochran <[email protected]>
Do not print debug messages by default.

Signed-off-by: Richard Cochran <[email protected]>

851675833af3e6948a66ea7014b92b999374b44b authored about 13 years ago by Richard Cochran <[email protected]>
Make use of the configuration file for the port data set.

Signed-off-by: Richard Cochran <[email protected]>

59163df8b164471c439cbe8ffbae1c9e8fb9927d authored about 13 years ago by Richard Cochran <[email protected]>
Add a command line option to set the message level.

Signed-off-by: Richard Cochran <[email protected]>

32ee558ef8bd180239439e10534c76aeb8eafa85 authored about 13 years ago by Richard Cochran <[email protected]>
Implement the master sync timer and message.

Signed-off-by: Richard Cochran <[email protected]>

e2c02e49c70078cbcdfdc200fe914a123471af66 authored about 13 years ago by Richard Cochran <[email protected]>
Print the synchronization statistics at the information level.

Signed-off-by: Richard Cochran <[email protected]>

f135133a88c2fa3a71e1fa0a4f9c2a1879c10779 authored about 13 years ago by Richard Cochran <[email protected]>
Ignore messages from ourselves and from the wrong domain.

Signed-off-by: Richard Cochran <[email protected]>

e47549e73f61225d8bb2e179847d55196d884f67 authored about 13 years ago by Richard Cochran <[email protected]>
Fix message leak in the port event handler.

Signed-off-by: Richard Cochran <[email protected]>

95185673f53b84b91ca1473e7434dd6fe453f13b authored about 13 years ago by Richard Cochran <[email protected]>
Make use of the configuration file for the default data set.

Signed-off-by: Richard Cochran <[email protected]>

1092c4237b23e7befd3f2ffcf666f2086216f442 authored about 13 years ago by Richard Cochran <[email protected]>
Do not treat signaling and management messages as errors.

Instead we just ignore them for now.

Signed-off-by: Richard Cochran <[email protected]>

50b82c200d675a32a58a0408e92a9e5d35d47765 authored about 13 years ago by Richard Cochran <[email protected]>
Implement the master announce timer and message.

Signed-off-by: Richard Cochran <[email protected]>

72703ba36a927d30bcdaa014239e5be7c5a9c340 authored about 13 years ago by Richard Cochran <[email protected]>
Fix delay response message format.

Signed-off-by: Richard Cochran <[email protected]>

39f5b2c449282b0d8b8d893278f3347fb39748e3 authored about 13 years ago by Richard Cochran <[email protected]>
udp: turn off multicast loop back.

This option is on by default, but we don't want or need it.

Signed-off-by: Richard Cochran <ric...

95d5c36c0f6185d9c64b1d9debec5119def93f77 authored about 13 years ago by Richard Cochran <[email protected]>
Provide methods to obtain a clock's parent and time properties data sets.

Signed-off-by: Richard Cochran <[email protected]>

7dbdf2985cc286253af4096e01bbe332787bb72f authored about 13 years ago by Richard Cochran <[email protected]>
Add an access method for a clock's currentDS.stepsRemoved.

Signed-off-by: Richard Cochran <[email protected]>

3481c99c70a2edaea28292be4002e9471b0893e6 authored about 13 years ago by Richard Cochran <[email protected]>
Group the sequence numbers together in one structure.

Signed-off-by: Richard Cochran <[email protected]>

e96d26f13f6565716e354e06ae43ddf3faed1379 authored about 13 years ago by Richard Cochran <[email protected]>
Clear all timers when changing port state.

Signed-off-by: Richard Cochran <[email protected]>

62afef45dbab1afec1e14715398468544873ca3c authored about 13 years ago by Richard Cochran <[email protected]>
Implement the port master qualification timer.

Signed-off-by: Richard Cochran <[email protected]>

da17f7535933afbc52892cbb7bd9921ee9f09461 authored about 13 years ago by Richard Cochran <[email protected]>
udp: Use the bind to device socket option.

Without this Linux specific option, multicast packets arrive on one
interface are delivered by t...

347b42b7d57f1e4903a30be867d8bf1b4c41867e authored about 13 years ago by Richard Cochran <[email protected]>
Introduce an event recommending the grand master state.

We already have a grand master state. Adding this event will simplify the
overall logic, since i...

b76c4e108ff3c8be9eca9349f80e1c460db180ba authored about 13 years ago by Richard Cochran <[email protected]>
Implement the synchronization events.

This will allow a port to get from the uncalibrated into the slave state.

Signed-off-by: Richar...

10753faccfc7e2aca995264de0b7840fe77ae42f authored about 13 years ago by Richard Cochran <[email protected]>
udp: Use the IP_ADD_MEMBERSHIP socket option.

For some reason, MCAST_JOIN_GROUP is not working under uClinux. We can
just stick with the more ...

5555a2f02931b6f0fe3d99e960b47efdafc2a41c authored about 13 years ago by Richard Cochran <[email protected]>
udp: bring a warning or error if the driver changes our hwtstamp options.

Signed-off-by: Richard Cochran <[email protected]>

447d4d442c64437147e4c7901f7a3b3175171bbb authored about 13 years ago by Richard Cochran <[email protected]>
udp: use the message logging facility instead of stdio.

Signed-off-by: Richard Cochran <[email protected]>

b0d547cac4b67be443913328c357a16e4ed90be4 authored about 13 years ago by Richard Cochran <[email protected]>
Rename the main program to something better sounding.

1de37086ef3f9908813cd98b335fa24743e6c839 authored about 13 years ago by Richard Cochran <[email protected]>
Do not generate dependencies if we are going to clean.

623add8303a11333bd6cf19ee08dce02c5a8306e authored about 13 years ago by Richard Cochran <[email protected]>
Reject negative path delay.

If the path delay comes out negative, then something is amiss. In this
case, we just print a war...

ecf959ce3df7815d067d5c072ecc8a0e497a8a42 authored about 13 years ago by Richard Cochran <[email protected]>
udp: wait longer for transmit time stamps

Some hardware is a bit pokey. We now wait forever on EINTR and just a
little bit on EAGAIN.

Sig...

cecc20a3077408718ce7806bd5f0253f335dac2a authored about 13 years ago by Richard Cochran <[email protected]>
Let the clock servo know about the expected time stamp quality.

If software time stamping is to be used, then the servo will want to
have appropriate filtering....

87e61f97707e7c25ea152696a081788a85b5db6a authored about 13 years ago by Richard Cochran <[email protected]>
Add a bunch more documentation.

Signed-off-by: Richard Cochran <[email protected]>

01691df47b701e6163d961aa6cecec07081b30db authored about 13 years ago by Richard Cochran <[email protected]>
Smooth the path delay estimate with a moving average.

This is really just a first attempt using a hard coded length. Probably
it will be necessary to ...

56a5adc1ccb460d570877d02f8c89f0cdde4dca6 authored about 13 years ago by Richard Cochran <[email protected]>
Use the timeout table for the delay request messages.

Signed-off-by: Richard Cochran <[email protected]>

68aea3058ce426c5439a6988c591125eaed3b232 authored about 13 years ago by Richard Cochran <[email protected]>
Select the system clock whenever legacy hardware time stamps are used.

Signed-off-by: Richard Cochran <[email protected]>

429c126b580f7bab9662e6e7d83f2c1803a02389 authored about 13 years ago by Richard Cochran <[email protected]>
Add a time out table for delay requests.

We can pre-compute a table of suitable values in order to simplify the
run time random delay sel...

1d6737b75c3beca909b7e5582d8bc994ca1f0511 authored about 13 years ago by Richard Cochran <[email protected]>
Use the correct slave-only clock class.

If we are going to be slave-only, then we should also advertise the
correct clock class.

Signed...

2fd7a1c18ff1aadff636cdc0b7ac1ef6460bc954 authored about 13 years ago by Richard Cochran <[email protected]>
Bind transmitted packets to the port's network interface.

Even though the MCAST_JOIN_GROUP socket option includes the interface
index, this applies to the...

5f7facdc638104a6d2469d052717c36d70847320 authored about 13 years ago by Richard Cochran <[email protected]>
Link it all together, but in slave-only mode.

Since the master implementation is still lacking, we will just keep
the slave-only flag hard cod...

ebd353aff6126066ae8456deea516256cec12828 authored about 13 years ago by Richard Cochran <[email protected]>
Implement the port layer.

Signed-off-by: Richard Cochran <[email protected]>

dae76b951a0c21a1e230e815a0db2820f0263a6f authored about 13 years ago by Richard Cochran <[email protected]>
Implement the PTP clock.

Signed-off-by: Richard Cochran <[email protected]>

49cd10e678a60855fc8e93b8af343b5a5247490a authored about 13 years ago by Richard Cochran <[email protected]>
phc: Add a method to query the maximum adjustment.

Signed-off-by: Richard Cochran <[email protected]>

5b8fa684ae632bf128e2798aa9ac140e9e4c81f0 authored about 13 years ago by Richard Cochran <[email protected]>
Add the main program.

Signed-off-by: Richard Cochran <[email protected]>

150897669e0a2031bdb032e41ffe576704a09bbb authored about 13 years ago by Richard Cochran <[email protected]>
Fix a misplaced doxygen comment.

Signed-off-by: Richard Cochran <[email protected]>

2a8711a125c17588dfb69ac597d530b6509de152 authored about 13 years ago by Richard Cochran <[email protected]>
Add an abstract time value type.

Signed-off-by: Richard Cochran <[email protected]>

fc378711d82df5e6901a4b46b4f1fcee4aa0a6d9 authored about 13 years ago by Richard Cochran <[email protected]>
Add a modular clock servo interface with a PI controller.

Signed-off-by: Richard Cochran <[email protected]>

5c010351c0d58bc3fc03bd7baf9b54b4dd7ae408 authored about 13 years ago by Richard Cochran <[email protected]>
Add a message layer.

Note that only some of the message types are implemented.

Signed-off-by: Richard Cochran <richa...

edcb731cc23836cf2972fb15eb44fc8cc297e45e authored about 13 years ago by Richard Cochran <[email protected]>
Add transport over UDP IPv4.

Signed-off-by: Richard Cochran <[email protected]>

60f3a85463d8b57725a8ca97afd5ee751dabba50 authored about 13 years ago by Richard Cochran <[email protected]>
Add utility functions for obtaining human readable strings.

Signed-off-by: Richard Cochran <[email protected]>

e930bc4e1183f3d724552bb0d58e7b7999cf1487 authored about 13 years ago by Richard Cochran <[email protected]>
Add the best master clock algorithm.

This commit also introduces clock and port objects, but only with the
minimal interface needed b...

c9a15e609479cc8bb9bca84b12d349210768e803 authored about 13 years ago by Richard Cochran <[email protected]>
Add the state machine.

Signed-off-by: Richard Cochran <[email protected]>

f5ef4a3d3d06495f3e7dc3a497bfbea7ecc0f844 authored about 13 years ago by Richard Cochran <[email protected]>
Add functions for logging messages in kernel style.

Signed-off-by: Richard Cochran <[email protected]>

bb1f18d87b2509eade6def09da7f8a636e8af7f5 authored about 13 years ago by Richard Cochran <[email protected]>
Add code to open and close PHC devices.

Signed-off-by: Richard Cochran <[email protected]>

11e0446c0ea215698872f07b8a033f2b9618b325 authored about 13 years ago by Richard Cochran <[email protected]>
Add the license, a readme, and some header files.

This commit gets the project off to a good start. The header files provide
some basic data types...

af380e861745517c2089a439116a28e4ea1ef225 authored about 13 years ago by Richard Cochran <[email protected]>