openwrt/staging/chunkeey.git
9 years agotools: remove static linking support
Jo-Philipp Wich [Fri, 6 Feb 2015 00:00:43 +0000 (00:00 +0000)]
tools: remove static linking support

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44285

9 years agobusybox: fix build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 23:32:17 +0000 (23:32 +0000)]
busybox: fix build on FreeBSD 10.1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44284

9 years agomac80211: don't hardcode /bin/bash
Jo-Philipp Wich [Thu, 5 Feb 2015 23:18:47 +0000 (23:18 +0000)]
mac80211: don't hardcode /bin/bash

Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the
build on FreeBSD 10.1.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44283

9 years agoncurses: add host build for 'tic'
Jo-Philipp Wich [Thu, 5 Feb 2015 23:18:42 +0000 (23:18 +0000)]
ncurses: add host build for 'tic'

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44282

9 years agotools: Fix cmake build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:58:24 +0000 (16:58 +0000)]
tools: Fix cmake build on FreeBSD 10.1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44281

9 years agotools: Fix mkimage build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:58:16 +0000 (16:58 +0000)]
tools: Fix mkimage build on FreeBSD 10.1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44280

9 years agotools: Fix mpfr build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:58:10 +0000 (16:58 +0000)]
tools: Fix mpfr build on FreeBSD 10.1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44279

9 years agotools: Fix xz build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:57 +0000 (16:57 +0000)]
tools: Fix xz build on FreeBSD 10.1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44278

9 years agoinclude: let HOSTCC default to $(CC), not gcc
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:50 +0000 (16:57 +0000)]
include: let HOSTCC default to $(CC), not gcc

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44277

9 years agoinclude: don't rely on perl for printing prereq errors
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:46 +0000 (16:57 +0000)]
include: don't rely on perl for printing prereq errors

Perl might not be present while checking prereqs, e.g. on a fresh
FreeBSD install.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44276

9 years agoinclude: set shell to "sh" for prereq tests
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:39 +0000 (16:57 +0000)]
include: set shell to "sh" for prereq tests

Bash is not guaranteed to be present, e.g. on a fresh FreeBSD install
so perform prereq tests with /bin/sh.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44275

9 years agotools: remove PrepareCommand macros
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:35 +0000 (16:57 +0000)]
tools: remove PrepareCommand macros

They're part of prereq-build.mk now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44274

9 years agoinclude: remove host command tests from host.mk
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:31 +0000 (16:57 +0000)]
include: remove host command tests from host.mk

Those tests are part of prereq-build.mk now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44273

9 years agoinclude: declare variables formerly set in tmp/.host.mk
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:18 +0000 (16:57 +0000)]
include: declare variables formerly set in tmp/.host.mk

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44272

9 years agoinclude: prereq-build.mk: use TestHostCommand and SetupHostCommand
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:12 +0000 (16:57 +0000)]
include: prereq-build.mk: use TestHostCommand and SetupHostCommand

Also move tests from tools/Makefile and include/host.mk here to have all tests
in a central place.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44271

9 years agoinclude: test build prereqs before preparing tempinfo
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:09 +0000 (16:57 +0000)]
include: test build prereqs before preparing tempinfo

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44270

9 years agoinclude: add TestHostCommand and SetupHostCommand macros
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:02 +0000 (16:57 +0000)]
include: add TestHostCommand and SetupHostCommand macros

Those macros allow testing various commands on the host system, also process the
prereq tests in the order they're declared.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44269

9 years agomvebu: don't generate targz images by default
Imre Kaloz [Thu, 5 Feb 2015 16:31:52 +0000 (16:31 +0000)]
mvebu: don't generate targz images by default

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44268

9 years agomvebu: Enable the A385 AP on 3.19
Imre Kaloz [Thu, 5 Feb 2015 15:41:07 +0000 (15:41 +0000)]
mvebu: Enable the A385 AP on 3.19

In order for the image to be built, some patches need to be ported to 3.19.

