1. 26 Jun, 2019 3 commits
    • Jean-Claude BAU's avatar
      [New feature] Check for incoming leap second · 24ea4b97
      Jean-Claude BAU authored
      - Add a new tool (wrs_leapsec) to check for an incoming leap second. It
      is done by parsing the leap second file. If a leap second is detected
      then adjustment parameters for the clock algoritm are set in the kernel.
      - Start the tool at startup
      - With cron, execute the tool every 3 hours
      - As many tools need to parse the leap seconds file, functions have been
      added in the library and then called by these tools
    • Jean-Claude BAU's avatar
      New feature: Automatic update of the leap seconds file · be91ae48
      Jean-Claude BAU authored
      - Install cron
      - New leap_seconds_file_update script. Launched at startup and then 1
      time per day by cron
      - Kconfig update to setup from where the file should be downloaded
    • Jean-Claude BAU's avatar
      wr_date.c: Add option · 6f18a2ac
      Jean-Claude BAU authored
      The -n option in the wr_date tool is used for a dry run. It execute the
      code without applying changes in the system and the hardware.
      However calling "wr_date -n set host" was not setting the date but
      applying the TAI offset. To make things more consistant, a new option
      has been added. Calling "wr_date set host tai" now sets only the TAI
      The wr_date script has been changed to take into account this
      modification of the behavior.
  2. 25 Jun, 2019 3 commits
  3. 12 Jun, 2019 1 commit
    • Maciej Lipinski's avatar
      [issue #194] update init scripts to provide name of deamon in syslog · 40718f5e
      Maciej Lipinski authored
      Init scripts start logger that prints output of deamons into syslogs.
      This logger is run with -p to attach tag. This tag is interpreted
      as the process that produces the following message. In the many init
      scripts this tag was set to wr-switch, incorrectly. This commit
      corrects it to include the name of the daemon.
  4. 03 Jun, 2019 7 commits
  5. 10 Apr, 2019 1 commit
  6. 20 Jul, 2018 2 commits
  7. 18 Jul, 2018 7 commits
  8. 14 Dec, 2016 1 commit
  9. 06 Dec, 2016 1 commit
  10. 01 Dec, 2016 3 commits
    • Federico Vaga's avatar
      userspace:init: load g_serial new dependencies · a2d0951f
      Federico Vaga authored
      The USB gadget framework has changed from Linux v2.6.39. As far as I
      understood it's now more modular, so it's not anymore enough to load
      just the g_serial.ko driver. Now we have to load also it's
      I'm not an expert about USB gadget, this patch is the result of my
      understanding in debugging the loading failure of the g_serial.ko
      module. Perhaps it will be necessary some adjustments to make it
      work the way we want. But for the time begin I will leave it like
      this until is clear what we have to adjust.
      Note that these dependecies depends also on the configfs file-system.
      I had problems to get this work because apparently by using a different
      corss-compiler some symbols where removed from the kernel, so our
      modules were not able to load because of "undefined symbols".
      Using the toolchain compiled within this project solved this issue.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
    • Federico Vaga's avatar
      userspace:init: remove everything from /dev/shm at boot · 3d9f88f7
      Federico Vaga authored
      We want '/dev/shm' to be empty at boot time. It may happen that
      while working with rootfs over NFS this directory is not empty.
      With this patch we remove all files from this directory because
      they should not be there at all.
      What if I put something there on purpose? When using tmpfs,
      files in '/dev/shm' will be automatically removed on shutdown.
      We are keeping the same behavior. Put your own development files
      in '/dev/shm' after the execution of this script by copying them
      from another location.
      Again, if we use rootfs over NFS and if tmpfs does not work then
      the system will use the NFS and the system should continue to work.
      In this case the performances will be much worst
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
    • Federico Vaga's avatar
      userspace:init: get kernel version at runtime · 722c3364
      Federico Vaga authored
      The kernel version is hardcoded here. Take it at runtime by using
      `uname -r`. This will reduce incompatibilities on kernel updates
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
  11. 26 Sep, 2016 2 commits
  12. 05 Sep, 2016 1 commit
    • 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
      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
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
  13. 31 Aug, 2016 1 commit
  14. 30 Aug, 2016 2 commits
  15. 12 Aug, 2016 2 commits
  16. 11 Aug, 2016 3 commits