Skip to content
Snippets Groups Projects
  1. Apr 05, 2019
    • Benoit Rat's avatar
      tools: wr_date: get function should not set tai into kernel · 091f4c8d
      Benoit Rat authored
      In the previous version `wr_date get` would override kernel TAI time
      (using local file) and this could cause some problems in case leap
      second from /etc/leap-seconds.list was not the same than from PTP/WR
      protocol.
      091f4c8d
    • Benoit Rat's avatar
      tools: wr_mon: show usec to avoid rounding errors (38s instead of 37) · 88a0d789
      Benoit Rat authored
      We have 37s of leap second but we were showing without usec the
      following which could be seen as a wrong leap second offset.
      
      WR time (TAI):     2019-03-15 05:40:48.006697
      Switch time (UTC): 2019-03-15 05:40:10.975551
      
      localtime has also been replaced by gmtime (TAI should never be
      converted using localtime in case TZ variable is set)
      88a0d789
  2. Apr 02, 2019
    • baujc's avatar
      wr_clocksource: Fix bug with WR clock adjustment(ns) · 3db544c2
      baujc authored and Benoit Rat's avatar Benoit Rat committed
      The previous fix didn't solved completelly this issue: Negative nano WR
      time adjustement generate a big jump of the monotonic clock used in
      PPSI.
      The current fix solves this issue.
      3db544c2
    • baujc's avatar
      wr_clocksource: Fix bug due to clock adjustment · 4e6a78ee
      baujc authored and Benoit Rat's avatar Benoit Rat committed
      The WR time adjustment was not taken into account in the driver. The
      side effect was a big jump sometime of the monotonic clock used in PPSI
      for the calculation of the timeouts. The side effect was that many
      timeouts were firing too early.
      The driver registration take now into account the adjustment and also
      the calculation of the offset in the read() call.
      4e6a78ee
  3. Nov 15, 2018
  4. Sep 04, 2018
  5. Aug 25, 2017
  6. Aug 23, 2017
  7. Aug 18, 2017
    • Adam Wujek's avatar
      www: fix copy-paste error in endpointmode.php · 77170df3
      Adam Wujek authored
      
      bug was introduced in www: removed current setting
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      77170df3
    • anne munoz's avatar
      www: Changed enpointconfiguration table · 3cec2c32
      anne munoz authored and Adam Wujek's avatar Adam Wujek committed
      I saw that in the endpointconfiguration.php you relay a lot on an order of parameters. In other words the following line will be displayed correctly:
      CONFIG_PORT01_PARAMS="name=wri1,proto=raw,tx=224295,rx=225959,role=slave,fiber=0"
      but not when I swap an order of parameters:
      CONFIG_PORT01_PARAMS="name=wri1,proto=raw,tx=224295,role=slave,rx=225959,fiber=0"
      I'm asking you for that because there are three more new parameters that are optional:
            "ext" (extension) can be one of the following:
              - WR - use White Rabbit as an extension on this port (default if not present)
              - none - no extension on this port
            "dm" (delay mechanism) can be one of the following:
              - e2e - end to end (default if not present)
              - p2p - peer to peer
            "monitor" option to disable ("n") or enable ("y") triggering errors in SNMP on a port; "y" by default
      
      NOW: it allows to change the order and dropdown menu in several parameters
      3cec2c32
  8. Aug 04, 2017
  9. Aug 03, 2017
  10. Aug 02, 2017