Add the relevant patches. Note that most of them (if not all) should be merged
in 3.20, removing the need to carry them on then.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44267

9 years agomvebu: add Armada 385 DB AP support
Imre Kaloz [Thu, 5 Feb 2015 11:34:21 +0000 (11:34 +0000)]
mvebu: add Armada 385 DB AP support

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44266

9 years agomvebu: add the Armada 385 Reference Design support
Imre Kaloz [Thu, 5 Feb 2015 11:29:56 +0000 (11:29 +0000)]
mvebu: add the Armada 385 Reference Design support

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44265

9 years agomvebu: fix NAND and NOR options
Imre Kaloz [Thu, 5 Feb 2015 11:26:17 +0000 (11:26 +0000)]
mvebu: fix NAND and NOR options

All the boards but Mamba had wrong UBI options so far, making it impossible to
flash the built image on their respective storage medium.

Fix all of the supported boards in order to make the generated images useful.

Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND
chip datasheet for the others.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44264

9 years agomvebu: add a subprofile for boards based on a small NOR
Imre Kaloz [Thu, 5 Feb 2015 11:25:21 +0000 (11:25 +0000)]
mvebu: add a subprofile for boards based on a small NOR

Some boards only come with a small NOR on it, where UBI isn't a good solution
because of its overhead.

Add a new subprofile for such boards, that rely on the mtd split framework
instead.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44263

9 years agomvebu: add large NOR sub-profile implementation
Imre Kaloz [Thu, 5 Feb 2015 11:24:10 +0000 (11:24 +0000)]
mvebu: add large NOR sub-profile implementation

While we supported only the NAND so far, some boards use a large enough NOR,
where UBI is the only reasonable option. Create a new sub-profile template with
a different set of UBI options.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44262

9 years agomvebu: Add sub-profiles
Imre Kaloz [Thu, 5 Feb 2015 11:22:43 +0000 (11:22 +0000)]
mvebu: Add sub-profiles

In order to support the various board NAND layout that we support, introduce a
sub-profile similar to the one used by ar71xx.

These subprofiles provide a default implementation for most of the building
functions, while allowing each sub-profile to override any of these operations
in order to have a more specific behaviour, like Mamba expects for example.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44261

9 years agogeneric: allow ubi autoattach to run on NOR flash
Imre Kaloz [Thu, 5 Feb 2015 11:21:31 +0000 (11:21 +0000)]
generic: allow ubi autoattach to run on NOR flash

Some devices out there only have a NOR flash to store the rootfs on.

While using UBI is arguable on this kind of flash, this is something that should
be supported.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44260

9 years agomvebu: Add MTD split framework support
Imre Kaloz [Thu, 5 Feb 2015 11:14:53 +0000 (11:14 +0000)]
mvebu: Add MTD split framework support

We're going to need the MTD split related options for our NOR support.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44259

9 years agoconfig: fix typo in Global build settings menu
Nicolas Thill [Thu, 5 Feb 2015 05:10:44 +0000 (05:10 +0000)]
config: fix typo in Global build settings menu

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44258

9 years agoralink: remove VHT capabilities when not using 802.11ac
John Crispin [Wed, 4 Feb 2015 06:11:01 +0000 (06:11 +0000)]
ralink: remove VHT capabilities when not using 802.11ac

The mt76 driver might have some problem working with MT7602.
MT7602 should not have VHT capabilities . But the driver not identity properly.

Signed-off-by: wengbj <fl.service@t-firefly.com>
SVN-Revision: 44257

9 years agolinux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adapters
John Crispin [Wed, 4 Feb 2015 06:10:57 +0000 (06:10 +0000)]
linux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adapters

requested and tested by forum user OWonPi
https://forum.openwrt.org/viewtopic.php?id=55495

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 44256

9 years agoar71xx: add support for the TP-LINK TL-WR941ND v5
John Crispin [Wed, 4 Feb 2015 06:10:20 +0000 (06:10 +0000)]
ar71xx: add support for the TP-LINK TL-WR941ND v5

