1. 11 Oct, 2018 1 commit
  2. 26 Sep, 2018 1 commit
  3. 20 Dec, 2017 1 commit
  4. 30 Nov, 2017 3 commits
  5. 29 Nov, 2017 2 commits
  6. 03 Jul, 2017 1 commit
  7. 20 Mar, 2017 1 commit
  8. 08 Mar, 2017 2 commits
    • Grzegorz Daniluk's avatar
      wrc_main: wait before link-up (workaround for wrs v4.2 problem) · c6a0fe43
      Grzegorz Daniluk authored
      We have experienced the problem when re-loading LM32 firmware many times when
      WRPC synchronizes to WRS v4.2 (the latest WRS firmware is v5.0). Sometimes after
      reprogramming LM32 WRS was reporting a bitslide value the same as for the
      previously established link. This was resulting in wrong synchronization and
      1-PPS skew off by the difference between the actual and reported WRS bitslide.
      This problem is not new with this WRPC v4.0, we've managed to reproduce is also
      with WRPC v3.0 and WRS v4.2. Testing WRPC v4.0 with WRS v5.0 did not reveal this
      problem.
      
      With this workaround we wait longer before re-enabling the link so that WRS v4.2
      for sure notices link down and re-measures the bitslide.
      c6a0fe43
    • Grzegorz Daniluk's avatar
      generate net reset when LM32 starts · 5cbbec15
      Grzegorz Daniluk authored
      5cbbec15
  9. 23 Feb, 2017 2 commits
  10. 16 Feb, 2017 1 commit
  11. 10 Jun, 2016 2 commits
  12. 18 May, 2016 1 commit
  13. 04 Apr, 2016 4 commits
    • Alessandro Rubini's avatar
      general: use an ELF section for tasks · d9d20c8b
      Alessandro Rubini authored
      This allows several functions to be static in the files where they
      are defined. See temperature.c for an example.
      
      But mainly, the idea is allowing ease addition of features (likely
      Kconfig'd ones) for specific WR users, without any modification to the
      main function and other generic code.  This will happen soon for snmp,
      for example.
      
      We may push this a little further, by moving all shell stuff into
      shell.c, the ptp task within ppsi itself, and so on. But now my time
      is over.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      d9d20c8b
    • Alessandro Rubini's avatar
      temperature: add a temperature framework · e2e7d59a
      Alessandro Rubini authored
      This commit adds data structures, methods and a process to manage
      temperature.  Currently the only temperature being read is the onewire
      thermometer, so there is no difference with what we had before.
      The cost is 1.1 kB in binary size.
      
      Well, there is a difference: only the stat engine was reading
      temperature, while now the thermometer is read continuously (every 15
      seconds, or another Kconfig-urable interval).  This takes quite some
      CPU time (18.5ms per polling loop, but allows any user to read
      temperature (using the API we now provide) without re-reading the
      onewire bus.
      
      The real aim of this is monitoring a board-specific set of sensors,
      as implemented and show in the next commit.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      e2e7d59a
    • Alessandro Rubini's avatar
      vlan: add one VLAN in Kconfig as an option · a444be3e
      Alessandro Rubini authored
      WARNING: wr_switch_defconfig doesn't build, this is fixed in next commit
      
      Unfortunately this commit makes the internal communication between
      minic and lan asymmetric: on receive the tag is discarded (and the
      longer header falls into the payload) while on transmit it must be
      provided by lan.c.
      
      The reason is that on receive we can trim 4 bytes from the payload,
      but on send we can't add 4 bytes without a memmove.  The functions
      receive pointers to two different header structures, so hopefully
      user errors will be signalled by the compiler.
      
      Still, users interact with net.c, which hides vlan completely from
      them.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      a444be3e
    • Alessandro Rubini's avatar
      trivial: remove unused man_phase · 0887cbbe
      Alessandro Rubini authored
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      0887cbbe
  14. 16 Feb, 2016 7 commits
  15. 15 Feb, 2016 2 commits
  16. 20 Jan, 2016 4 commits
  17. 27 Oct, 2015 1 commit
  18. 15 Oct, 2015 2 commits
  19. 08 Oct, 2015 2 commits