Skip to content
Snippets Groups Projects
  1. Jan 26, 2017
  2. Dec 12, 2016
  3. Oct 22, 2016
    • Rafał Miłecki's avatar
      base-files: add ucidef_set_led_usbport for full usbport support · 2187f57d
      Rafał Miłecki authored
      
      This helper allows using usbport trigger directly. It requires usbport
      compatible syntax and supports specifying multiple USB ports, e.g.:
      ucidef_set_led_usbport "usb" "USB" "devicename:colour:function" "usb1-port1" "usb2-port1"
      
      This adds a proper object to the board.json, e.g.
      "usb": {
      	"name": "USB",
      	"type": "usbport",
      	"sysfs": "devicename:colour:function",
      	"ports": [
      		"usb1-port1",
      		"usb2-port1"
      	]
      }
      and supports translating it into uci section.
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      2187f57d
  4. Oct 05, 2016
  5. Aug 13, 2016
  6. Jun 30, 2016
    • Etienne CHAMPETIER's avatar
      base-files: seed /dev/urandom · 3946a552
      Etienne CHAMPETIER authored
      
      This commit:
      1) seed /dev/urandom with the saved seeds as early as possible
         (see /lib/preinit/81_urandom_seed)
      2) save a seed at /etc/urandom.seed if it doesn't exists
      3) save a new seed each boot at "system.@system[0].urandom_seed"
         (see /etc/init.d/urandom_seed)
      
      We use getrandom() so we are sure /dev/urandom pool is initialized
      
      Seed size is 512 bytes (ie /proc/sys/kernel/random/poolsize / 8)
      it's the same size as in ubuntu 14.04 and all systemd systems
      
      Seeding /dev/urandom doesn't change entropy estimation, so we still have
      "random: ubus urandom read with 4 bits of entropy available"
      messages in the logs, but we can now ignore them if
      after "urandom-seed: Seeding with ..." message
      
      Saving a new seed on each boot is disabled by default to avoid too much
      writes without user consent
      
      v2: log preinit messages to /dev/kmsg
      v3: use non generic function name for logging, as /lib/preinit/ files
          are all sourced together in /etc/preinit
      v4: after a lot of discussion on the ML, use a uci config param
      v5: config param is now the path of the seed
      
      Signed-off-by: default avatarEtienne CHAMPETIER <champetier.etienne@gmail.com>
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      3946a552
  7. Jun 28, 2016
  8. Jun 07, 2016
  9. Jun 08, 2016
  10. Jun 07, 2016
  11. May 11, 2016
  12. Apr 17, 2016
  13. Mar 07, 2016
  14. Feb 26, 2016
  15. Feb 25, 2016
  16. Feb 07, 2016
  17. Dec 04, 2015
  18. Dec 03, 2015
  19. Nov 30, 2015
  20. Nov 26, 2015
  21. Nov 25, 2015
  22. Nov 24, 2015
  23. Oct 27, 2014
  24. Oct 08, 2014
  25. Aug 22, 2014
Loading