This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44255

9 years agoat71xx: TP-LINK Archer: add 5GHz led entry
John Crispin [Wed, 4 Feb 2015 06:10:12 +0000 (06:10 +0000)]
at71xx: TP-LINK Archer: add 5GHz led entry

Add 5GHz led entry after r44033.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44254

9 years agobase-files: default_postinst() fix variable colision
John Crispin [Wed, 4 Feb 2015 06:10:06 +0000 (06:10 +0000)]
base-files: default_postinst() fix variable colision

The name variable contains at first the package name,
and after the last group name.
This patch fixes /etc/rc.d symlink creation (at least).

Change name in pkgname, change the other name in ugname
(user group name), and id in ugid (user group id)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 44253

9 years agoath5k: fix spontaneus AR5312 freezes
John Crispin [Wed, 4 Feb 2015 06:09:51 +0000 (06:09 +0000)]
ath5k: fix spontaneus AR5312 freezes

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44252

9 years agogeneric/3.18: update to 3.18.5
John Crispin [Tue, 3 Feb 2015 10:11:18 +0000 (10:11 +0000)]
generic/3.18: update to 3.18.5

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44249

9 years agoralink: fix USB host function for Intenso M2M
John Crispin [Tue, 3 Feb 2015 10:11:11 +0000 (10:11 +0000)]
ralink: fix USB host function for Intenso M2M

The ubootloader of the M2M sets the reset bits for
both USB device and USB host during initialization
(to save a few mA of power during boot).

However, for the usb<->sata bridge to be properly
detected, it is necessary to clear both reset bits
as otherwise the kernel logs will just be filled
with:

usb 1-1: device descriptor read/64, error -145
...

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 44248

9 years agoFix possible fail to check for dependencies
John Crispin [Tue, 3 Feb 2015 10:11:06 +0000 (10:11 +0000)]
Fix possible fail to check for dependencies

Few characters in filenames (a plus sign, a dot) can be interpreted
specially by grep. This can lead to the omission of missing package
dependency. For example if we would have "some.file.so" then it
matches also "some2file.so". -F switch off special meaning
of any character and -x match against whole line.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>
SVN-Revision: 44247

9 years agomap: Fix white space errors
John Crispin [Tue, 3 Feb 2015 10:10:54 +0000 (10:10 +0000)]
map: Fix white space errors

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 44246

9 years agoar71xx: Revert "added board support for compex wpj558"
John Crispin [Mon, 2 Feb 2015 10:32:04 +0000 (10:32 +0000)]
ar71xx: Revert "added board support for compex wpj558"

This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44245

9 years agoralink: cleanup firefly default packages
John Crispin [Mon, 2 Feb 2015 09:02:35 +0000 (09:02 +0000)]
ralink: cleanup firefly default packages

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44244

9 years agocURL: implement new functionality with cleanup and fixes
John Crispin [Mon, 2 Feb 2015 09:02:24 +0000 (09:02 +0000)]
cURL: implement new functionality with cleanup and fixes

remove obsolete configuration settings
  --disable-thread
  --enable-nonblocking
  --without-krb4
remove SSPI support
  only supported on windows
correct --with/without-ca-path handling
  only supported with OpenSSL and PolarSSL
correct LDAP/LDAPS protocol
  add dependency libopenldap
added SCP/SFTP protocol
  default "No"
  depends on libssh2
added IDN support
  default "No"
  depends on libidn
added SMB protocol (new in 7.40)
  default "No"
  require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL' selected
added Unix sockets support (new in 7.40)
  default "No"
added error verbose messages
  default "No"
changes to Makefile
  Increase PKG_RELEASE
  PKG_CONFIG_DEPENDS and CONFIGURE_ARGS
    extended for new functionality
    use "autoconf_bool" for all --enable/--disable options
    restructure for easier reading
changes to Config.in
  extended for new functionality
  implement dependencies
  restructure and grouping for easier reading
