1. 22 Apr, 2019 1 commit
  2. 23 Jan, 2019 1 commit
  3. 30 Nov, 2018 1 commit
  4. 25 Nov, 2018 1 commit
  5. 23 Nov, 2018 1 commit
  6. 22 Nov, 2018 2 commits
  7. 20 Nov, 2018 1 commit
  8. 29 Oct, 2018 1 commit
  9. 02 Oct, 2018 1 commit
    • li hongming's avatar
      split the ptp mode for dualports. · 456a64e2
      li hongming authored
          command "ptp [mode] [port,df=0]" or "mode [mode] [port,df=0]"
        will set the ptp mode of port.
          Currently, if one port act as slave, its mode should be set
        after other ports.
  10. 01 Oct, 2018 1 commit
  11. 28 Sep, 2018 1 commit
    • li hongming's avatar
      Add tools gensdbfs/sdb-read. · 11a3cf2a
      li hongming authored
          Make gensdbfs support the file order. sdb files should starts with xxfilename,
      like 00wr-init. (In gensdbfs.c, I change the readdir() to scandir())
         Add two sdb files on 0x2e0000 to support the dualport's calibration and sfp
      database. (db-calibration and db-sfp-database)
         Bug fix in shell/cmd_sfp.c.
         Now the one WR port function works well.
  12. 27 Sep, 2018 1 commit
  13. 20 Jul, 2018 1 commit
    • li hongming's avatar
      optimize the tcpip_config module. · d98ef03f
      li hongming authored
        Now it works as below:
          1. default udp tx dst mac is the gateway of node's ip.
          2. It will send arp request after getting the udp tx dst ip.
          3. It stops sending arp request after getting the udp tx dst mac addr.
  14. 19 Jul, 2018 1 commit
  15. 14 Jun, 2018 1 commit
  16. 31 May, 2018 1 commit
  17. 20 Dec, 2017 1 commit
  18. 30 Nov, 2017 3 commits
  19. 29 Nov, 2017 2 commits
  20. 03 Jul, 2017 1 commit
  21. 20 Mar, 2017 1 commit
  22. 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
      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.
    • Grzegorz Daniluk's avatar
      generate net reset when LM32 starts · 5cbbec15
      Grzegorz Daniluk authored
  23. 23 Feb, 2017 2 commits
  24. 16 Feb, 2017 1 commit
  25. 25 Aug, 2016 1 commit
  26. 10 Jun, 2016 2 commits
  27. 18 May, 2016 1 commit
  28. 23 Apr, 2016 1 commit
  29. 15 Apr, 2016 1 commit
  30. 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>
    • 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>
    • 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
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      trivial: remove unused man_phase · 0887cbbe
      Alessandro Rubini authored
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>