Skip to content
Snippets Groups Projects
  1. May 31, 2020
    • Matthias Schiffer's avatar
      build: remove now-unneeded function from target_config_lib.lua · 3ce43329
      Matthias Schiffer authored
      target_config.lua and target_config_check.lua don't pass a table of
      callbacks anymore, so target_config_lib.lua can by simplified by moving
      all the code that was in the returned function to the toplevel.
      Unverified
      3ce43329
    • Matthias Schiffer's avatar
      build: rework config generation · 9e23534e
      Matthias Schiffer authored
      So far, we were using a sort operation on the generated .config to
      implement precedence of =y packages over =m, and =m over unset.
      Unfortunately, this sort not only used for packages, but for all config
      lines. This made it impossible to override settings from targets/generic
      in a target config when the new setting was sorted before the generic
      setting.
      
      To fix this, track configurations by their keys, so we can properly
      override config keys that were set before. Value-based precedence is
      only preserved for package configuration.
      
      The config() and try_config() calls always take key and value as
      separate arguments now. Strings are quoted automatically; the values
      true, nil and false map to y, m and unset for tristate options. config()
      can take an optional third argument to override the error message to
      display when the setting fails to apply.
      
      All existing target configs generate the same .config with the old and the
      new code. The new code is also a bit faster on targets with many devices.
      Unverified
      9e23534e
  2. Mar 25, 2020
    • David Bauer's avatar
      targets: add device-class flags · 7fd7116e
      David Bauer authored
      This commit assigns class-flags to devices. The following scheme is
      used:
      
       - ath9k & ath10k: tiny if RAM <128M
       - ath10k & ath10k: tiny if RAM <256M
       - all: tiny if RAM <64M
       - all: tiny if flash <8M
      
      All other devices automatically have the default device-class selected.
      7fd7116e
  3. Sep 14, 2019
  4. Jun 15, 2019
  5. Jul 10, 2018
  6. May 09, 2018
  7. Dec 07, 2017
  8. Jun 29, 2017
  9. Jun 23, 2017
  10. Jan 18, 2017
  11. Oct 29, 2015
  12. Sep 21, 2015
  13. Jul 18, 2015
  14. Jul 12, 2015
  15. Jun 15, 2015
  16. May 21, 2015
  17. Mar 16, 2015
    • Matthias Schiffer's avatar
      Get rid of the static kernel configuration files · 630de844
      Matthias Schiffer authored
      With a backported patch from the OpenWrt trunk, it is now easy to generate an
      equivalent configuration using CONFIG_ALL_KMODS.
      
      The build will take a bit longer because all kernel module packages are actually
      built even when they are not included in the image, but adding new targets
      becomes a lot easier.
      
      Also, related documentation updates and fixes.
      630de844
  18. Mar 13, 2015
  19. Jan 03, 2015
  20. Nov 15, 2014
    • Nils Schneider's avatar
      basic support for VoCore · 6e03d14d
      Nils Schneider authored
      This still needs some work:
      
      - there's no factory image causing `make images` to fail
      - VoCore can not support BSS and IBSS at the same time
      - multi-BSS mode (e.g. mesh + BSS) works if the macs only
        differ in the last 3 bits. Gluon expects to choose both MACs freely,
        though, so after flashing the image one should reset the wifi MACs.
        This is further complicated as VoCores have their MACs assigned
        without gaps making collisions likely.
      - there are no buttons nor ethernet ports (without the dock, that is),
        so config-mode will not be possible as is
      6e03d14d
Loading