build tested on XUbuntu 14.10 x86 for x86 (generic) and ar71xx (WNDR3800)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 44243

9 years agoralink: add FireWRT button detail
John Crispin [Mon, 2 Feb 2015 09:02:16 +0000 (09:02 +0000)]
ralink: add FireWRT button detail

Signed-off-by: wengbj <fl.service@t-firefly.com>
SVN-Revision: 44242

9 years agoralink: add FireWRT led detail
John Crispin [Mon, 2 Feb 2015 09:02:10 +0000 (09:02 +0000)]
ralink: add FireWRT led detail

Signed-off-by: wengbj <fl.service@t-firefly.com>
SVN-Revision: 44241

9 years agoralink: add ethernet macaddr to dts for FireWRT
John Crispin [Mon, 2 Feb 2015 09:02:02 +0000 (09:02 +0000)]
ralink: add ethernet macaddr to dts for FireWRT

Signed-off-by: wengbj <fl.service@t-firefly.com>
SVN-Revision: 44240

9 years agomac80211: Revert adding SM Power Save capability to hostapd configuration
John Crispin [Mon, 2 Feb 2015 09:01:44 +0000 (09:01 +0000)]
mac80211: Revert adding SM Power Save capability to hostapd configuration

Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
SVN-Revision: 44239

9 years agoramips: add support for Xiaomi MiWiFi Mini devices
John Crispin [Mon, 2 Feb 2015 09:01:07 +0000 (09:01 +0000)]
ramips: add support for Xiaomi MiWiFi Mini devices

This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44238

9 years agoadded board support for compex wpj558
John Crispin [Mon, 2 Feb 2015 09:00:21 +0000 (09:00 +0000)]
added board support for compex wpj558

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
SVN-Revision: 44237

9 years agoutil-linux: only enable curses support if required
Jo-Philipp Wich [Sun, 1 Feb 2015 13:11:17 +0000 (13:11 +0000)]
util-linux: only enable curses support if required

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44236

9 years agomodules: fix usb-gadget build on 3.18
Zoltan Herpai [Sun, 1 Feb 2015 09:35:52 +0000 (09:35 +0000)]
modules: fix usb-gadget build on 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 44235

9 years agoramips: fix ethernet driver tx completion polling
Felix Fietkau [Sun, 1 Feb 2015 08:20:37 +0000 (08:20 +0000)]
ramips: fix ethernet driver tx completion polling

- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44234

9 years agox86_64: add more symbols required to enable SMP
Jo-Philipp Wich [Sat, 31 Jan 2015 22:23:01 +0000 (22:23 +0000)]
x86_64: add more symbols required to enable SMP

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44233

9 years agox86_64: support HyperThreading and SMP with up to 8 CPUs
Jo-Philipp Wich [Sat, 31 Jan 2015 17:33:32 +0000 (17:33 +0000)]
x86_64: support HyperThreading and SMP with up to 8 CPUs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44232

9 years agolinux: enable kmod-bcma on ppc40x after r44230
Jo-Philipp Wich [Sat, 31 Jan 2015 16:49:26 +0000 (16:49 +0000)]
linux: enable kmod-bcma on ppc40x after r44230

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44231

9 years agokernel: disable bcma's usage of OF API in kernel 3.10
Rafał Miłecki [Sat, 31 Jan 2015 16:43:13 +0000 (16:43 +0000)]
kernel: disable bcma's usage of OF API in kernel 3.10

It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44230

9 years agolinux: convert CompareKernelPatchVer to version tagged symbols
Jo-Philipp Wich [Sat, 31 Jan 2015 13:55:51 +0000 (13:55 +0000)]
linux: convert CompareKernelPatchVer to version tagged symbols

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44229

9 years agoinclude: apply version filter on AutoLoad and AutoProbe arguments
Jo-Philipp Wich [Sat, 31 Jan 2015 13:55:44 +0000 (13:55 +0000)]
include: apply version filter on AutoLoad and AutoProbe arguments

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44228

