1. 11 Feb, 2014 1 commit
  2. 10 Feb, 2014 1 commit
  3. 09 Feb, 2014 1 commit
  4. 06 Feb, 2014 2 commits
  5. 13 Nov, 2013 1 commit
  6. 07 Nov, 2013 1 commit
  7. 04 Nov, 2013 1 commit
  8. 11 Oct, 2013 1 commit
  9. 30 Jul, 2013 1 commit
  10. 26 Jul, 2013 1 commit
    • Grzegorz Daniluk's avatar
      add new commands for setting time · 29f1b100
      Grzegorz Daniluk authored
      When WR PTP Core is set in GrandMaster mode it aligns its nanosecond
      counter to 1-PPS and 10MHz coming from external source. When user wants
      to set seconds counter to a desired value (with _time set_ command), the
      nanosecond counter was also set (zeroed) causing additional (random)
      offset to the external source. The commit adds _time setsec_ and _time
      setnsec_ for setting only seconds or nanoseconds counter without
      affecting the other one. Now, when user wants to set current time on a
      GrandMaster Node he has to call _time setsec_ command after _mode gm_
  11. 20 May, 2013 2 commits
  12. 09 May, 2013 1 commit
  13. 08 May, 2013 1 commit
  14. 03 Apr, 2013 1 commit
  15. 28 Mar, 2013 4 commits
    • Alessandro Rubini's avatar
      shell: add "config" command. · c118ac41
      Alessandro Rubini authored
      This command can return the .config file to the user. It can be useful
      to trace what is actually running, as addition to the "ver"
      command.  It is optional because it costs .5kB of binary size.
        wrc# config
          Current WRPC-SW configuration:
        # CONFIG_PTP_NOPOSIX is not set
        # CONFIG_CHECK_RESET is not set
        # CONFIG_PRINTF_FULL is not set
        # CONFIG_PRINTF_MINI is not set
        # CONFIG_PRINTF_NONE is not set
      (This configuration amounts to a binary size of 86252 bytes, at this
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      shell: add help command · 78e9e68d
      Alessandro Rubini authored
      The help command currently only lists available commands. It was asked
      by some developers some time ago, and this implementation only costs
      150 bytes in the final exectuable.  I don't think it's worth a Kconfig
      This is it in action with my configuration:
         wrc# help
         Available commands:
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      shell: remove environment commands · bebe796c
      Alessandro Rubini authored
      The environment was drafted but not actually used, so this commit
      removes it.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      Acked-by: Grzegorz Daniluk's avatarGrzegorz Daniluk <grzegorz.daniluk@cern.ch>
      Acked-by: Tomasz Wlostowski's avatarTomasz Wlostowski <tomasz.wlostowski@cern.ch>
    • Alessandro Rubini's avatar
      shell: reorganize parsing using .cmd ELF section · a9ce831d
      Alessandro Rubini authored
      This commit creates a .cmd section, so there is no global list of
      commands in shell.c any more, and no ifdef in the code for conditional
      commands.  Also, (unrelated) makes shell errors slightly more friendly.
      The technique is widely used, in the Linux kernel and all boot
      loaders, as well as a lot of my own personal code, so this is safe
      (and tested).
      As a side effect, this allows (in later commits) to move the "verbose"
      ppsi-specific command back to ppsi/arch-wrpc/ where it really belongs.
      It allows new commands to be easily added by just adding their
      respective file to the build.
      Even though this increases code size by around 50 lines, it makes it
      more modular and only costs 8 bytes in the final executable (in my
      configuration: 128 bytes less of text and 136 bytes more of data).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  16. 26 Mar, 2013 1 commit
  17. 19 Mar, 2013 1 commit
  18. 12 Mar, 2013 1 commit
  19. 19 Feb, 2013 2 commits
  20. 14 Feb, 2013 1 commit
  21. 04 Dec, 2012 1 commit
  22. 01 Nov, 2012 7 commits
  23. 16 Oct, 2012 3 commits
  24. 05 Oct, 2012 2 commits
    • Alessandro Rubini's avatar
      Run ./scripts/Lindent on all .c and .h files · e625cbd9
      Alessandro Rubini authored
      This is massive: 4k lines changed (but only 840 if you ignore
      space-only changes).  In this case "git blame -w" won't always find
      the right patch, and it may fall on this patch -- because those
      800 lines changed in content too.
      This has been done with
         find . -name '*.[ch]' | xargs -n 1 ./scripts/Lindent
      Statistics: all changes and ignoring blank space:
         morgana% git diff --stat HEAD~1 | tail -1
          77 files changed, 3774 insertions(+), 3709 deletions(-)
         morgana% git diff -w --stat HEAD~1 | tail -1
          61 files changed, 894 insertions(+), 829 deletions(-)
      However, after this step I hand-fixed some very ugly long expressions
      (leaving them long: no content change at all is there).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      Remove all spaces at end-of-line · 1d24ecfb
      Alessandro Rubini authored
      If you find this patch with "git blame" please use "git blame -w"
      to have all white-space ignored while associating lines to commits.
      This commit has no practical effect but cleanup. I made it
      with sed like this:
        git grep -l '[ \t]$' | xargs sed -i 's/[ \t]*$//'
      However, I had to manually restore doc/wrpc_mon.png after the fact.
      Similarly, I restored the include/hw/*regs.h files, as they
      are (most likely) auto-generated.
  25. 25 Sep, 2012 1 commit