Skip to content
Snippets Groups Projects
  1. Aug 16, 2020
  2. Jun 04, 2020
  3. 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.
      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.
      9e23534e
  4. 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
  5. Feb 02, 2020
  6. Jan 04, 2020
  7. Dec 04, 2019
  8. Nov 08, 2019
  9. Nov 07, 2019
  10. Oct 29, 2019
  11. Oct 22, 2019
    • David Bauer's avatar
      ar71xx-generic: add missing ath10k packages (#1844) · 3522197f
      David Bauer authored
      This adds previously absent ath10k packages definitions. This way,
      devices correctly select CandelaTech firmware correctly, when
      GLUON_WLAN_MESH is set to IBSS.
      
      This is also necessary for all devices, when OpenWrt is switched to
      19.07.
      3522197f
  12. Oct 06, 2019
  13. Oct 03, 2019
  14. Oct 02, 2019
  15. Sep 23, 2019
  16. Sep 20, 2019
  17. Aug 18, 2019
  18. Aug 10, 2019
  19. Jun 29, 2019
  20. Jun 27, 2019
  21. Jun 15, 2019
  22. Jun 12, 2019
  23. Mar 31, 2019
  24. Mar 15, 2019
  25. Feb 07, 2019
  26. Jan 18, 2019
  27. Dec 29, 2018
  28. Dec 20, 2018
  29. Dec 09, 2018
  30. Oct 24, 2018
  31. Oct 14, 2018
  32. Oct 11, 2018
  33. Oct 01, 2018
  34. Sep 23, 2018
    • Sven Eckelmann's avatar
      ar71xx-generic: Reduce SquashFS blocksize to 64K (#1455) · 2b208647
      Sven Eckelmann authored
      Some 32 MB devices like the Nanostation M2 suffer from sudden high loads
      combined with a squashfs related OOM reboot:
      
        logd invoked oom-killer: gfp_mask=0x2420848, order=0, oom_score_adj=0
        CPU: 0 PID: 774 Comm: logd Not tainted 4.4.135 #0
        Stack : 804214dc 00000000 00000001 80480000 8182fa3c 80474803 804028d0 00000306
                804e378c 00001ade 00000040 00000000 00000000 800a7f10 00000006 00000000
                00000000 00000000 804063e0 80c69994 804e6542 800a5e8c 02420848 00000000
                00000001 801fd600 00000000 00000000 00000000 00000000 00000000 00000000
                00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
                ...
        Call Trace:
        [<800721cc>] show_stack+0x54/0x88
        [<800d5468>] dump_header.isra.4+0x48/0x130
        [<800d5c38>] check_panic_on_oom+0x48/0x84
        [<800d5d64>] out_of_memory+0xf0/0x324
        [<800d9888>] __alloc_pages_nodemask+0x6b8/0x724
        [<800d2960>] pagecache_get_page+0x154/0x270
        [<80134cb0>] __getblk_slow+0x15c/0x374
        [<80160418>] squashfs_read_data+0x1c8/0x6e8
        [<80164628>] squashfs_readpage_block+0x32c/0x4d8
        [<801622a4>] squashfs_readpage+0x5bc/0x6d0
        [<800dd030>] __do_page_cache_readahead+0x1f8/0x264
        [<800d479c>] filemap_fault+0x1a8/0x458
        [<800efc1c>] __do_fault+0x64/0xd0
        [<800f2824>] handle_mm_fault+0x4a4/0xb40
        [<80076e98>] __do_page_fault+0x134/0x470
        [<80060820>] ret_from_exception+0x0/0x10
      
      Reduction of the SquashFS blocksize should reduce the problem slightly on
      these nodes. The image size will increase slightly but this should be no
      problem for ar71xx-generic (in contrast to ar71xx-tiny).
      2b208647
  35. Sep 04, 2018
  36. Aug 01, 2018
Loading