1. 27 Feb, 2017 2 commits
  2. 20 Sep, 2016 1 commit
  3. 25 Aug, 2016 1 commit
  4. 01 Jul, 2015 1 commit
  5. 26 Jun, 2015 1 commit
  6. 18 Jun, 2015 1 commit
  7. 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
  8. 11 Nov, 2014 1 commit
  9. 21 Jul, 2014 2 commits
  10. 02 Mar, 2014 1 commit
  11. 15 Nov, 2013 2 commits
  12. 16 Oct, 2013 1 commit
  13. 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
  14. 07 Jul, 2013 1 commit
  15. 12 Jun, 2013 1 commit
  16. 05 Jun, 2013 8 commits
  17. 23 May, 2013 2 commits
  18. 23 Apr, 2013 2 commits
  19. 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
  20. 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
  21. 28 Feb, 2013 1 commit
  22. 27 Feb, 2013 2 commits
    • 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
    • Alessandro Rubini's avatar
      overall: use time operations · bb38580a
      Alessandro Rubini authored
      The time operations are get, set and adjust. They are methods of a
      single structure in order to simplify use of custom timers (and make
      them separate works according to the LGPL).
      
      This patch set introduces specific <arch>-time.c files where all the
      timing stuff lives (not much, actually). Sometimes this turns
      <arch>-io.c into an almost-empty file, but that how history changes
      stuff.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      bb38580a
  23. 09 Mar, 2012 1 commit
    • Alessandro Rubini's avatar
      command line: moved to lib/ · ae155c0b
      Alessandro Rubini authored
      The command line is not available in freestanding environments: move
      it to lib/ so archs can pick it up (e.g. arch-gnu-linux does it)
      ae155c0b
  24. 17 Jan, 2012 1 commit
  25. 09 Jan, 2012 1 commit
    • Alessandro Rubini's avatar
      lib/div64.c: new file · 205d324e
      Alessandro Rubini authored
      This is the 64-bit unsigned division and remainder from the Linux
      kernel, for 32-bit host systems.
      
      The new lib/ directory can be used by archs to pick files, and that's
      already exemplified by arch-gnu-linux and arch-bare-linux.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      205d324e
  26. 06 Dec, 2011 1 commit