Skip to content
Snippets Groups Projects
  1. Dec 29, 2014
  2. Dec 28, 2014
  3. Dec 27, 2014
    • nbd's avatar
      ath10k: fix tx rate selection for ad-hoc mode with HT · b0fb8a1d
      nbd authored
      
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43790 3c298f89-4303-0410-b956-a3cf2f4a3e73
      b0fb8a1d
    • nbd's avatar
      oxnas: re-enable ubifs · 5b7b3344
      nbd authored
      
      After the changes make ubinize.cfg optional in image.mk, ubifs
      generation can now safely be enabled again.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43789 3c298f89-4303-0410-b956-a3cf2f4a3e73
      5b7b3344
    • nbd's avatar
      image.mk: make ubinize.cfg optional · 75be0e0d
      nbd authored
      
      When using UbinizeImage with ubifs rootfs, ubinize.cfg is no longer
      needed. Yet, the absance of ubinize.cfg would make the build process
      abort with an error.
      Fix that by checking if ubinize.cfg is present and do no not call the
      "classic" ubinize image generation if it isn't.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      [missing new-line before UbinizeImage added itentionally]
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43788 3c298f89-4303-0410-b956-a3cf2f4a3e73
      75be0e0d
    • nbd's avatar
      oxnas: clk-oxnas: rework pllb enable function · ea2d8858
      nbd authored
      
      kernel lock debugging unveiled that we should not call
      of_reset_control_get inside a clock's enable operation (see below)
      
      move of_reset_control_* previously used in pllb_clk_enable to new
      pllb_clk_prepare and pllb_clk_unprepare functions.
      use a container to carry runtime information.
      
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2742 lockdep_trace_alloc+0xb8/0xfc()
      DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
      Modules linked in:
      CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.26 #6
      [<c001a6ac>] (unwind_backtrace) from [<c0016dec>] (show_stack+0x10/0x14)
      [<c0016dec>] (show_stack) from [<c0194f68>] (dump_stack+0x7c/0x94)
      [<c0194f68>] (dump_stack) from [<c0021b50>] (warn_slowpath_common+0x68/0x8c)
      [<c0021b50>] (warn_slowpath_common) from [<c0021ba4>] (warn_slowpath_fmt+0x30/0x40)
      [<c0021ba4>] (warn_slowpath_fmt) from [<c0061b30>] (lockdep_trace_alloc+0xb8/0xfc)
      [<c0061b30>] (lockdep_trace_alloc) from [<c00cb740>] (kmem_cache_alloc+0x1c/0xf8)
      [<c00cb740>] (kmem_cache_alloc) from [<c01d33c8>] (of_reset_control_get+0xe8/0x12c)
      [<c01d33c8>] (of_reset_control_get) from [<c0269228>] (pllb_clk_enable+0x14/0xbc)
      [<c0269228>] (pllb_clk_enable) from [<c0265738>] (__clk_enable+0x54/0xa0)
      [<c0265738>] (__clk_enable) from [<c0265acc>] (clk_enable+0x18/0x2c)
      [<c0265acc>] (clk_enable) from [<c04325f8>] (oxnas_pcie_probe+0x3b8/0x6a0)
      [<c04325f8>] (oxnas_pcie_probe) from [<c01f2510>] (platform_drv_probe+0x18/0x48)
      [<c01f2510>] (platform_drv_probe) from [<c01f1070>] (driver_probe_device+0xd8/0x24c)
      [<c01f1070>] (driver_probe_device) from [<c01f1298>] (__driver_attach+0x70/0x94)
      [<c01f1298>] (__driver_attach) from [<c01ef728>] (bus_for_each_dev+0x4c/0x98)
      [<c01ef728>] (bus_for_each_dev) from [<c01f0818>] (bus_add_driver+0xcc/0x1e8)
      [<c01f0818>] (bus_add_driver) from [<c01f169c>] (driver_register+0xa0/0xe8)
      [<c01f169c>] (driver_register) from [<c01f2568>] (platform_driver_probe+0x20/0xa4)
      [<c01f2568>] (platform_driver_probe) from [<c0013a3c>] (do_one_initcall+0x90/0x140)
      [<c0013a3c>] (do_one_initcall) from [<c0421d38>] (kernel_init_freeable+0x1e4/0x2c0)
      [<c0421d38>] (kernel_init_freeable) from [<c000c214>] (kernel_init+0x8/0x104)
      [<c000c214>] (kernel_init) from [<c0008768>] (ret_from_fork+0x14/0x2c)
      ---[ end trace 5f17ed2f61e0683f ]---
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43787 3c298f89-4303-0410-b956-a3cf2f4a3e73
      ea2d8858
    • nbd's avatar
      kernel/generic: fix warnings if libata-ledtrig is disabled · 0f391858
      nbd authored
      
      accidentally #if was used instead of #ifdef, thus gcc warned
      about CONFIG_ATA_LEDS being undefined...
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43786 3c298f89-4303-0410-b956-a3cf2f4a3e73
      0f391858
    • nbd's avatar
      binutils: run install twice instead of overwriting the final toolchain with the initial one · 87846917
      nbd authored
      
      fixes compiler error after a binutils rebuild/reinstall without
      rebuilding the rest of the toolchain
      
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43785 3c298f89-4303-0410-b956-a3cf2f4a3e73
      87846917
    • nbd's avatar
      build: use gcc-provided ar, nm and ranlib where appropriate · c1c3c7f8
      nbd authored
      
      Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which
      should be used for builds with link-time optimization. Since GCC 4.9, using them
      actually necessary for LTO builds using convenience libraries to succeed.
      
      There are some packages which try to automatically detect if gcc-{ar,nm,ranlib}
      exist (one example is my package "fastd" in the package repository, which tries
      to use LTO). This breaks because the OpenWrt build system explicitly sets the
      binutils versions of these tools.
      
      As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of
      {ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the
      GCC-provided versions by default, which fixes the build of such packages with
      GCC 4.9.
      
      (I know that builds fail though when clang is used with -flto and
      gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't
      a real issue.)
      
      Completely cleaning the tree (or at least `make clean toolchain/clean`) is
      necessary to get a consistent state after the binutils plugins support patch and
      this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without
      plugin support will definitely lead to a build failure).
      
      Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43784 3c298f89-4303-0410-b956-a3cf2f4a3e73
      c1c3c7f8
    • nbd's avatar
      binutils: enable plugin support · 92c4107c
      nbd authored
      
      --enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
      must be used with GCC 4.9 for LTO to work.
      
      Without this option, gcc-ar etc. will just fail with
      
          sorry - this program has been built without plugin support
      
      Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
      with static "convenience" libraries to fail.
      
      Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43783 3c298f89-4303-0410-b956-a3cf2f4a3e73
      92c4107c
    • nbd's avatar
      hostapd: add support for configuring supported rates · 1a85fb09
      nbd authored
      
      patch by Wilco Baan Hofman from #18627
      
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43782 3c298f89-4303-0410-b956-a3cf2f4a3e73
      1a85fb09
  4. Dec 26, 2014
  5. Dec 25, 2014
  6. Dec 23, 2014
  7. Dec 22, 2014
  8. Dec 20, 2014
Loading