1. 07 Nov, 2014 4 commits
  2. 04 Nov, 2014 4 commits
  3. 14 Oct, 2014 1 commit
  4. 22 Sep, 2014 4 commits
  5. 06 Aug, 2014 2 commits
  6. 05 Aug, 2014 5 commits
  7. 03 Aug, 2014 2 commits
  8. 02 Aug, 2014 2 commits
  9. 21 Jul, 2014 9 commits
  10. 18 Jul, 2014 3 commits
    • Pietro Fezzardi's avatar
      std servo: no running avg and outlier removal on ofm · 8ddfbcec
      Pietro Fezzardi authored
      There is no need to remove outliers and to make a running
      average on ofm. Indeed we know that ofm = t2 - t1 -mpd.
      We are already removing outliers and averaging on mpd.
      So, if after mpd has been "cleaned", ofm still shows outliers
      or irregularities they are for sure due to t1 and t2. So they
      are errors coming from the clocks and they have not to be
      ignored. Instead they must be corrected ASAP, and to do that
      the software must be able to see them instantly. So no
      running avg nor outlier removal has to be performed on ofm values.
      8ddfbcec
    • Pietro Fezzardi's avatar
      standard servo: store accumulator in scaled nsecs · 67258e3b
      Pietro Fezzardi authored
      The integral accumulator of the PI servo is now a 64bit integer.
      The stored values are bit shifted by 10, so we have a finer
      granularity on the control.
      With the previous implementation the integral part stopped working
      when ofm was under the value of OPTS(ppi)->ai. This problem has
      been solved with this changes.
      I had to use __div64_32() from lib/div64.c, because dividing for
      a long long is not allowed in arch-wrpc (it takes too much RAM).
      67258e3b
    • 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
  11. 09 Jul, 2014 1 commit
  12. 26 Mar, 2014 3 commits
    • Alessandro Rubini's avatar
      wrpc bugfix: time-wrpc/ objects are now in OBJ-y · 2067f0f5
      Alessandro Rubini authored
      Commit 84df8890 changed the build order, avoiding libraries.
      Back then I fogot to apply the same change to time-wrpc, and didn't
      notice because ./MAKEALL worked fine.  We never linkerd the final
      ppsi.elf for WRPC since then.
      
      Now I'm updating the ppsi submodule in the wrpc-sw repository, and
      this must be fixed to avoid the missing symbols in the final link.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      2067f0f5
    • Pietro Fezzardi's avatar
      Kconfig: fix to displayed version number · 3273e65e
      Pietro Fezzardi authored
      KERNELVERSION variable from Linux was still used.
      It was not initialized so the displayed version in the headers
      of make gconfig and make menuconfig was missingor wrong.
      It just said (null) or KERNELVERSION.
      KERNELVERSION has been changed to VERSION all over the kconfig
      scripts. Makefile.kconfig exports this variable so it can be
      used by config scripts with getenv().
      Now it prints the ppsi version with the present commit, like
      diplayed from
      	git describe --always --dirty
      3273e65e
    • Pietro Fezzardi's avatar
      efda9cab