Skip to content
Snippets Groups Projects
  1. Dec 14, 2016
  2. Dec 13, 2016
  3. Dec 06, 2016
  4. Dec 05, 2016
  5. Dec 01, 2016
  6. Nov 03, 2016
    • Adam Wujek's avatar
      userspace/wrsw_hal: save Diagnostic Monitoring data from SFP in HAL · 3f05b29c
      Adam Wujek authored
      
      Kconfig:
      --add CONFIG_READ_SFP_DIAG_ENABLE
      libwr:
      --add the function shw_sfp_update_dom to update only needed values in the future
      --increase HAL_SHMEM_VERSION due to the changes in structures
      wrs_dump_shmem
      --add new fields
      HAL:
      --read DOM (Diagnostic Monitoring data) from SFP's eeprom at plug and once
        per second
      PPSI:
      --uplift hal shmem header
      wrs_sfp_dump:
      --support reading SFP's DOM from HAL
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      3f05b29c
  7. Sep 26, 2016
  8. Sep 05, 2016
    • Adam Wujek's avatar
      [Feature: 1363] rootfs: add a support to execute custom script at startup · 4b6c9a1a
      Adam Wujek authored
      
      This will allow users to have special configuration (that is not possible to
      achieve by just using dot-config) without a need to manually handle custom
      script.
      
      The script can be used from /wr/bin/custom_boot_script.sh or downloaded during
      the boot. It is not possible to execute a script which was downloaded during
      the previous boot. But a script can be written in such way to copy itself to
      /wr/bin/custom_boot_script.sh.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      4b6c9a1a
  9. Aug 30, 2016
  10. Aug 12, 2016
  11. Aug 11, 2016
  12. Jul 07, 2016
  13. Feb 12, 2016
  14. Feb 10, 2016
  15. Feb 09, 2016
  16. Aug 28, 2015
  17. Aug 27, 2015
  18. Aug 26, 2015
    • Adam Wujek's avatar
      rootfs: make possible to get URL to the dot-config via dhcp · 4ef3017c
      Adam Wujek authored
      
      force-dhcp can be used to retrieve a URL to the dot-config, which is downloaded
      during boot.
      try-dhcp the same as above but don't complain about unsuccessful receive of the
      URL via DHCP to SNMP.
      
      Update:
      --MIB - add tryDhcp and forceDhcp to the wrsConfigSource object; add
              dhcpError to the wrsBootConfigStatus object
      --SNMPd - same as the above; don't error in wrsBootConfigStatus when tryDhcp
                fails
      --dot-config's script - support new dot-config sources
      --Kconfig - support new dot-config sources
      --wrs_failures
      --wrs-user-manual
      --wrs_release_defconfig - add new items
      --create new script for udhcpc to save "filename" configuration field retrieved
        from DHCP server; it contains the URL to the dot-config to be downloaded.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      4ef3017c
  19. Jul 29, 2015
  20. Jul 15, 2015
  21. Jul 10, 2015
  22. Jul 08, 2015
  23. Jul 06, 2015
  24. Jun 18, 2015
    • Adam Wujek's avatar
      userspace/rootfs_override: make monit to start from inittab · 99cbeed5
      Adam Wujek authored
      
      When monit is started from inittab instead of script /etc/init.d/monit.sh
      it will be respawned after its crash.
      Support stopping/starting monit by /etc/init.d/monit.sh
      To stop monit, STOP signal is sent to it. By this, init will not respawn monit,
      because it is still present in process' list.
      Add disabling monit in dot-config by option CONFIG_MONIT_DISABLE.
      When monit is disabled by dot-config, monit.sh will sleep forever, to
      satisfy init and prevent respawning
      Update dot-config items in user-manual.
      
      Include only *.conf instead of all files from /etc/monit.d/.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      99cbeed5
  25. May 12, 2015
    • Adam Wujek's avatar
      userspace/rootfs_override: add script S70wrs_auxclk to configure external clock · 0d6fee0a
      Adam Wujek authored
      
      Added init script /etc/init.d/S70wrs_auxclk to start wrs_auxclk with parameters
      read from dot-config.
      
      Added parameters to Kconfig:
      --WRSAUXCLK_FREQ
      --WRSAUXCLK_DUTY
      --WRSAUXCLK_CSHIFT
      --WRSAUXCLK_SIGDEL
      --WRSAUXCLK_PPSHIFT
      All above are used as parameters to wrs_auxclk,
      which configure external clock clk2
      
      NOTE: This patch requires new Gateware! wrs_auxclk will hang switch when using
      gateware from last release of switch.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      0d6fee0a
  26. Apr 24, 2015
    • Adam Wujek's avatar
      userspace/rootfs_override: change handling of ppsi.conf · 1c0e4648
      Adam Wujek authored
      
      This patch is to replace previous way of managing ppsi configuration file.
      Instead of copying proper file based on chosen configuration PTP_* option in
      dot-config, now ppsi.conf file is assembled based on PORTXX_PARAMS fields in
      dot-config.
      
      --Kconfig:
        - remove options:
          - PTP_WR_DEFAULT
          - PTP_WR_MASTER
          - PTP_WR_AUTO
          - PTP_WR_AUTO_UDP
          - PTP_NONWR_UDP_ALL
        - add PTP_PORT_PARAMS (to let assembly ppsi.conf file)
        - keep option PTP_CUSTOM to use user's ppsi configuration file
        - move PTP_CUSTOM_FILENAME to different position
        - add property "proto" to PORTXX_PARAMS
      --remove predefined ppsi configs (not to be used anymore) from /wr/etc/ppsi-config-pool/:
          - WR_DEFAULT
          - WR_MASTER
          - WR_AUTO
          - WR_AUTO_UDP
          - NONWR_UDP_ALL
      --add new script assembly_ppsi_conf.sh to create ppsi.conf file.
        ppsi.conf file is assembled based on PORTXX_PARAMS fields like port name,
        proto(col) and role. All master, slave or auto ports are set to use whiterabbit
        extension
      --add file /wr/etc/ppsi-pre.conf to keep top of ppsi.conf including global
        options (later all options may be moved to dot-conf)
      --modivy apply_dot-config to use assembly_ppsi_conf.sh instead of old way.
      
      NOTE: update of documentation is missing
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      1c0e4648