9 years agolinux: fix framebuffer kmods for >= 3.15
Jo-Philipp Wich [Sat, 31 Jan 2015 13:15:45 +0000 (13:15 +0000)]
linux: fix framebuffer kmods for >= 3.15

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44227

9 years agoinclude: improve 'gettext-version' fixup
Nicolas Thill [Sat, 31 Jan 2015 08:15:51 +0000 (08:15 +0000)]
include: improve 'gettext-version' fixup

 * enclose the fixup in brackets
 * match anything in the call to AM_GNU_GETTEXT_VERSION
 * call it early (before autoreconf if both are specified)
 * chain a call to autoreconf since it messes with configure.ac

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44225

9 years agoinclude: don't use extended regex for deps checking
Nicolas Thill [Sat, 31 Jan 2015 08:15:46 +0000 (08:15 +0000)]
include: don't use extended regex for deps checking

Closes: #18851
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44224

9 years agolinux: fix mips boot decompressor build
Jo-Philipp Wich [Fri, 30 Jan 2015 10:04:23 +0000 (10:04 +0000)]
linux: fix mips boot decompressor build

Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44223

9 years agomac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
John Crispin [Fri, 30 Jan 2015 08:06:47 +0000 (08:06 +0000)]
mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)

http://patchwork.ozlabs.org/patch/434532/

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44222

9 years agoar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
John Crispin [Fri, 30 Jan 2015 08:06:40 +0000 (08:06 +0000)]
ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)

The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>
SVN-Revision: 44221

9 years agomac80211: fix NULL pointer crash in monitor frame injection TX path
John Crispin [Fri, 30 Jan 2015 08:06:28 +0000 (08:06 +0000)]
mac80211: fix NULL pointer crash in monitor frame injection TX path

This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>
SVN-Revision: 44220

9 years agobcm53xx: fix partitions on Netgear R8000
Rafał Miłecki [Fri, 30 Jan 2015 07:25:43 +0000 (07:25 +0000)]
bcm53xx: fix partitions on Netgear R8000

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44219

9 years agobcm53xx: fix booting BCM4709
Rafał Miłecki [Fri, 30 Jan 2015 06:58:35 +0000 (06:58 +0000)]
bcm53xx: fix booting BCM4709

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44218

9 years agobcm53xx: fix Netgear R8000 serial console
Rafał Miłecki [Fri, 30 Jan 2015 06:30:44 +0000 (06:30 +0000)]
bcm53xx: fix Netgear R8000 serial console

Thanks raven-auand.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44217

9 years agosunxi: disable MMC debugging in kernel config
Zoltan Herpai [Fri, 30 Jan 2015 00:19:18 +0000 (00:19 +0000)]
sunxi: disable MMC debugging in kernel config

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44216

9 years agosunxi: workaround switch being uninitialized on netifd startup
Zoltan Herpai [Fri, 30 Jan 2015 00:18:21 +0000 (00:18 +0000)]
sunxi: workaround switch being uninitialized on netifd startup

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44215

9 years agosunxi: add support for Lamobo R1
Zoltan Herpai [Fri, 30 Jan 2015 00:17:16 +0000 (00:17 +0000)]
sunxi: add support for Lamobo R1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44214

9 years agosunxi: use sunxi_board_name when generating default network settings
Zoltan Herpai [Fri, 30 Jan 2015 00:14:17 +0000 (00:14 +0000)]
sunxi: use sunxi_board_name when generating default network settings

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 44213

9 years agosunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Zoltan Herpai [Fri, 30 Jan 2015 00:12:29 +0000 (00:12 +0000)]
sunxi: introduce sunxi_board_name() in /lib/sunxi.sh

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44212

9 years agosunxi: implement board_detect for device-tree kernels
Zoltan Herpai [Fri, 30 Jan 2015 00:11:30 +0000 (00:11 +0000)]
sunxi: implement board_detect for device-tree kernels

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44211

