Skip to content
Snippets Groups Projects
  1. Jun 03, 2019
  2. Jan 29, 2019
  3. Jul 18, 2018
  4. Jan 17, 2017
  5. Jan 12, 2017
  6. Dec 14, 2016
  7. Dec 01, 2016
  8. Sep 23, 2016
    • Adam Wujek's avatar
      [Bug: 1219] rootfs/www: fix problem with uploading the firmware · a71cbce8
      Adam Wujek authored
      
      PHP code of the web interface was updating values of "upload_max_filesize"
      and "post_max_size" in the /etc/php.ini. Besides it is extremely bad idea to
      do that, such changes to take place require restart of lighttpd, which was
      never performed. Luckily after the update of /etc/php.ini it was also copied
      to flash at the location /usr/etc/php.ini. Because of this update via
      webinterface worked only when:
      --firmware.php was opened via web browser
      --restart of a switch was performed
      
      The fix contains a patch to set these values in the php.ini and remove
      the update of php.ini by php code.
      
      Set maximum upload limit size to 30M in php.ini.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      a71cbce8
  9. Jul 07, 2016
  10. Feb 24, 2016
  11. Mar 11, 2015
    • Adam Wujek's avatar
      patches/barebox: fix tftp boot sequence · 1140c4b1
      Adam Wujek authored
      
      Second test of $? value was not always result of command
      "tftp $eth0.ipaddr/wrboot wrboot", but sometimes result of first if statement
      (in case first tftp was successful).
      
      In other words, when there was file wrboot-$eth0.ethaddr on tftp server, script
      was still fetching and executing wrboot.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      1140c4b1
  12. Dec 11, 2014
  13. Nov 28, 2014
    • Alessandro Rubini's avatar
      kernel config: change in timing setup · fe9f6db6
      Alessandro Rubini authored
      This changes the kernel configuration, in two ways:
      
      1- It uses CONFIG_NOHZ, which enables Hight Resolution Timers
      
      Unfortunately this has no effect, as the timeevent device for AT91
      doesn't support oneshot mode.  This means that if you usleep(100)
      you'll wait 10ms.  Thus, we can't remove the busy-looping in libwr/util.c .
      
      This is the output of my libstamp sample program:
      
           0.003 -- stamping overhead
          12.243 -- usleep     1 usec
          10.005 -- usleep     1 usec
           9.963 -- usleep     2 usec
          10.037 -- usleep     5 usec
          10.083 -- usleep    10 usec
           9.905 -- usleep   100 usec
          10.394 -- usleep  1000 usec
          19.775 -- usleep 10000 usec
         109.925 -- usleep 100000 usec
      
      2- It moves CONFIG_HZ from 100 to 1000. Thus, we have 1000 timer interrupts
      per second.
      
      This means, in practice, that if you usleep(100) you wait 1ms.  This
      costs around 2% of CPU power (measured by running a cpu-busy program
      before and after the change, in both cases after killing...
      fe9f6db6
    • Alessandro Rubini's avatar
      boot scripts: better examples · 56891b34
      Alessandro Rubini authored
      
      This updates binaries/wrboot-* to be more commented and complete.
      It also adds wrboot-install and wrboot-nand, that I personally used.
      
      As a side effect, "mem=64m" is removed by all command lines, as it has
      been properly autodetected for a few years now, so it is not needed
      any more.
      
      Documentation is updated too.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      56891b34
    • Alessandro Rubini's avatar
      0b161dcf
  14. Oct 03, 2014
    • Benoit Rat's avatar
      barebox: add new DF AT45DB641E for SCB v3.4 · 490d802d
      Benoit Rat authored
      Standard JEDEC ID is only 24bits to identify a DF chip.
      It also has an optional Extended Device Info (EDI) on bytes 4 and/or 5
      that need to be read to differentiate some DF chips. (i.e, the
      difference between AT45DB641E and AT45DB642D is made by byte 4).
      
      This patch is similar to the kernel one #66595328
      490d802d
  15. Sep 30, 2014
  16. Sep 29, 2014
  17. Sep 24, 2014
  18. Sep 13, 2014
  19. Sep 12, 2014
  20. Aug 01, 2014