1. 14 Dec, 2016 1 commit
  2. 02 Dec, 2016 1 commit
  3. 01 Dec, 2016 6 commits
  4. 07 Jul, 2016 5 commits
    • Adam Wujek's avatar
      rootfs: check md5sum of firmware before update · cfab080a
      Adam Wujek authored
      Check md5sums of files in the wrs-firmware.tar with stored in file
      checksums.md5. When checksum does not match abort the update.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      cfab080a
    • Adam Wujek's avatar
      build: remove buildroot packages from download-info · 242fbd5a
      Adam Wujek authored
      Instead of keeping the list of archives in build/download-info which should be
      downloaded for buildroot, we use "make source" to do the same job.
      However, the task of building buildroot had to split into 3 tasks:
      --init (unpack and configure buildroot)
      --download (download the source of used buildroot packages)
      --build (compile buildroot packages, etc.)
      
      The reason for this change is to avoid updating the download-info file when
      buildroot package is updated. Additionally ltrace is not downloaded as an
      archive, but it is cloned git repo. After the clone it is packed into archive.
      In the current state our framework cannot do the same.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      242fbd5a
    • Adam Wujek's avatar
      build/scripts/wraprootfs: update after buildroot uplift · e01b7f9a
      Adam Wujek authored
      --Remove file THIS_IS_NOT_YOUR_ROOT_FILESYSTEM. We wrap rootfs ourself, we know
        what we're doing.
      --remove symlink /etc/dropbear, before creating such directory
        Creating the symlink was added in the buildroot's commit:
        e7d04dd2 package/dropbear: fix generating keys on RO file systems
      --overwrite symlink for var/run->../tmp
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      e01b7f9a
    • Adam Wujek's avatar
      build/scripts/wrs_build_buildroot: fix parallel build for make <= 3.81 · b4b62a09
      Adam Wujek authored
      make 3.82 splits the work differently. When using buildroot with
      the make > 3.81 buildroot uses BR2_JLEVEL= (preferably 0 for automatic number
      of jobs setting).
      For make =< 3.81 BR2_JLEVEL= is ignored and build is done using only one job.
      Passing -j allows to build with many jobs, but many warning messages are
      printed:
      make[2]: warning: -jN forced in submake: disabling jobserver mode.
      
      Use BR_JLEVEL=0, this allows buildroot to pick automatically number of jobs.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      b4b62a09
    • Adam Wujek's avatar
      buildroot: uplift to 2016.02 · 4c227ef1
      Adam Wujek authored
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      4c227ef1
  5. 18 Feb, 2016 1 commit
    • Alessandro Rubini's avatar
      build/download: make wget timeout sooner and avoid retrying · c9e95e69
      Alessandro Rubini authored
      The upstream address for lsof is not working. While the download script
      tries buildroot.net if upstream fails, getting lsof got stuck for
      no connection to the server.
      
      With this commit it times out after 15 seconds to then proceed using
      the buildroot address. I expect the problem to affect other upstream
      files over time, so the commit doesn't fix the link but the tool.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      c9e95e69
  6. 27 Aug, 2015 1 commit
  7. 29 Jul, 2015 1 commit
    • Alessandro Rubini's avatar
      userspace: new dot-config directory; allow 'make config' in target · 7a42391f
      Alessandro Rubini authored
      This factorized configuration stuff out of wrap_rootfs into a build
      target.  It also adds building and installing "conf" so to allow the
      following commands in the target (in /wr/etc):
      
      	  make config
      
      	  make oldconfig     (likely after editing dot-config)
      
      	  make defconfig
      
      I'm unable to build menuconfig at this time, because of missing
      symbols in the target's libncurses. I hope to fix this when we
      bump buildroot up (thanks Adam for that!)
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      7a42391f
  8. 22 Jul, 2015 2 commits
  9. 14 Jul, 2015 1 commit
  10. 09 Jul, 2015 1 commit
  11. 29 Jun, 2015 1 commit
  12. 08 Jun, 2015 1 commit
  13. 16 Jan, 2015 1 commit
  14. 04 Jan, 2015 1 commit
  15. 03 Jan, 2015 1 commit
    • Benoit Rat's avatar
      build: add DEBUG flag to HAL so that TRACE is not silent · ffa7bd69
      Benoit Rat authored
      Most of the calls in HAL use TRACE to print to stdout/stderr however
      the full TRACE is depending on DEBUG flag at compilation.
      
      This is a quick hack, and the whole TRACE system should be re written
      with something like:
      
      TRACE_P_FATAL(...)
      TRACE_P_ERROR(...)
      TRACE_P_WARN(...)
      TRACE_P_INFO(...)
      TRACE_P_VERBOSE(...)
      #ifdef DEBUG
      TRACE_P_DEBUG(...)
      #endif
      ffa7bd69
  16. 11 Dec, 2014 6 commits
  17. 16 Oct, 2014 1 commit
    • Alessandro Rubini's avatar
      boot procedure: use non-blocking write to /dev/ttyGS0 · 16d93070
      Alessandro Rubini authored
      If the usb cable is disconnected, any write to /dev/ttyGS0 goes to a
      buffer until it fills. Then, any further write will block. This means
      the messages towards the user ("uncompressing filesystem... done" etc)
      caused the update procedure to stop.
      
      This fixes the problem by using non-blocking write for the messages:
      if nobody`s reading the messages are just discarded by the kernel.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      16d93070
  18. 30 Sep, 2014 2 commits
  19. 29 Sep, 2014 1 commit
  20. 07 Aug, 2014 1 commit
  21. 10 Jul, 2014 4 commits