Commit Graph

29487 Commits (23f85fd38b4524bd06f2067b12c1164e8d0f355f)

Author SHA1 Message Date
Felix Fietkau 23f85fd38b 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
2014-03-05 17:37:43 +00:00
Steven Barth f51d6fbcbd 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
2014-03-05 17:36:14 +00:00
Steven Barth 9d76b8de22 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
2014-03-05 08:59:11 +00:00
Florian Fainelli 800930b924 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
2014-02-28 20:30:08 +00:00
Florian Fainelli 68c939ba0b 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
2014-02-28 20:29:51 +00:00
Florian Fainelli 6881251b74 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
2014-02-28 20:29:40 +00:00
Felix Fietkau 44de5c8d01 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
2014-02-28 18:08:23 +00:00
Felix Fietkau e6fbcf4df8 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
2014-02-28 18:08:16 +00:00
Felix Fietkau cb82ccb277 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
2014-02-28 14:43:53 +00:00
Felix Fietkau dd89412cf3 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
2014-02-28 11:08:14 +00:00
Felix Fietkau d3de0b95a5 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
2014-02-28 11:08:04 +00:00
Felix Fietkau cad7ddfdc0 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
2014-02-27 23:02:43 +00:00
Felix Fietkau cc53fad006 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
2014-02-27 23:02:37 +00:00
Luka Perkov 6531bde627 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
2014-02-27 22:41:40 +00:00
Luka Perkov 8a1b7ef11b 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
2014-02-27 22:41:39 +00:00
Felix Fietkau c7c11c726c 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
2014-02-27 21:36:28 +00:00
Steven Barth bffbf4f2fc 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
2014-02-27 12:42:38 +00:00
Florian Fainelli 444bf4692d 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
2014-02-27 00:12:53 +00:00
Steven Barth c71d1c05ca 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
2014-02-26 13:27:32 +00:00
Felix Fietkau cda03f85e8 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
2014-02-26 12:13:02 +00:00
Hauke Mehrtens 02fea308ab 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
2014-02-25 22:52:33 +00:00
Gabor Juhos d159681db3 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
2014-02-25 17:40:04 +00:00
Felix Fietkau 12ed30907b 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
2014-02-25 10:27:02 +00:00
Felix Fietkau 58d22ab8a4 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
2014-02-24 21:10:11 +00:00
Felix Fietkau 2c60412f00 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
2014-02-24 21:09:37 +00:00
Felix Fietkau ef48b885cf 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
2014-02-24 21:09:03 +00:00
Felix Fietkau d67d2eac0c 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
2014-02-24 21:08:28 +00:00
Jonas Gorski a12344deba 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
2014-02-24 15:54:12 +00:00
Jonas Gorski 59a0804879 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
2014-02-24 15:53:58 +00:00
Felix Fietkau d9f5ee5c27 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
2014-02-24 15:35:14 +00:00
Felix Fietkau 21199ede76 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
2014-02-24 15:35:10 +00:00
Felix Fietkau c65ae46030 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
2014-02-24 15:35:07 +00:00
Felix Fietkau 314909f7c0 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
2014-02-24 15:03:06 +00:00
Steven Barth 97815a6e18 odhcpd: avoid the unspecificed address being advertised as DNS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 13:37:11 +00:00
Steven Barth 884cd62669 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
2014-02-24 13:33:45 +00:00
Jo-Philipp Wich b9e03b404d 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
2014-02-23 23:42:12 +00:00
Gabor Juhos ee97389a05 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
2014-02-23 21:16:04 +00:00
Gabor Juhos 0bbf91ef94 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
2014-02-23 21:16:03 +00:00
Gabor Juhos 4f2ce6b459 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
2014-02-23 21:16:02 +00:00
Gabor Juhos 2a64d74975 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
2014-02-23 21:15:56 +00:00
Hauke Mehrtens 440059423a 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
2014-02-23 18:51:56 +00:00
Gabor Juhos b957a0bd25 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
2014-02-23 18:20:32 +00:00
Gabor Juhos a39943e2fc 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
2014-02-23 18:20:30 +00:00
Gabor Juhos 8fc4006e87 x86/olpc: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 18:20:29 +00:00
Gabor Juhos 66cb4b9767 x86/net5501: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 18:09:33 +00:00
Gabor Juhos 1a0d00ad55 x86/net5501: 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@39728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 18:09:32 +00:00
Gabor Juhos cbad92e109 x86/net5501: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 18:09:31 +00:00
Felix Fietkau 1897d563e5 ubus: update to latest version, fixes lua binding issues and adds fd passing support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:26 +00:00
Felix Fietkau 567c7f470e libubox: update to latest version, improves uloop error handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:22 +00:00
Felix Fietkau 8b72b267cc procd: depend on libubox directly to rebuild on ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:18 +00:00