openwrt.git
7 years agokernel: backport ARM memset fixes for GCC 4.7/4.8
florian [Wed, 12 Mar 2014 22:08:59 +0000 (22:08 +0000)]
kernel: backport ARM memset fixes for GCC 4.7/4.8

Now that GCC 4.8 is the default, make sure that we have the relevant
memset fixes to avoid nasty kernel crashes.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39902 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: fix installation of default-variant packages when the source package has multi...
nbd [Wed, 12 Mar 2014 19:53:13 +0000 (19:53 +0000)]
build: fix installation of default-variant packages when the source package has multiple variants (#15237)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39899 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoubox: update to latest git head
blogic [Wed, 12 Mar 2014 19:33:18 +0000 (19:33 +0000)]
ubox: update to latest git head

use the fd handover api of ubus to transfer log data
the uci option log_buffer_size can be used to override the default size of 16k

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39898 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoubus: update to latest git HEAD
blogic [Wed, 12 Mar 2014 19:33:09 +0000 (19:33 +0000)]
ubus: update to latest git HEAD

add fd handover inside ubus replies

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39897 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: add missing clk_set_rate()
blogic [Wed, 12 Mar 2014 19:33:01 +0000 (19:33 +0000)]
ralink: add missing clk_set_rate()

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39896 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agofstools: add the new fstools package
blogic [Wed, 12 Mar 2014 19:32:51 +0000 (19:32 +0000)]
fstools: add the new fstools package

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[cns3xxx]: Add GW2385 support
kaloz [Wed, 12 Mar 2014 13:40:13 +0000 (13:40 +0000)]
[cns3xxx]: Add GW2385 support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39894 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[ixp4xx]: add GW2375 support
kaloz [Wed, 12 Mar 2014 13:39:06 +0000 (13:39 +0000)]
[ixp4xx]: add GW2375 support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39893 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[cns3xxx]: various dwc (OTG) driver fixups
kaloz [Wed, 12 Mar 2014 13:37:40 +0000 (13:37 +0000)]
[cns3xxx]: various dwc (OTG) driver fixups

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39892 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: rb95x: use correct SPI flash address
juhosg [Wed, 12 Mar 2014 12:52:39 +0000 (12:52 +0000)]
ar71xx: rb95x: use correct SPI flash address

The flash address passed to rb_init_info() is bogus,
use the predefined AR71XX_SPI_BASE macro instead.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39891 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: ar934x_nfc: fix memory initialization bug
juhosg [Wed, 12 Mar 2014 12:52:36 +0000 (12:52 +0000)]
ar71xx: ar934x_nfc: fix memory initialization bug

sizeof(array_from_function_definition) gives back the size of the pointer.
sizeof(type)  * array_size   should be used in memset.

Signed-off-by: David Völgyes <david.volgyes@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4950/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39890 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogrub2: update to 2.02-beta2, fixes mac os x 10.9 support (and many other things)
nbd [Wed, 12 Mar 2014 11:21:16 +0000 (11:21 +0000)]
grub2: update to 2.02-beta2, fixes mac os x 10.9 support (and many other things)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39889 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoflex: fix build error due to undefined library symbols
nbd [Wed, 12 Mar 2014 10:47:31 +0000 (10:47 +0000)]
flex: fix build error due to undefined library symbols

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39888 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: merge an aggregation related fix
nbd [Wed, 12 Mar 2014 10:00:56 +0000 (10:00 +0000)]
ath9k: merge an aggregation related fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39886 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenssl: Fix x86_64 build on some 64bit host systems
nbd [Wed, 12 Mar 2014 10:00:53 +0000 (10:00 +0000)]
openssl: Fix x86_64 build on some 64bit host systems

On some build hosts openssl fails to install since openssl installs itself into
lib64 while the openwrt Makefile expects the libs to end up in lib.

install -m0644 .../openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/openssl-1.0.1e/ipkg-install/usr/lib/libcrypto.so.* .../openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/openssl-1.0.1e/ipkg-x86_64/libopenssl/usr/lib/
install: cannot stat '.../openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/openssl-1.0.1e/ipkg-install/usr/lib/libcrypto.so.*': No such file or directory
make[2]: *** [/openwrt/bin/x86_64/packages/libopenssl_1.0.1e-2_x86_64.ipk] Error 1
make[2]: Leaving directory `/openwrt/package/libs/openssl'
make[1]: *** [package/libs/openssl/compile] Error 2
make[1]: Leaving directory `/openwrt'

Set LIBDIR accordingly to fix this.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39885 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: further improvements to noise immunity handling on older chips
nbd [Tue, 11 Mar 2014 15:31:50 +0000 (15:31 +0000)]
ath9k: further improvements to noise immunity handling on older chips

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39879 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoiptables/netfilter: add connlimit to conntrack-extra
cyrus [Tue, 11 Mar 2014 14:58:00 +0000 (14:58 +0000)]
iptables/netfilter: add connlimit to conntrack-extra

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39878 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoiptables: bump to 1.4.21
cyrus [Tue, 11 Mar 2014 14:57:55 +0000 (14:57 +0000)]
iptables: bump to 1.4.21

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39877 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoltq-vmmc: disable mips16 support
nbd [Tue, 11 Mar 2014 13:20:07 +0000 (13:20 +0000)]
ltq-vmmc: disable mips16 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39876 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoltq-tapi: disable mips16 support
nbd [Tue, 11 Mar 2014 13:20:04 +0000 (13:20 +0000)]
ltq-tapi: disable mips16 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39875 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoltq-adsl: disable mips16 support
nbd [Tue, 11 Mar 2014 13:20:01 +0000 (13:20 +0000)]
ltq-adsl: disable mips16 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39874 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoltq-adsl: disable mips16 support
nbd [Tue, 11 Mar 2014 13:19:56 +0000 (13:19 +0000)]
ltq-adsl: disable mips16 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39873 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenvpn: make size optimization configurable
nbd [Tue, 11 Mar 2014 12:07:17 +0000 (12:07 +0000)]
openvpn: make size optimization configurable

Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39872 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: update to latest version, includes interface handling fixes by Hans Dedecker
nbd [Tue, 11 Mar 2014 09:28:28 +0000 (09:28 +0000)]
netifd: update to latest version, includes interface handling fixes by Hans Dedecker

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39870 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
cyrus [Tue, 11 Mar 2014 08:21:58 +0000 (08:21 +0000)]
odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39868 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: add another ANI fix for older chipsets
nbd [Mon, 10 Mar 2014 18:58:52 +0000 (18:58 +0000)]
ath9k: add another ANI fix for older chipsets

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39865 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotarget/sdk: generate a Config.in file with the settings of the build that the SDK...
nbd [Mon, 10 Mar 2014 18:58:49 +0000 (18:58 +0000)]
target/sdk: generate a Config.in file with the settings of the build that the SDK was generated from

This allows make oldconfig/menuconfig to run

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39864 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotarget/sdk: remove obsolete compatibility makefiles
nbd [Mon, 10 Mar 2014 18:58:44 +0000 (18:58 +0000)]
target/sdk: remove obsolete compatibility makefiles

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39863 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoscripts/config: make wildcard include with no results non-fatal
nbd [Mon, 10 Mar 2014 18:58:40 +0000 (18:58 +0000)]
scripts/config: make wildcard include with no results non-fatal

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39862 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotarget/sdk: remove obsolete exclude line
nbd [Mon, 10 Mar 2014 18:58:34 +0000 (18:58 +0000)]
target/sdk: remove obsolete exclude line

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39861 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotoolchain/gcc: use 4.8-linaro by default
nbd [Mon, 10 Mar 2014 11:20:33 +0000 (11:20 +0000)]
toolchain/gcc: use 4.8-linaro by default

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39860 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotarget/sdk: remove some unnecessary files
nbd [Mon, 10 Mar 2014 11:12:41 +0000 (11:12 +0000)]
target/sdk: remove some unnecessary files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39859 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotarget/sdk: add support for building kernel module packages
nbd [Mon, 10 Mar 2014 11:12:37 +0000 (11:12 +0000)]
target/sdk: add support for building kernel module packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39858 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: add a variable for the name of the {build,staging}_dir/{target,toolchain}...
nbd [Mon, 10 Mar 2014 11:12:32 +0000 (11:12 +0000)]
build: add a variable for the name of the {build,staging}_dir/{target,toolchain}-* directories

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39857 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[tools] flex: upgrade to version 2.5.38
luka [Mon, 10 Mar 2014 01:26:14 +0000 (01:26 +0000)]
[tools] flex: upgrade to version 2.5.38

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39856 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel/generic: drop already upstreamed patch
luka [Mon, 10 Mar 2014 01:06:48 +0000 (01:06 +0000)]
kernel/generic: drop already upstreamed patch

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39855 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoiproute2: add ip-full variant to disable IP_CONFIG_TINY
nbd [Sun, 9 Mar 2014 13:32:59 +0000 (13:32 +0000)]
iproute2: add ip-full variant to disable IP_CONFIG_TINY

This change creates a new ip-full variant for the ip package.
It disables IP_CONFIG_TINY to make some iproute2 features available like xfrm, gretap, ...

Signed-off-by: Thomas Wouters <thomaswouters@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39854 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenssl: update to 1.0.1f
nbd [Sun, 9 Mar 2014 13:23:41 +0000 (13:23 +0000)]
openssl: update to 1.0.1f

This version includes this changes:

    Don't include gmt_unix_time in TLS server and client random values
    Fix for TLS record tampering bug CVE-2013-4353
    Fix for TLS version checking bug CVE-2013-6449
    Fix for DTLS retransmission bug CVE-2013-6450

Signed-off-by: Peter Wagner <tripolar@gmx.at>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39853 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenssl: detect configuration changes and clean build tree accordingly (fixes #15067)
nbd [Sun, 9 Mar 2014 13:19:29 +0000 (13:19 +0000)]
openssl: detect configuration changes and clean build tree accordingly (fixes #15067)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39852 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenssl: move make depend call to Build/Configure
nbd [Sun, 9 Mar 2014 13:19:25 +0000 (13:19 +0000)]
openssl: move make depend call to Build/Configure

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39851 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: include iwinfo by default if nas or wpad(-mini) is selected
nbd [Sun, 9 Mar 2014 12:16:08 +0000 (12:16 +0000)]
build: include iwinfo by default if nas or wpad(-mini) is selected

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39850 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: improve ANI debugfs file
nbd [Sun, 9 Mar 2014 10:31:05 +0000 (10:31 +0000)]
ath9k: improve ANI debugfs file

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39849 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: fix tx queue configuration for buffered multicast frames
nbd [Sun, 9 Mar 2014 10:05:41 +0000 (10:05 +0000)]
ath9k: fix tx queue configuration for buffered multicast frames

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39848 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: further reduce false baseband hang detects on older chips
nbd [Sun, 9 Mar 2014 08:53:39 +0000 (08:53 +0000)]
ath9k: further reduce false baseband hang detects on older chips

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39847 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomac80211: add a few upstream fixes
nbd [Sun, 9 Mar 2014 08:53:31 +0000 (08:53 +0000)]
mac80211: add a few upstream fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39846 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotools: fix stampfile dependency handling when the list of build dirs changes (#15186)
nbd [Sat, 8 Mar 2014 17:15:45 +0000 (17:15 +0000)]
tools: fix stampfile dependency handling when the list of build dirs changes (#15186)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39845 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm47xx: explicitely mention MIPS to avoid confusion
florian [Sat, 8 Mar 2014 01:48:44 +0000 (01:48 +0000)]
brcm47xx: explicitely mention MIPS to avoid confusion

And while at it, fix the nomenclature, BCM947xx/953xx refer to specific boards,
while BCM47xx/BCM53xx refer to chip identification number.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39841 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: add alternative PKG_CONFIG_PATH
nbd [Fri, 7 Mar 2014 18:18:56 +0000 (18:18 +0000)]
build: add alternative PKG_CONFIG_PATH

This is a cryptographically signed message in MIME format.

udev Makefile.am has two different .pc files and put them
into two locations. Don't know if changing the udev Makefile
or changing the pkgconfig paths is the right way - someone
has to decide :)

udev and vala use an additional pkg-config dir
add it to the path

discovered because openobex did not find udev.pc

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39792 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: update to latest version, adds a bridge reload fix and fixes #15157
nbd [Fri, 7 Mar 2014 18:14:41 +0000 (18:14 +0000)]
netifd: update to latest version, adds a bridge reload fix and fixes #15157

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39791 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoadd preliminary 3.14 support
kaloz [Fri, 7 Mar 2014 11:27:00 +0000 (11:27 +0000)]
add preliminary 3.14 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39789 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: add support for wrtnode
blogic [Fri, 7 Mar 2014 09:54:59 +0000 (09:54 +0000)]
ralink: add support for wrtnode

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39786 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
cyrus [Fri, 7 Mar 2014 09:35:17 +0000 (09:35 +0000)]
odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39785 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agosunxi: update 3.13 defconfig to include lradc driver
wigyori [Thu, 6 Mar 2014 11:33:43 +0000 (11:33 +0000)]
sunxi: update 3.13 defconfig to include lradc driver

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39783 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agosunxi: driver refresh for 3.13
wigyori [Thu, 6 Mar 2014 00:09:30 +0000 (00:09 +0000)]
sunxi: driver refresh for 3.13
 - update gmac / mmc / usb / ahci drivers to follow mainline dev trees
 - add driver for spi
 - update clock support
 - update a31 support
 - move to new DT compats where appropriate
 - re-order patchqueue where needed
 - verified working a20 smp
 - move most DTSes off files/
 - update defconfig

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39782 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: add missing config symbols to 3.13
wigyori [Wed, 5 Mar 2014 23:32:00 +0000 (23:32 +0000)]
kernel: add missing config symbols to 3.13

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39781 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agosunxi: deprecate 3.12 support
wigyori [Wed, 5 Mar 2014 23:19:25 +0000 (23:19 +0000)]
sunxi: deprecate 3.12 support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39780 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouboot-sunxi: bump u-boot version
wigyori [Wed, 5 Mar 2014 23:16:18 +0000 (23:16 +0000)]
uboot-sunxi: bump u-boot version
 - update u-boot to 2014.01-rc1
 - smp support on a20

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39779 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: fix uImage build issue
nbd [Wed, 5 Mar 2014 17:37:43 +0000 (17:37 +0000)]
cns3xxx: fix uImage build issue

The uImage target will always fail on a clean build due to dependency issues.
Building the uImage isn't necessary anyway as its re-built with correct
entry points in image/Makefile so remove it.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39778 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: don't incorrectly announce up-status via ubus
cyrus [Wed, 5 Mar 2014 17:36:14 +0000 (17:36 +0000)]
netifd: don't incorrectly announce up-status via ubus

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39777 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcp6c: several fixes
cyrus [Wed, 5 Mar 2014 08:59:11 +0000 (08:59 +0000)]
odhcp6c: several fixes

* Reduce RA/DHCPv6 spam filter to 30s by default and make it configurable
* Don't set nd_ra_{reachable,retransmit] to 0 when received in RAs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39775 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm2708: update against latest rpi-3.10.y branch
florian [Fri, 28 Feb 2014 20:30:08 +0000 (20:30 +0000)]
brcm2708: update against latest rpi-3.10.y branch

Update our copies of the brcm2708 patches to the latest rpi-3.10-y
rebased against linux-3.10.y stable (3.10.32). This should hopefully
make it easier for us in the future to leverage the raspberry/rpi-*
branches.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39770 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm2708-gpu-fw: update to a newer version
florian [Fri, 28 Feb 2014 20:29:51 +0000 (20:29 +0000)]
brcm2708-gpu-fw: update to a newer version

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39769 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm2708: define KERNELNAME accordingly
florian [Fri, 28 Feb 2014 20:29:40 +0000 (20:29 +0000)]
brcm2708: define KERNELNAME accordingly

Define KERNELNAME to Image to get the build system to copy this image
over $(KDIR) automatically for us.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39768 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), shoul...
nbd [Fri, 28 Feb 2014 18:08:23 +0000 (18:08 +0000)]
ath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), should improve stability

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39767 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomac80211: declare missing config parameter mesh_id
nbd [Fri, 28 Feb 2014 18:08:16 +0000 (18:08 +0000)]
mac80211: declare missing config parameter mesh_id

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39766 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agohostapd: fix deletion of wds sta interfaces in AP mode
nbd [Fri, 28 Feb 2014 14:43:53 +0000 (14:43 +0000)]
hostapd: fix deletion of wds sta interfaces in AP mode

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39765 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: Add 16MB Flash version for Embedded Wireless Dorin Platform
nbd [Fri, 28 Feb 2014 11:08:14 +0000 (11:08 +0000)]
ar71xx: Add 16MB Flash version for Embedded Wireless Dorin Platform

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39764 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: adjust ew-dorin platform for LAN+WAN setup
nbd [Fri, 28 Feb 2014 11:08:04 +0000 (11:08 +0000)]
ar71xx: adjust ew-dorin platform for LAN+WAN setup

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39763 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: ethernet - clean up tx descs only when needed
nbd [Thu, 27 Feb 2014 23:02:43 +0000 (23:02 +0000)]
cns3xxx: ethernet - clean up tx descs only when needed

We already clean up tx descriptors in the napi eth_poll() function so it
would likely be rare to run out of available descriptors in eth_xmit. Thus
we can clean them up only when needed and return busy only when we
still don't have enough.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39762 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: ethernet - resolve SMP issue
nbd [Thu, 27 Feb 2014 23:02:37 +0000 (23:02 +0000)]
cns3xxx: ethernet - resolve SMP issue

The combination of r35942 and r35952 causes an issue where eth_schedule_poll()
can be called from a different CPU between the call to napi_complete() and the
setting of cur_index which can break the rx ring accounting and cause ethernet
latency and/or ethernet stalls.  The issue can be easilly created by adding
a couple of artificial delays such as:

@@ -715,6 +715,7 @@ static int eth_poll(struct napi_struct *napi, int budget)

  if (!received) {
  napi_complete(napi);
+udelay(1000);
  enable_irq(IRQ_CNS3XXX_SW_R0RXC);
  }

@@ -727,6 +728,7 @@ static int eth_poll(struct napi_struct *napi, int budget)
  rx_ring->cur_index = i;

  wmb();
+udelay(1000);
  enable_rx_dma(sw);

  return received;

This patch moves the setting of cur_index back up where it needs to be and
addresses the original corner case that r35942 was trying to catch in an
improved fashion by checking to see if the rx descriptor ring has become
full before interrupts were re-enabled so that a poll can be scheduled again
and avoid an rx stall caused by rx interrupts ceasing to fire again.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39761 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoimx6: optimize for NEON FPU hardware
luka [Thu, 27 Feb 2014 22:41:40 +0000 (22:41 +0000)]
imx6: optimize for NEON FPU hardware

The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware
blocks.  This will tune gcc to use neon instead of vfpv3 which will outperform
VFPv3.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39760 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoimx6: enable FPU for hard float
luka [Thu, 27 Feb 2014 22:41:39 +0000 (22:41 +0000)]
imx6: enable FPU for hard float

The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which
in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration.
As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu
to the feature list.  This will default the IMX6 target to use -mfloat-abi=hard
which will the be most efficient use of floating point.

When switching to hard float, we also need to enable VFP support in the kernel.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39759 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath5k: fix enabling 5/10 mhz channel bandwidth support
nbd [Thu, 27 Feb 2014 21:36:28 +0000 (21:36 +0000)]
ath5k: fix enabling 5/10 mhz channel bandwidth support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39758 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)
cyrus [Thu, 27 Feb 2014 12:42:38 +0000 (12:42 +0000)]
netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39757 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agorealview: fix zImage-initramfs installation
florian [Thu, 27 Feb 2014 00:12:53 +0000 (00:12 +0000)]
realview: fix zImage-initramfs installation

We were copying the actual vmlinux-initramfs.elf kernel which cannot be
launched by QEMU or a real bootloader, use zImage-initramfs instead.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39756 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: don't always assume addrs & routes are applied
cyrus [Wed, 26 Feb 2014 13:27:32 +0000 (13:27 +0000)]
netifd: don't always assume addrs & routes are applied

netifd didn't check the netlink return values and kept assuming
routes are in place even if they weren't

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39755 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomusl: move the dependency on BROKEN to the right config symbol
nbd [Wed, 26 Feb 2014 12:13:02 +0000 (12:13 +0000)]
musl: move the dependency on BROKEN to the right config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39754 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobroadcom-diag: fix compile
hauke [Tue, 25 Feb 2014 22:52:33 +0000 (22:52 +0000)]
broadcom-diag: fix compile

BCM47XX_BOARD_LINKSYS_WRT54G was renamed in r39718

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39753 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: fix failsafe acces on several devices
juhosg [Tue, 25 Feb 2014 17:40:04 +0000 (17:40 +0000)]
ar71xx: fix failsafe acces on several devices

The ar71xx platform always uses the eth0 interface to provide
access to the device in failsafe mode. Due to this, failsafe
access is broken on devices where the LAN ports are connected
to the 'eth1' interface.

Update the relevant script to correctly set the ifname variable
for these devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39752 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoath9k: add fixes for rx processing and baseband hang detection
nbd [Tue, 25 Feb 2014 10:27:02 +0000 (10:27 +0000)]
ath9k: add fixes for rx processing and baseband hang detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39751 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotoolchain/musl: add version 0.9.15, remove older versions (still broken, but closer...
nbd [Mon, 24 Feb 2014 21:10:11 +0000 (21:10 +0000)]
toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer to being functional than before)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39750 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogcc: fix visibility of symbols libgcc.a
nbd [Mon, 24 Feb 2014 21:09:37 +0000 (21:09 +0000)]
gcc: fix visibility of symbols libgcc.a

Symbols need to be hidden, even for the static variant

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39749 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopenssl: use termios instead of termio
nbd [Mon, 24 Feb 2014 21:09:03 +0000 (21:09 +0000)]
openssl: use termios instead of termio

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39748 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibnl-tiny: fix include path to poll.h
nbd [Mon, 24 Feb 2014 21:08:28 +0000 (21:08 +0000)]
libnl-tiny: fix include path to poll.h

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39747 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: add preliminary support for 3.13
jogo [Mon, 24 Feb 2014 15:54:12 +0000 (15:54 +0000)]
brcm63xx: add preliminary support for 3.13

Add support for 3.13 as a development kernel. Mostly untested, only net
booted. If flashed may brick your router or kill your cat.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39746 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: add missing config symbol to 3.13
jogo [Mon, 24 Feb 2014 15:53:58 +0000 (15:53 +0000)]
kernel: add missing config symbol to 3.13

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39745 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoeglibc: use version 2.19 by default (lots of fixes, some security related)
nbd [Mon, 24 Feb 2014 15:35:14 +0000 (15:35 +0000)]
eglibc: use version 2.19 by default (lots of fixes, some security related)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39744 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoeglibc: remove versions 2.16 and 2.17 - they are unmaintained
nbd [Mon, 24 Feb 2014 15:35:10 +0000 (15:35 +0000)]
eglibc: remove versions 2.16 and 2.17 - they are unmaintained

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39743 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoeglibc: add version 2.19
nbd [Mon, 24 Feb 2014 15:35:07 +0000 (15:35 +0000)]
eglibc: add version 2.19

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39742 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agohostapd: link against librt if eglibc is used
nbd [Mon, 24 Feb 2014 15:03:06 +0000 (15:03 +0000)]
hostapd: link against librt if eglibc is used

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39741 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcpd: avoid the unspecificed address being advertised as DNS
cyrus [Mon, 24 Feb 2014 13:37:11 +0000 (13:37 +0000)]
odhcpd: avoid the unspecificed address being advertised as DNS

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39740 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcpd: fix DNS-server and MSR-entries in RA
cyrus [Mon, 24 Feb 2014 13:33:45 +0000 (13:33 +0000)]
odhcpd: fix DNS-server and MSR-entries in RA

Similarly to the previously broken address pools, DNS-servers and some
MSRs could be advertised incorrectly as well. This is now fixed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39739 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agousbreset: fix possible access to uninitialized variable (#15041)
jow [Sun, 23 Feb 2014 23:42:12 +0000 (23:42 +0000)]
usbreset: fix possible access to uninitialized variable (#15041)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39738 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/rdc: remove old kernel config
juhosg [Sun, 23 Feb 2014 21:16:04 +0000 (21:16 +0000)]
x86/rdc: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39737 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/rdc: switch to 3.10 and add broken flag
juhosg [Sun, 23 Feb 2014 21:16:03 +0000 (21:16 +0000)]
x86/rdc: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39736 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/rdc: add config for 3.10
juhosg [Sun, 23 Feb 2014 21:16:02 +0000 (21:16 +0000)]
x86/rdc: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39735 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86: fix MTD API usage in the RDC specific board patch
juhosg [Sun, 23 Feb 2014 21:15:56 +0000 (21:15 +0000)]
x86: fix MTD API usage in the RDC specific board patch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39734 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm47xx: b44: some fixes in combination with the switch
hauke [Sun, 23 Feb 2014 18:51:56 +0000 (18:51 +0000)]
brcm47xx: b44: some fixes in combination with the switch

Let the switch start the carrier and set the duplex mode independently
if this nic is up of not.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39733 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/olpc: remove old kernel config
juhosg [Sun, 23 Feb 2014 18:20:32 +0000 (18:20 +0000)]
x86/olpc: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39732 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86/olpc: switch to 3.10 and add broken flag
juhosg [Sun, 23 Feb 2014 18:20:30 +0000 (18:20 +0000)]
x86/olpc: switch to 3.10 and add broken flag

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39731 3c298f89-4303-0410-b956-a3cf2f4a3e73