1. 29 Mar, 2019 1 commit
  2. 05 Mar, 2019 1 commit
    • baujc's avatar
      Suppress timer PP_TO_FAULT · 765c661b
      baujc authored
      After reviewing the code with Maciej, this time-out does not seem to be
      used in a very coherent way. We decided then to remove it.
      765c661b
  3. 01 Mar, 2019 1 commit
    • baujc's avatar
      Code optimization · 25692a35
      baujc authored
      - Make externalPortConfiguration compliant with the PTP specifications
      - Optimize code for externalPortConfiguration
      - Optimize code for slaveOnly
      - Replace "CONFIG_HAS_P2P && ppi->delayMechanism==P2P" by an inline
      function
      25692a35
  4. 26 Feb, 2019 1 commit
  5. 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
  6. 06 Feb, 2019 1 commit
  7. 01 Feb, 2019 1 commit
  8. 29 Jan, 2019 3 commits
    • baujc's avatar
      Big update ... · c81db09e
      baujc authored
      - New L1Sync and PTP servo calculation (delayAsym,...)
      - Make function calls more uniforms between extensions
      - refactoring
      - Add a new state machine to enable/disable an extension and provide
      only PTP support: New timer, new hooks, ...
      - Fix bug in time format conversion
      - Code removed when an extension is not required (#ifdef XXX )
      - Align the PTP and L1Sync servo calculation (shared fct, same
      calculation,...)
      - Force only one servo running at a given time for a given instance
      - New servo reset hook : called by main loop
      - Add function to converte a time into a string
      - Force to stay in FAULTY state during 60s
      - Optimise function wrs_enable_timing_output()
      c81db09e
    • baujc's avatar
      Add possibility to remove CUSTOM profile · d456d2fd
      baujc authored
      The custom profile is usefull for the White Rabbit switch integration
      tests. It is now possible to remove it for other targets where the
      memory space is critical (nodes)
      d456d2fd
    • baujc's avatar
      Improvee detection of multiple PPSi running instances · 88d2f789
      baujc authored
      When /etc/init.d/ppsi.sh is called with the parameter 'restart', it
      happens sometimes that the restarted PPSI process detects that another
      one is running but it is not really the case. To  sove this problem, the
      PPSI process is now  checking  few times with a delay in between before
      to decide to exit.
      88d2f789
  9. 28 Jan, 2019 1 commit
    • baujc's avatar
      wrs_time_set(): Adjust seconds first · d8dfb539
      baujc authored
      When a jitter greater than 20ms is observed with peer, the seconds are
      never adjusted. The solution is then to adjust first the seconds.
      d8dfb539
  10. 25 Jan, 2019 1 commit
  11. 24 Jan, 2019 5 commits
  12. 10 Jan, 2019 1 commit
    • baujc's avatar
      Optimize unix time update in L1Sync servo · d7b4fea2
      baujc authored
      As we can get know the WR time (IRPC call) we use it instead of using
      the T4 time aproximation. Making some tests, the difference between Unix
      time and WR time is around 30us (was 20ms before with T4)
      d7b4fea2
  13. 03 Dec, 2018 2 commits
  14. 30 Nov, 2018 1 commit
  15. 29 Nov, 2018 2 commits
  16. 28 Nov, 2018 2 commits
  17. 27 Nov, 2018 5 commits
  18. 21 Nov, 2018 10 commits