- 09 Apr, 2019 1 commit
-
-
baujc authored
- Has Hal is no longer used for ingress/egress latencies, we must then take them from the configuration file - Definition used by the common servo (WR & HA) - Implementation of the IDLE state See previous commit 'Review of WR protocol implementation'
-
- 21 Nov, 2018 1 commit
-
-
Jean-Claude BAU authored
- This structure is changed in order to be able to use SIGNALING messages with non-fowardable MAC address. This have an impact on many places as we have to distinguish two kind of signaling messages
-
- 20 Nov, 2018 1 commit
-
-
Jean-Claude BAU authored
standard IEEE1588-2018 We bring here a lot of changes to : - make the implementation more complaiant with the standard IEEE1588-2018. We introduce new structures for the time (TimeInterval, Relative difference) Named used in structures are aligned to the standard, ... It is just a first step. More work is needed - be able to use more than one protocol extension at the same time (configurations, structures, ...) - add the concept of profile - increase diagnostics by displaying also standard PTP servo informations
-
- 02 Aug, 2018 1 commit
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 07 Aug, 2017 1 commit
-
-
Sven Meier authored
The UTC leap flags are propagated to the system (unix) so the leap second is correctly handled at midnight so the UTC time is always correct.
-
- 03 Aug, 2017 1 commit
-
-
Sven Meier authored
The clock class is now decreased and increased based on the servo state, this only has an effect for wrs and wrpc since the contain a servo loop.
-
- 20 Jul, 2017 2 commits
-
-
Sven Meier authored
Leap seconds are now also fetched from the system in case we are a grandmaster A reset of the locking procedure was added so a locked switch can get master again
-
Sven Meier authored
The audit portings changed the timely behaviour of the ppsi which cause wrong behaviours, the timeout scheme was changed to only reset timeouts where needed and in all non PTP states. UTC offset is now fetched from the system where supported, link up/down is now considered in the BMC, also some state changes where cleaned up to be out of the BMC, e.g. state changes based on timeouts between PreMaster and Master or between Uncalibrated and Slave.
-
- 03 Jul, 2017 1 commit
-
-
Adam Wujek authored
Remove warning that HAS_ABSCAL is redefined Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 29 Jun, 2017 1 commit
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 23 Jun, 2017 1 commit
-
-
Alessandro Rubini authored
This is a port of previous work by Peter Jansweijer from nikhef. To perform absolute calibration, we need a grand-master look-alike mode that sends sync once a second (and hopefully slightly after the pps signal). Using a special gateware that sends a pulse whenever a frame is transmitted and received, users can correlate collected timestamps (T1 and T4), this special pulse and the pps pulse of the node. The procedure for absolute calibration is described in http://www.ohwr.org/attachments/4542/WhiteRabbitAbsoluteCalibrationProcedure.pdf Another commit, in wrpc-sw, adds "mode abscal" for this feature to be used. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 06 Apr, 2017 1 commit
-
-
Alessandro Rubini authored
It was a hack of mine, I'd better call it by name. We must spit no errors when injecting faults. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 28 Feb, 2017 1 commit
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 27 Feb, 2017 2 commits
-
-
Alessandro Rubini authored
This tool can be used to force overflows of the input fifo. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Currently it only exports the rxdrop/txdrop feature. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 31 Jan, 2017 2 commits
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
Saves ~150 bytes Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 01 Dec, 2016 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 04 Nov, 2016 1 commit
-
-
Alessandro Rubini authored
Most arguments of net->send are redundant, as the ppi includes all info. In particular, chtype and "is_pdelay_addr" derive from the message type. And the timestamp is always internal. I chose not to remove message, len and msgtype because the message being sent includes the header (ppi->tx_offset), so there's some calculation to extract them. This may happen in a later commit, if I find that is a size improvement. Bugs fixed as a side effect: - the "if" for "is_pelay" missed PDELAY_RESP_F_UP (now it's in msgtype.c) - wrpc pdelay was always using the e2e mac address This commit decreases the size of all archs by 60 bytes, but increases wrpc by 20 bytes because of the fix above Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 25 Oct, 2016 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 16 May, 2016 3 commits
-
-
Alessandro Rubini authored
We don't zero timer any more (see preceding commit), no need to special case anything. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit ensures all architectures do the proper things to work with either end-to-end and peer-to-peer, and all frames use the proper addresses * we avoid ifdef by using HAS_PTP and HAS_E2E * no need to -D config items in Makefile * wrpc now correctly sets ppg->delay_mech at startup * the simulator now correctly sets ppg->delay_mech at startup * bare archs correctly set ppg->delay_mech at startup * bare archs properly use one or the other multicast address * pp_instance_cfg->delay_mech is removed as not yet used Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Cesar Prados authored
Add the pdelay mac address to the same socket, it means that one socket has two multicast addr, E2E and P2P. During recv the wrpc function check both mac addresses. Send function uses the E2E or P2P mac addr depending on the msg to be sent. [changed by Alessandro: create one socket only, according to Kconfig settings] Signed-off-by:
C.Prados <c.prados@gsi.de>
-
- 13 Jan, 2016 4 commits
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 01 Sep, 2015 1 commit
-
-
Alessandro Rubini authored
-
- 06 Jul, 2015 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 07 Nov, 2014 1 commit
-
-
Alessandro Rubini authored
I'm going to introduce a "flags" field in pp_instance, so diagnostic flags are better called d_flags. The same applies, for consistency, to the global variable. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 22 Sep, 2014 1 commit
-
-
Alessandro Rubini authored
All adjustments are passed as part-per-billion, so after getting mad in understanding what freq_ppm was, I renamed all of them to freq_ppb. While making changes I verified this is what it is. Thus I fixed the comment in ppsi.h (that was wrong by a factor of 64) and the adjustment code in bare-time.c that made the same error (I admit I don't test arch-bare often). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 26 Mar, 2014 1 commit
-
-
Alessandro Rubini authored
Commit 84df8890 changed the build order, avoiding libraries. Back then I fogot to apply the same change to time-wrpc, and didn't notice because ./MAKEALL worked fine. We never linkerd the final ppsi.elf for WRPC since then. Now I'm updating the ppsi submodule in the wrpc-sw repository, and this must be fixed to avoid the missing symbols in the final link. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 13 Nov, 2013 1 commit
-
-
Alessandro Rubini authored
This is needed for the wrpc-sw release, as Etherbone won't fit with a full ppsi in the default RAM size for SPEC cards. ptpdump support will soon become optional in ppsi, through Kconfig, and a bigger RAM size will become the default for SPEC images as well. But currently we need this hack. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 05 Oct, 2013 1 commit
-
-
Alessandro Rubini authored
This patch adds support for modifying the utc/tai offset. The "set" time operation, when called with a NULL pointer to the time structure, will do the operation in its own arch-specific way. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 19 Sep, 2013 1 commit
-
-
Grzegorz Daniluk authored
-
- 31 Jul, 2013 1 commit
-
-
Alessandro Rubini authored
This changes all "Name Surname for CERN" to "Copyright CERN, author Name Surname". This is trivial and makes no change, with a few expections: - all trivial Makefiles that had "for CERN" lines have now no attributions, as they are trivial anyways. - a few unrepresented files have not the copyright notice (especially ptpdump, that I wrote in 2012). - a few "for CERN" remain in subprojects, where I didn't touch anyrhing Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 23 May, 2013 1 commit
-
-
Alessandro Rubini authored
This includes the time (and net) operations from arch-wrpc. Like bare, arch-wrpc is not able to use a different timing engine than its own. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-