9 years agolinux: add kmod-udptunnel4 & kmod-udptunnel6 required by kmod-vxlan and kmod-l2tp...
Jo-Philipp Wich [Thu, 29 Jan 2015 22:58:40 +0000 (22:58 +0000)]
linux: add kmod-udptunnel4 & kmod-udptunnel6 required by kmod-vxlan and kmod-l2tp for >= 3.16

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44210

9 years agolinux: kmod-usb-net-huawei-cdc-ncm depends on kmod-usb-net-cdc-ncm
Jo-Philipp Wich [Thu, 29 Jan 2015 22:58:35 +0000 (22:58 +0000)]
linux: kmod-usb-net-huawei-cdc-ncm depends on kmod-usb-net-cdc-ncm

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44209

9 years agoscripts: avoid outputting empty lines in gen-dependencies.sh
Jo-Philipp Wich [Thu, 29 Jan 2015 22:05:31 +0000 (22:05 +0000)]
scripts: avoid outputting empty lines in gen-dependencies.sh

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44208

9 years agoinclude: use anchored patterns for dependency checking
Jo-Philipp Wich [Thu, 29 Jan 2015 21:59:17 +0000 (21:59 +0000)]
include: use anchored patterns for dependency checking

Anchor search pattern when testing dependencies, otherwise the check may
succeed in cases where it shouldn't, e.g. when matching "udp_tunnel.ko"
against "ip6_udp_tunnel.ko".

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44207

9 years agoscripts: gen-dependencies.sh: fix kmod dependency generation
Jo-Philipp Wich [Thu, 29 Jan 2015 21:59:10 +0000 (21:59 +0000)]
scripts: gen-dependencies.sh: fix kmod dependency generation

Do not output faulty ".ko" dependency if a scanned .ko file has an empty
"depends=" specification, also replace the `grep | sed | awk` chain with a
single sed program.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44206

9 years agolinux: kmod-zram requires kmod-lib-lz4 for >= 3.15
Jo-Philipp Wich [Thu, 29 Jan 2015 21:59:03 +0000 (21:59 +0000)]
linux: kmod-zram requires kmod-lib-lz4 for >= 3.15

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44205

9 years agolinux: fix kmod-usbip* for >= 3.17
Jo-Philipp Wich [Thu, 29 Jan 2015 21:58:57 +0000 (21:58 +0000)]
linux: fix kmod-usbip* for >= 3.17

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44204

9 years agox86_64: enable PCIE support
Jo-Philipp Wich [Thu, 29 Jan 2015 19:15:53 +0000 (19:15 +0000)]
x86_64: enable PCIE support

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44203

9 years agoRevert "x86_64: enable PCIE support"
Jo-Philipp Wich [Thu, 29 Jan 2015 19:15:45 +0000 (19:15 +0000)]
Revert "x86_64: enable PCIE support"

This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44202

9 years agox86_64: enable PCIE support
Jo-Philipp Wich [Thu, 29 Jan 2015 19:12:29 +0000 (19:12 +0000)]
x86_64: enable PCIE support

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44201

