1. 03 Feb, 2020 1 commit
  2. 11 Oct, 2019 1 commit
  3. 07 May, 2019 1 commit
  4. 25 Feb, 2019 1 commit
    • baujc's avatar
      Big update 2 · 515af578
      baujc authored
      . Better integrate of code optimization with PPSi Kconfig
      . PPSi Kconfig changes to simplify the code in PPSi and avoid #ifdef ..
      . Improve code optimization
      . Move some declaration in ppsi.h in other files to ligthen ppsi.h
      . Improvement of timers: global or instance dependent, dyn. allocation,
      renaming for better diagnostics, disabling allowed, ...
      . New behaviour for the PPS output generation (configurable,...)
      . Move control of the timing mode from HAL to PPSi
      . Optimization of code when a Protocol extension is not available
      . BMCA: Calculate the ebest,... only one time and then trigger all
      instances to execute the bmca state descision
      . Fix bug in the calculation of the clockIdentity to bring it into
      compliance with PTP spec 2008 document
      . Fix a bug related to Announce message received in SLAVE/UNCALIB
      . WR ext: use dynamic timer and adapt to new PPS generation
      . HA ext: Fix bug in fault injection mechanism
      515af578
  5. 20 Nov, 2018 1 commit
    • Jean-Claude BAU's avatar
      Arch. changes for HA integration + bring into compliance with the · 41bedca5
      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
      41bedca5
  6. 27 Feb, 2017 2 commits
  7. 20 Sep, 2016 1 commit
  8. 25 Aug, 2016 1 commit
  9. 01 Jul, 2015 1 commit
  10. 26 Jun, 2015 1 commit
  11. 18 Jun, 2015 1 commit
  12. 04 Dec, 2014 1 commit
    • Alessandro Rubini's avatar
      arch-wrs: added shmem code from libwr · dbb08dae
      Alessandro Rubini authored
      This is respinning a previous commit, based on the new shmem in libwr
      after the feedback and patches by Adam. More headers are inserted,
      as they are included by the ones we use.
      
      hal_shmem.h has one 1-line modification to account for the different
      include path in ppsi, as opposed to wr-switch-sw.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      dbb08dae
  13. 11 Nov, 2014 1 commit
  14. 21 Jul, 2014 2 commits
  15. 02 Mar, 2014 1 commit
  16. 15 Nov, 2013 2 commits
  17. 16 Oct, 2013 1 commit
  18. 31 Jul, 2013 1 commit
    • Alessandro Rubini's avatar
      general: rephrase copyright notices (no tech effect) · 23033d8a
      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's avatarAlessandro Rubini <rubini@gnudd.com>
      23033d8a
  19. 07 Jul, 2013 1 commit
  20. 12 Jun, 2013 1 commit
  21. 05 Jun, 2013 8 commits
  22. 23 May, 2013 2 commits
  23. 23 Apr, 2013 2 commits
  24. 14 Mar, 2013 1 commit
    • Alessandro Rubini's avatar
      arch-gnu-linux: network functions now dump if level is 2 · d924e8b0
      Alessandro Rubini authored
      If debug level for "frames" is 2 or more, net_ops->send and
      net_ops->recv now dump the data to stdout. The format is the same
      of tools/ptpdump, with "send:" and "recv:" in front. This is an example:
      
        send: TIME: (1363277414 - 0x5141f666) 17:10:14.748281
        send: VERSION: 2 (type 11, len 64, domain 0)
        send: FLAGS: 0x0002 (correction 0x00000000)
        send: PORT: 00-22-15-ff-fe-d7-c0-ef-00-01
        send: REST: seq 9, ctrl 5, log-interval 1
        send: MESSAGE: (G) ANNOUNCE
        send: MSG-ANNOUNCE: stamp 0.000000000
        send: MSG-ANNOUNCE: grandmaster-quality f8-fe-60f0
        send: MSG-ANNOUNCE: grandmaster-prio 248 248
        send: MSG-ANNOUNCE: grandmaster-id 00-22-15-ff-fe-d7-c0-ef
        send: DUMP: payload (size 64)
        send: DUMP: 8b 02 00 40  00 00 02 00  00 00 00 00  00 00 00 00
        send: DUMP: 00 00 00 00  00 22 15 ff  fe d7 c0 ef  00 01 00 09
        send: DUMP: 05 01 00 00  00 00 00 00  00 00 00 00  00 00 11 f8
        send: DUMP: f8 fe f0 60  f8 00 22 15  ff fe d7 c0  ef 00 00 a0
        diag-frames-1-eth0: SENT 64 bytes at 1363277414.748281517 (announce)
      
      And this is the same frame in the other host:
      
        recv: TIME: (1363277414 - 0x5141f666) 17:10:14.691032
        recv: VERSION: 2 (type 11, len 64, domain 0)
        recv: FLAGS: 0x0002 (correction 0x00000000)
        recv: PORT: 00-22-15-ff-fe-d7-c0-ef-00-01
        recv: REST: seq 9, ctrl 5, log-interval 1
        recv: MESSAGE: (G) ANNOUNCE
        recv: MSG-ANNOUNCE: stamp 0.000000000
        recv: MSG-ANNOUNCE: grandmaster-quality f8-fe-60f0
        recv: MSG-ANNOUNCE: grandmaster-prio 248 248
        recv: MSG-ANNOUNCE: grandmaster-id 00-22-15-ff-fe-d7-c0-ef
        recv: DUMP: payload (size 64)
        recv: DUMP: 8b 02 00 40  00 00 02 00  00 00 00 00  00 00 00 00
        recv: DUMP: 00 00 00 00  00 22 15 ff  fe d7 c0 ef  00 01 00 09
        recv: DUMP: 05 01 00 00  00 00 00 00  00 00 00 00  00 00 11 f8
        recv: DUMP: f8 fe f0 60  f8 00 22 15  ff fe d7 c0  ef 00 00 a0
        diag-frames-1-eth0: RECV 64 bytes at 1363277414.691032726 (type b)
      
      This is what I got for the same frame in a ptpdump running in the
      master.
      
        TIME: (1363277414 - 0x5141f666) 17:10:14.748376
        ETH: 0800 (00:22:15:d7:c0:ef -> 01:00:5e:00:01:81)
        IP: 17 (192.168.16.1 -> 224.0.1.129) len 92
        UDP: (320 -> 320) len 72
        VERSION: 2 (type 11, len 64, domain 0)
        FLAGS: 0x0002 (correction 0x00000000)
        PORT: 00-22-15-ff-fe-d7-c0-ef-00-01
        REST: seq 9, ctrl 5, log-interval 1
        MESSAGE: (G) ANNOUNCE
        MSG-ANNOUNCE: stamp 0.000000000
        MSG-ANNOUNCE: grandmaster-quality f8-fe-60f0
        MSG-ANNOUNCE: grandmaster-prio 248 248
        MSG-ANNOUNCE: grandmaster-id 00-22-15-ff-fe-d7-c0-ef
        DUMP: payload (size 64)
        DUMP: 8b 02 00 40  00 00 02 00  00 00 00 00  00 00 00 00
        DUMP: 00 00 00 00  00 22 15 ff  fe d7 c0 ef  00 01 00 09
        DUMP: 05 01 00 00  00 00 00 00  00 00 00 00  00 00 11 f8
        DUMP: f8 fe f0 60  f8 00 22 15  ff fe d7 c0  ef 00 00 a0
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      d924e8b0
  25. 02 Mar, 2013 2 commits
    • Alessandro Rubini's avatar
      timeout: now calc_timeout() is part of the time_ops · afa607df
      Alessandro Rubini authored
      By moving calc_timeout into the time functions, we simplify
      the split-out of ./time-<arch> as a separate subdirectory.
      
      As a side effect, calc_timeout disappears from arch-wrpc, and
      wrpc-sw needs to be adapted to this commit, to provide it
      inside its own time_ops.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      afa607df
    • Alessandro Rubini's avatar
      kill timer: implement timeout · 4b07d444
      Alessandro Rubini authored
      The timer implementatin was incredibly complex.  Now there is no such
      thing as a timer in ptp. We only have timeouts.
      
      A timeout is a point in time. We calculate; we can be earlier; we
      can be later. The only thing which is arch-specific is calculating.
      
      This replaces every "timer" operation with the equivalent "timeout"
      one. All stuff is renamed to avoid confusion between "time" and
      "timer".
      
      Unfortunately, the resulting program as of this commit is not working.
      the pdelay_request timeout happens continuously, I'm sure I've exposed
      a latent bug, which I'm now going to fix.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      4b07d444
  26. 28 Feb, 2013 1 commit
  27. 27 Feb, 2013 1 commit
    • Alessandro Rubini's avatar
      diag: bugfix for arch-gnu-linux · e53cb026
      Alessandro Rubini authored
      pp_printf calls puts, but that's the "embedded" puts, the one that
      doens't add a trailing newline. So to avoid extra lines and split
      messages in the diagnostic output we need to link the fake puts, that
      calls pp_puts instead (in turn, pp_puts for arch-gnu-linux relies on
      fputs, which doesn't add the trailing newline).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      e53cb026