openwrt/staging/luka.git
10 years agoubox: update to latest git head
John Crispin [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>
SVN-Revision: 39898

10 years agoubus: update to latest git HEAD
John Crispin [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>
SVN-Revision: 39897

10 years agoralink: add missing clk_set_rate()
John Crispin [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>
SVN-Revision: 39896

10 years agofstools: add the new fstools package
John Crispin [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>
SVN-Revision: 39895

10 years agoAdd GW2385 support
Imre Kaloz [Wed, 12 Mar 2014 13:40:13 +0000 (13:40 +0000)]
Add GW2385 support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39894

10 years agoadd GW2375 support
Imre Kaloz [Wed, 12 Mar 2014 13:39:06 +0000 (13:39 +0000)]
add GW2375 support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39893

10 years agovarious dwc (OTG) driver fixups
Imre Kaloz [Wed, 12 Mar 2014 13:37:40 +0000 (13:37 +0000)]
various dwc (OTG) driver fixups

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39892

10 years agoar71xx: rb95x: use correct SPI flash address
Gabor Juhos [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>
SVN-Revision: 39891

10 years agoar71xx: ar934x_nfc: fix memory initialization bug
Gabor Juhos [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>
SVN-Revision: 39890

10 years agogrub2: update to 2.02-beta2, fixes mac os x 10.9 support (and many other things)
Felix Fietkau [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>
SVN-Revision: 39889

10 years agoflex: fix build error due to undefined library symbols
Felix Fietkau [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>
SVN-Revision: 39888

10 years agoath9k: merge an aggregation related fix
Felix Fietkau [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>
SVN-Revision: 39886

10 years agoopenssl: Fix x86_64 build on some 64bit host systems
Felix Fietkau [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>
SVN-Revision: 39885

10 years agoath9k: further improvements to noise immunity handling on older chips
Felix Fietkau [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>
SVN-Revision: 39879

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

SVN-Revision: 39878

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

SVN-Revision: 39877

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

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

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

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

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

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

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

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

10 years agoopenvpn: make size optimization configurable
Felix Fietkau [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>
SVN-Revision: 39872

10 years agonetifd: update to latest version, includes interface handling fixes by Hans Dedecker
Felix Fietkau [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>
SVN-Revision: 39870

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

SVN-Revision: 39868

10 years agoath9k: add another ANI fix for older chipsets
Felix Fietkau [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>
SVN-Revision: 39865

10 years agotarget/sdk: generate a Config.in file with the settings of the build that the SDK...
Felix Fietkau [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>
SVN-Revision: 39864

10 years agotarget/sdk: remove obsolete compatibility makefiles
Felix Fietkau [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>
SVN-Revision: 39863

10 years agoscripts/config: make wildcard include with no results non-fatal
Felix Fietkau [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>
SVN-Revision: 39862

10 years agotarget/sdk: remove obsolete exclude line
Felix Fietkau [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>
SVN-Revision: 39861

10 years agotoolchain/gcc: use 4.8-linaro by default
Felix Fietkau [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>
SVN-Revision: 39860

10 years agotarget/sdk: remove some unnecessary files
Felix Fietkau [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>
SVN-Revision: 39859

10 years agotarget/sdk: add support for building kernel module packages
Felix Fietkau [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>
SVN-Revision: 39858

10 years agobuild: add a variable for the name of the {build,staging}_dir/{target,toolchain}...
Felix Fietkau [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>
SVN-Revision: 39857

10 years agoflex: upgrade to version 2.5.38
Luka Perkov [Mon, 10 Mar 2014 01:26:14 +0000 (01:26 +0000)]
flex: upgrade to version 2.5.38

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39856

10 years agokernel/generic: drop already upstreamed patch
Luka Perkov [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>
SVN-Revision: 39855

10 years agoiproute2: add ip-full variant to disable IP_CONFIG_TINY
Felix Fietkau [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>
SVN-Revision: 39854

10 years agoopenssl: update to 1.0.1f
Felix Fietkau [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>
SVN-Revision: 39853

10 years agoopenssl: detect configuration changes and clean build tree accordingly (fixes #15067)
Felix Fietkau [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>
SVN-Revision: 39852

10 years agoopenssl: move make depend call to Build/Configure
Felix Fietkau [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>
SVN-Revision: 39851

10 years agobuild: include iwinfo by default if nas or wpad(-mini) is selected
Felix Fietkau [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>
SVN-Revision: 39850

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

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

10 years agoath9k: fix tx queue configuration for buffered multicast frames
Felix Fietkau [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>
SVN-Revision: 39848

10 years agoath9k: further reduce false baseband hang detects on older chips
Felix Fietkau [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>
SVN-Revision: 39847

10 years agomac80211: add a few upstream fixes
Felix Fietkau [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>
SVN-Revision: 39846

10 years agotools: fix stampfile dependency handling when the list of build dirs changes (#15186)
Felix Fietkau [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>
SVN-Revision: 39845

10 years agobrcm47xx: explicitely mention MIPS to avoid confusion
Florian Fainelli [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>
SVN-Revision: 39841

10 years agobuild: add alternative PKG_CONFIG_PATH
Felix Fietkau [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>
SVN-Revision: 39792

10 years agonetifd: update to latest version, adds a bridge reload fix and fixes #15157
Felix Fietkau [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>
SVN-Revision: 39791

10 years agoadd preliminary 3.14 support
Imre 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>
SVN-Revision: 39789

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

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

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

SVN-Revision: 39785

10 years agosunxi: update 3.13 defconfig to include lradc driver
Zoltan Herpai [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>
SVN-Revision: 39783

10 years agosunxi: driver refresh for 3.13 - update gmac / mmc / usb / ahci drivers to follow...
Zoltan Herpai [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>
SVN-Revision: 39782

10 years agokernel: add missing config symbols to 3.13
Zoltan Herpai [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>
SVN-Revision: 39781

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

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

10 years agouboot-sunxi: bump u-boot version - update u-boot to 2014.01-rc1 - smp support on a20
Zoltan Herpai [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>
SVN-Revision: 39779

10 years agocns3xxx: fix uImage build issue
Felix Fietkau [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>
SVN-Revision: 39778

10 years agonetifd: don't incorrectly announce up-status via ubus
Steven Barth [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>
SVN-Revision: 39777

10 years agoodhcp6c: several fixes
Steven Barth [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

SVN-Revision: 39775

10 years agobrcm2708: update against latest rpi-3.10.y branch
Florian Fainelli [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>
SVN-Revision: 39770

10 years agobrcm2708-gpu-fw: update to a newer version
Florian Fainelli [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>
SVN-Revision: 39769

10 years agobrcm2708: define KERNELNAME accordingly
Florian Fainelli [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>
SVN-Revision: 39768

10 years agoath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), shoul...
Felix Fietkau [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>
SVN-Revision: 39767

10 years agomac80211: declare missing config parameter mesh_id
Felix Fietkau [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>
SVN-Revision: 39766

10 years agohostapd: fix deletion of wds sta interfaces in AP mode
Felix Fietkau [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>
SVN-Revision: 39765

10 years agoar71xx: Add 16MB Flash version for Embedded Wireless Dorin Platform
Felix Fietkau [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>
SVN-Revision: 39764

10 years agoar71xx: adjust ew-dorin platform for LAN+WAN setup
Felix Fietkau [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>
SVN-Revision: 39763

10 years agocns3xxx: ethernet - clean up tx descs only when needed
Felix Fietkau [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>
SVN-Revision: 39762

10 years agocns3xxx: ethernet - resolve SMP issue
Felix Fietkau [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>
SVN-Revision: 39761

10 years agoimx6: optimize for NEON FPU hardware
Luka Perkov [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>
SVN-Revision: 39760

10 years agoimx6: enable FPU for hard float
Luka Perkov [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>
SVN-Revision: 39759

10 years agoath5k: fix enabling 5/10 mhz channel bandwidth support
Felix Fietkau [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>
SVN-Revision: 39758

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

SVN-Revision: 39757

10 years agorealview: fix zImage-initramfs installation
Florian Fainelli [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>
SVN-Revision: 39756

10 years agonetifd: don't always assume addrs & routes are applied
Steven Barth [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

SVN-Revision: 39755

10 years agomusl: move the dependency on BROKEN to the right config symbol
Felix Fietkau [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>
SVN-Revision: 39754

10 years agobroadcom-diag: fix compile
Hauke Mehrtens [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>
SVN-Revision: 39753

10 years agoar71xx: fix failsafe acces on several devices
Gabor Juhos [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>
SVN-Revision: 39752

10 years agoath9k: add fixes for rx processing and baseband hang detection
Felix Fietkau [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>
SVN-Revision: 39751

10 years agotoolchain/musl: add version 0.9.15, remove older versions (still broken, but closer...
Felix Fietkau [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>
SVN-Revision: 39750

10 years agogcc: fix visibility of symbols libgcc.a
Felix Fietkau [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>
SVN-Revision: 39749

10 years agoopenssl: use termios instead of termio
Felix Fietkau [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>
SVN-Revision: 39748

10 years agolibnl-tiny: fix include path to poll.h
Felix Fietkau [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>
SVN-Revision: 39747

10 years agobrcm63xx: add preliminary support for 3.13
Jonas Gorski [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>
SVN-Revision: 39746

10 years agokernel: add missing config symbol to 3.13
Jonas Gorski [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>
SVN-Revision: 39745

10 years agoeglibc: use version 2.19 by default (lots of fixes, some security related)
Felix Fietkau [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>
SVN-Revision: 39744

10 years agoeglibc: remove versions 2.16 and 2.17 - they are unmaintained
Felix Fietkau [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>
SVN-Revision: 39743

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

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

10 years agohostapd: link against librt if eglibc is used
Felix Fietkau [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>
SVN-Revision: 39741

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

SVN-Revision: 39740

10 years agoodhcpd: fix DNS-server and MSR-entries in RA
Steven Barth [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.

SVN-Revision: 39739

10 years agousbreset: fix possible access to uninitialized variable (#15041)
Jo-Philipp Wich [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>
SVN-Revision: 39738

10 years agox86/rdc: remove old kernel config
Gabor Juhos [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>
SVN-Revision: 39737

10 years agox86/rdc: switch to 3.10 and add broken flag
Gabor Juhos [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>
SVN-Revision: 39736

10 years agox86/rdc: add config for 3.10
Gabor Juhos [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>
SVN-Revision: 39735

10 years agox86: fix MTD API usage in the RDC specific board patch
Gabor Juhos [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>
SVN-Revision: 39734

10 years agobrcm47xx: b44: some fixes in combination with the switch
Hauke Mehrtens [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>
SVN-Revision: 39733

10 years agox86/olpc: remove old kernel config
Gabor Juhos [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>
SVN-Revision: 39732

10 years agox86/olpc: switch to 3.10 and add broken flag
Gabor Juhos [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>
SVN-Revision: 39731

10 years agox86/olpc: add config for 3.10
Gabor Juhos [Sun, 23 Feb 2014 18:20:29 +0000 (18:20 +0000)]
x86/olpc: add config for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39730

10 years agox86/net5501: remove old kernel config
Gabor Juhos [Sun, 23 Feb 2014 18:09:33 +0000 (18:09 +0000)]
x86/net5501: remove old kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39729