9 years agocurl: fix build with --disable-crypto-auth (#18838)
Jo-Philipp Wich [Thu, 29 Jan 2015 16:52:15 +0000 (16:52 +0000)]
curl: fix build with --disable-crypto-auth (#18838)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44192

9 years agocurl: fix typo in 2 config symbols
Nicolas Thill [Thu, 29 Jan 2015 16:37:08 +0000 (16:37 +0000)]
curl: fix typo in 2 config symbols

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44191

9 years agoinclude: apply version filter on kmod file list
Jo-Philipp Wich [Thu, 29 Jan 2015 15:51:05 +0000 (15:51 +0000)]
include: apply version filter on kmod file list

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44190

9 years agoinclude: pass kernel version when generating kconfig overrides
Jo-Philipp Wich [Thu, 29 Jan 2015 15:51:00 +0000 (15:51 +0000)]
include: pass kernel version when generating kconfig overrides

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44189

9 years agoscripts: add version_filter command to metadata.pl
Jo-Philipp Wich [Thu, 29 Jan 2015 15:50:53 +0000 (15:50 +0000)]
scripts: add version_filter command to metadata.pl

Also support version annotated Kconfig symbols in the kconfig subcommand.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44188

9 years agonetfilter: add missing symbols and modules for Linux 3.18+
Jo-Philipp Wich [Thu, 29 Jan 2015 10:22:17 +0000 (10:22 +0000)]
netfilter: add missing symbols and modules for Linux 3.18+

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44187

9 years agobcm53xx: early support for Netgear R8000
Rafał Miłecki [Wed, 28 Jan 2015 21:55:43 +0000 (21:55 +0000)]
bcm53xx: early support for Netgear R8000

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44186

9 years agokernel: bcm47xxpart: support T_Meter partitions
Rafał Miłecki [Wed, 28 Jan 2015 21:26:31 +0000 (21:26 +0000)]
kernel: bcm47xxpart: support T_Meter partitions

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44185

9 years agomodules: Add support for Realtek r8712 and RTL8192SU.
John Crispin [Wed, 28 Jan 2015 19:19:57 +0000 (19:19 +0000)]
modules: Add support for Realtek r8712 and RTL8192SU.

This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU
family of fullmac usb wireless cards. The r8712u staging driver only supports
WEXT but works with no problems in OpenWRT.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 44184

9 years agoar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
John Crispin [Wed, 28 Jan 2015 19:19:47 +0000 (19:19 +0000)]
ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address

Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44183

9 years agocomgt-ncm: Fix NCM protocol
John Crispin [Wed, 28 Jan 2015 19:19:33 +0000 (19:19 +0000)]
comgt-ncm: Fix NCM protocol

This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44182

9 years agolinux: add upstream patch to allow building dwc2 as module on 3.18
Jo-Philipp Wich [Wed, 28 Jan 2015 13:45:06 +0000 (13:45 +0000)]
linux: add upstream patch to allow building dwc2 as module on 3.18

Also add the required config symbols to usb.mk

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44181

9 years agofstools: fix exit code of uci-defaults script
Jo-Philipp Wich [Wed, 28 Jan 2015 13:44:37 +0000 (13:44 +0000)]
fstools: fix exit code of uci-defaults script

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44180

9 years agouboot-lantiq: fix P-2812HNU-F1/3 package dependency
John Crispin [Wed, 28 Jan 2015 12:08:13 +0000 (12:08 +0000)]
uboot-lantiq: fix P-2812HNU-F1/3 package dependency

After r43987 TARGET_lantiq_xrx200_P2812HNUFX does not exist anymore.
Fix empty menuconfig bootloader selection by making u-boot depend on
one of the new target profiles.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
SVN-Revision: 44179

9 years agolibubox: update to latest git HEAD
John Crispin [Wed, 28 Jan 2015 12:08:04 +0000 (12:08 +0000)]
libubox: update to latest git HEAD

adds "ignore SIGPIPE by default"

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44178

9 years agoprocd: update to latest git HEAD
John Crispin [Wed, 28 Jan 2015 12:07:55 +0000 (12:07 +0000)]
procd: update to latest git HEAD

adds a zram size calculation bug fix

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44177

9 years agocURL: Update to version 7.40.0
John Crispin [Wed, 28 Jan 2015 12:07:47 +0000 (12:07 +0000)]
cURL: Update to version 7.40.0

* Update to version 7.40.0
* remove non existing config options around enable/disable HTTPS protocoll
* remove --with-ca-path if ssl support disabled
* set proxy support as default like all versions before CC did

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 44176

9 years agolibertas: set wireless macaddr
John Crispin [Wed, 28 Jan 2015 12:07:35 +0000 (12:07 +0000)]
libertas: set wireless macaddr

Update the wireless macaddr with the value retrieved from the H/W.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 44175