1. 01 Dec, 2016 1 commit
  2. 04 Nov, 2016 2 commits
  3. 25 Oct, 2016 3 commits
  4. 20 Sep, 2016 1 commit
    • Alessandro Rubini's avatar
      Support E2E build without P2P. Saves 5kB in wrpc-sw · 3542ae48
      Alessandro Rubini authored
      Here in ppsi,
      
        ./MAKEALL wrpc_defconfig wrpc_pdelay_defconfig
      
      shows a very small difference, but most pdelay code is then
      discarded by the wrpc-sw link time, due to --gc-sections.
      This is the result:
      
         laptopo% ./MAKEALL spec_defconfig spec_pdelay_defconfig
         ##### Building with 'spec_defconfig'
         /opt/lm32-gcc-4.5.3/bin/lm32-elf-ar: creating libsdbfs.a
            text    data     bss     dec     hex filename
           87688    3492    6352   97532   17cfc wrc.elf
         ##### Building with 'spec_pdelay_defconfig'
         /opt/lm32-gcc-4.5.3/bin/lm32-elf-ar: creating libsdbfs.a
            text    data     bss     dec     hex filename
           93140    3492    6360  102992   19250 wrc.elf
      
      What is missing now is the run-time choice between e2e and p2p. Later....
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      3542ae48
  5. 16 May, 2016 1 commit
    • Alessandro Rubini's avatar
      pdelay: fix init, audit frame formats · 0a50c6d3
      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's avatarAlessandro Rubini <rubini@gnudd.com>
      0a50c6d3
  6. 08 Apr, 2016 2 commits
  7. 06 Jul, 2015 3 commits
  8. 26 Jun, 2015 1 commit
  9. 05 Dec, 2014 1 commit
    • Alessandro Rubini's avatar
      general: move buffers our of pp_instance, and make them smaller · d93b31c7
      Alessandro Rubini authored
      In order to fit all pp_instance items withing WRS shared memory,
      we need to make them a little smaller.  Thus, the tx and rx buffers
      are now allocated separately.  And, while I am at it, I make them
      smaller, because 128 bytes are more than enough for PTP with
      extensions (all frames are under 100 bytes). Given we are always
      showr of memory in wrpc-sw, this is benefical.
      
      As a side effect, clean up some out-of-memory exit paths, and fix a
      use-before-check buglet in arch-unix (no, we never go out of memory,
      but the check was wrong).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      d93b31c7
  10. 11 Nov, 2014 1 commit
  11. 07 Nov, 2014 5 commits
  12. 22 Sep, 2014 2 commits
  13. 18 Jul, 2014 1 commit
    • Pietro Fezzardi's avatar
      arch-sim: new simulator diagnostics and config · 717a8f5e
      Pietro Fezzardi authored
      diagnostics:
      
      For testing purposes we can't just read the ofm value
      printed out by the slave, because that's only the offset
      perceived by the slave and can be wrong. We need instead to
      print out the offset obtained subtracting the real time of
      the master from the real time of the slave.
      To print out the ofm we use the "ext" flag of pp_diag.
      The ofm is printed only when the slave gets a
      DelayResp message from the master.
      A new tool to strip ofm out of simulator log is provided
      
      config:
      
      now the max number of simulated ptp iterations can be configured.
      previously one could set the number of seconds to simulate.
      this is not possible anymore.
      717a8f5e
  14. 26 Mar, 2014 1 commit
  15. 21 Mar, 2014 15 commits