openwrt/staging/florian.git
9 years agomodules: add 6LoWPAN over Bluetooth Low Energy
John Crispin [Fri, 23 Jan 2015 12:32:36 +0000 (12:32 +0000)]
modules: add 6LoWPAN over Bluetooth Low Energy

Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18.
Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN.
Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy.

Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44084

9 years agolantiq: correct value for fpi clock on ar9
John Crispin [Fri, 23 Jan 2015 12:32:28 +0000 (12:32 +0000)]
lantiq: correct value for fpi clock on ar9

This adds a patch to target/linux/lantiq/patches-3.14
fixing a bug clock code on ar9. The current version returns
the wrong value for the fpi clock frequency in some
cases.

See discussion for further details:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html

I'm not sure about the patch naming and numbering convention.
Do please let me know it this is not OK.

Many thanks,

Ben Mulvihill

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 44083

9 years agogmp: use http instead of ftp download (#18805)
Felix Fietkau [Fri, 23 Jan 2015 10:54:56 +0000 (10:54 +0000)]
gmp: use http instead of ftp download (#18805)

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

9 years agoubus: update to the latest version
Felix Fietkau [Fri, 23 Jan 2015 10:54:52 +0000 (10:54 +0000)]
ubus: update to the latest version

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

9 years agolibubox: update to the latest version
Felix Fietkau [Fri, 23 Jan 2015 10:54:45 +0000 (10:54 +0000)]
libubox: update to the latest version

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

9 years agobuild: revert r44076
John Crispin [Thu, 22 Jan 2015 13:13:09 +0000 (13:13 +0000)]
build: revert r44076

the patch causes issues when installing feeds

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

9 years agoar71xx: add support for the UniFi AP Outdoor Plus
John Crispin [Thu, 22 Jan 2015 09:35:46 +0000 (09:35 +0000)]
ar71xx: add support for the UniFi AP Outdoor Plus

the GPIO controlling the rf filter is not configured properly by this patch.

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

9 years agobuild: allow openwrt.git packages to be replaced by feeds
John Crispin [Thu, 22 Jan 2015 09:35:40 +0000 (09:35 +0000)]
build: allow openwrt.git packages to be replaced by feeds

Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).

With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"

This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44076

9 years agomodules: f2fs: enable support for xattr
John Crispin [Thu, 22 Jan 2015 09:35:35 +0000 (09:35 +0000)]
modules: f2fs: enable support for xattr

To use overlayfs on f2fs, xattr needs to be supported.

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

9 years agomodules: f2fs: add missing symbols for 3.18
John Crispin [Thu, 22 Jan 2015 09:35:29 +0000 (09:35 +0000)]
modules: f2fs: add missing symbols for 3.18

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

9 years agoramips: add support for Tenda 3G150B
John Crispin [Thu, 22 Jan 2015 09:35:22 +0000 (09:35 +0000)]
ramips: add support for Tenda 3G150B

Add suport for Tenda 3G150B:
- cpu: Ralink RT5350F
- flash: 4MB
- ram: 32MB
- 1x USB 2.0
- 1x RJ45
- one reset button
- battery powered (BP-4L, 3.7V 1450mAh)

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

9 years agoramips: improve and fix Memory 2 Move support
John Crispin [Thu, 22 Jan 2015 09:35:12 +0000 (09:35 +0000)]
ramips: improve and fix Memory 2 Move support

This patch is a follow up for my previous patch:
"ramips: add support for Intenso Memory 2 Move USB 3.0".

It fixes a couple of errors in the DTS (one of which broke
the gpio-buttons). The kmod-leds-gpio dependency has been
dropped as it is already part of the ramips target.

Furthermore the ramdisk/uImage image is generated by default
for the rt3050 subtarget. This image is needed to flash
OpenWrt for the first time onto the device via TFTP.

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

9 years agomcs814x: document how to include 3rd party binary packages
Florian Fainelli [Wed, 21 Jan 2015 23:55:11 +0000 (23:55 +0000)]
mcs814x: document how to include 3rd party binary packages

The dLAN USB Extender profile was referecing binary packages which are not to
be included in any of the source-only feeds. Instead remove these references
and document how to use the 3rd party feed.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 44071

9 years agobcm53xx: backport official Buffalo WZR-900DHP patch
Rafał Miłecki [Wed, 21 Jan 2015 07:23:31 +0000 (07:23 +0000)]
bcm53xx: backport official Buffalo WZR-900DHP patch

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

9 years agobcm53xx: backport spi-nor changes to add gd25q128 support
Rafał Miłecki [Wed, 21 Jan 2015 06:53:15 +0000 (06:53 +0000)]
bcm53xx: backport spi-nor changes to add gd25q128 support

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

9 years agomodules: install the newly introduced grace.ko in nfs-common in 3.18
Zoltan Herpai [Tue, 20 Jan 2015 23:49:44 +0000 (23:49 +0000)]
modules: install the newly introduced grace.ko in nfs-common in 3.18

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

9 years agopackages: uboot-sunxi: add support for Lamobo R1
Zoltan Herpai [Tue, 20 Jan 2015 22:50:52 +0000 (22:50 +0000)]
packages: uboot-sunxi: add support for Lamobo R1

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

9 years agopackages: uboot-sunxi: fix GMAC TX delay for Bananapi
Zoltan Herpai [Tue, 20 Jan 2015 22:49:47 +0000 (22:49 +0000)]
packages: uboot-sunxi: fix GMAC TX delay for Bananapi

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

9 years agoar71xx: add support for TL-WA701ND v2
John Crispin [Tue, 20 Jan 2015 15:48:07 +0000 (15:48 +0000)]
ar71xx: add support for TL-WA701ND v2

Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>
SVN-Revision: 44063

9 years agonftables: bump for minor fixes
Steven Barth [Tue, 20 Jan 2015 13:42:47 +0000 (13:42 +0000)]
nftables: bump for minor fixes

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44062

9 years agopolarssl: patch CVE-2015-1182
Jo-Philipp Wich [Tue, 20 Jan 2015 12:49:54 +0000 (12:49 +0000)]
polarssl: patch CVE-2015-1182

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

9 years agobcm53xx: use final (backported) patch fixing serial console
Rafał Miłecki [Tue, 20 Jan 2015 08:04:27 +0000 (08:04 +0000)]
bcm53xx: use final (backported) patch fixing serial console

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

9 years agobcm53xx: backport 3 BCM5301X patches from Hauke repo
Rafał Miłecki [Tue, 20 Jan 2015 07:21:30 +0000 (07:21 +0000)]
bcm53xx: backport 3 BCM5301X patches from Hauke repo

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

9 years agobcm53xx: rename patches modifying DTS files
Rafał Miłecki [Tue, 20 Jan 2015 06:58:03 +0000 (06:58 +0000)]
bcm53xx: rename patches modifying DTS files

Ths will allow us to use early 3xx numbers for patches designed for
sending mainline.

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

9 years agobase-files: Use 200ms LED timing as before for the new phase preinit_regular.
John Crispin [Tue, 20 Jan 2015 06:54:53 +0000 (06:54 +0000)]
base-files: Use 200ms LED timing as before for the new phase preinit_regular.

This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting.

Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting.

So no existing user will be scared by a new 500ms LED pattern, since such a slow pattern could easily be mistaken for something wrong... I was like "ok why my router is collapsing now, is this a bad flash, a kernel panic, or what else" when I've seen it for the first time ;)

Sorry for not having explained myself better in v1 of this patch.

Original:
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 200ms
Failsafe entered: 50ms

Now (after preinit_regular has been introduced):
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 500ms *here is the "offending" change*
Failsafe entered: 50ms

With my proposed patch:
Preinit, failsafe is possible: 100ms *indicate this condition with a new timing, that prompts the user to press the key if they want to start failsafe*
Preinit, failsafe not possible anymore, booting normally: 200ms *keep this as before*
Failsafe entered: 50ms

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 44056

9 years agoralink: add support for firewrt
John Crispin [Tue, 20 Jan 2015 06:34:28 +0000 (06:34 +0000)]
ralink: add support for firewrt

this is a mt7621 based board

Signed-off-by: wengbj <linux.c@foxmail.com>
SVN-Revision: 44055

9 years agocomgt: Allow using non-TTY devices
John Crispin [Tue, 20 Jan 2015 06:33:49 +0000 (06:33 +0000)]
comgt: Allow using non-TTY devices

Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.

v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44054

9 years agouclient: update to the latest version with timeout support
Rafał Miłecki [Mon, 19 Jan 2015 16:02:59 +0000 (16:02 +0000)]
uclient: update to the latest version with timeout support

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

9 years agolibubox: update to the latest commit with JSON and usock fixes
Rafał Miłecki [Mon, 19 Jan 2015 15:56:06 +0000 (15:56 +0000)]
libubox: update to the latest commit with JSON and usock fixes

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

9 years agobcm53xx: add support/firmware for Asus RT-AC87U
Rafał Miłecki [Mon, 19 Jan 2015 11:05:22 +0000 (11:05 +0000)]
bcm53xx: add support/firmware for Asus RT-AC87U

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

9 years agonetifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)
Steven Barth [Mon, 19 Jan 2015 08:39:04 +0000 (08:39 +0000)]
netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44050

9 years agopackages: uboot-sunxi: uEnv is used as a script rather than default env
Zoltan Herpai [Mon, 19 Jan 2015 00:00:57 +0000 (00:00 +0000)]
packages: uboot-sunxi: uEnv is used as a script rather than default env

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

9 years agoralink: fix ethernet rx buffer size breakage
Felix Fietkau [Sun, 18 Jan 2015 20:17:41 +0000 (20:17 +0000)]
ralink: fix ethernet rx buffer size breakage

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

9 years agoralink: improve check rx sg function. use check frags instead of function call
Felix Fietkau [Sun, 18 Jan 2015 20:17:28 +0000 (20:17 +0000)]
ralink: improve check rx sg function. use check frags instead of function call

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44046

9 years agoralink: correct handle hardware rx 2bytes offset
Felix Fietkau [Sun, 18 Jan 2015 20:17:18 +0000 (20:17 +0000)]
ralink: correct handle hardware rx 2bytes offset

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44045

9 years agoralink: use fe_reset to control all reset
Felix Fietkau [Sun, 18 Jan 2015 20:17:07 +0000 (20:17 +0000)]
ralink: use fe_reset to control all reset

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44044

9 years agoralink: improve tx_timeout function
Felix Fietkau [Sun, 18 Jan 2015 20:16:50 +0000 (20:16 +0000)]
ralink: improve tx_timeout function

* use default timeout value
* print more debug ring info
* move timeout reset function to workqueue

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44043

9 years agoralink: add ethernet fe and esw reset control bit
Felix Fietkau [Sun, 18 Jan 2015 20:16:44 +0000 (20:16 +0000)]
ralink: add ethernet fe and esw reset control bit

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44042

9 years agoralink: reduce access to uncached tx/rx dma ring buffer
Felix Fietkau [Sun, 18 Jan 2015 20:16:35 +0000 (20:16 +0000)]
ralink: reduce access to uncached tx/rx dma ring buffer

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44041

9 years agosunxi: update Olimex A13 SOM profile
Zoltan Herpai [Sun, 18 Jan 2015 16:58:35 +0000 (16:58 +0000)]
sunxi: update Olimex A13 SOM profile

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

9 years agopackages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk
Zoltan Herpai [Sun, 18 Jan 2015 16:56:08 +0000 (16:56 +0000)]
packages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk

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

9 years agopackages: uboot-sunxi: remove unused Hackberry target
Zoltan Herpai [Sun, 18 Jan 2015 16:47:50 +0000 (16:47 +0000)]
packages: uboot-sunxi: remove unused Hackberry target

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

9 years agouboot-envtools: fix Linksys EA3500 env size
Luka Perkov [Sun, 18 Jan 2015 16:45:11 +0000 (16:45 +0000)]
uboot-envtools: fix Linksys EA3500 env size

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 44037

9 years agokirkwood: enable switch on Linksys EA3500
Luka Perkov [Sun, 18 Jan 2015 16:45:01 +0000 (16:45 +0000)]
kirkwood: enable switch on Linksys EA3500

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 44036

9 years agopackages: update uboot-sunxi to 2015.01
Zoltan Herpai [Sun, 18 Jan 2015 16:42:42 +0000 (16:42 +0000)]
packages: update uboot-sunxi to 2015.01

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

9 years agokernel: add missing config symbol for 3.18
Zoltan Herpai [Sun, 18 Jan 2015 14:28:13 +0000 (14:28 +0000)]
kernel: add missing config symbol for 3.18

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

9 years agomac80211: add throughput trigger to ath10k
John Crispin [Sun, 18 Jan 2015 10:26:57 +0000 (10:26 +0000)]
mac80211: add throughput trigger to ath10k

add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
SVN-Revision: 44033

9 years agolantiq: DGN3500 cleanups
John Crispin [Sun, 18 Jan 2015 09:41:04 +0000 (09:41 +0000)]
lantiq: DGN3500 cleanups

This patch builds on the previous three to streamline support for the
Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44032

9 years agolantiq: Restore call to orphaned etop function
John Crispin [Sun, 18 Jan 2015 09:40:58 +0000 (09:40 +0000)]
lantiq: Restore call to orphaned etop function

It seems the call to ltq_get_eth_mac() disappeared at some point. This
patch puts it where it currently most makes sense.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44031

9 years agokernel: preserve bootloader command line on MIPS
John Crispin [Sun, 18 Jan 2015 09:40:53 +0000 (09:40 +0000)]
kernel: preserve bootloader command line on MIPS

Somewhere in the conversion of the MIPS architecture code to Device Tree
usage, there's been a failure to keep the separate variables holding the
kernel command line reconciled between the tree and the bootloader. This
patch restores previous functionality that broke.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44030

9 years agolantiq: Fix initscript issue
John Crispin [Sun, 18 Jan 2015 09:40:47 +0000 (09:40 +0000)]
lantiq: Fix initscript issue

Currently this initscript fails if the macaddr has any leading zeroes.
This patch corrects the problem.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44029

9 years agoramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
Felix Fietkau [Sun, 18 Jan 2015 09:25:49 +0000 (09:25 +0000)]
ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages

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

9 years agoramips: add mt7621 cpu feature overrides
Felix Fietkau [Sun, 18 Jan 2015 09:25:43 +0000 (09:25 +0000)]
ramips: add mt7621 cpu feature overrides

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

9 years agokernel: add missing config symbol
Felix Fietkau [Sun, 18 Jan 2015 09:25:38 +0000 (09:25 +0000)]
kernel: add missing config symbol

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

9 years agoramips: refresh kernel patches
Felix Fietkau [Sun, 18 Jan 2015 09:25:32 +0000 (09:25 +0000)]
ramips: refresh kernel patches

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

9 years agokernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled
Felix Fietkau [Sun, 18 Jan 2015 09:25:27 +0000 (09:25 +0000)]
kernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled

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

9 years agoar8216: display flow control info in swconfig get_link in case of autonegatiation too
Felix Fietkau [Sun, 18 Jan 2015 00:54:06 +0000 (00:54 +0000)]
ar8216: display flow control info in swconfig get_link in case of autonegatiation too

The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't
consider the autonegotiated flow control.
AR8327/AR8337 provide the info about autonegotiated rx/tx flow control
in bits 10 and 11 of the port status register.
Use these values to display info about autonegotiated rx/tx flow
control as part of the get_link attribute.

Successfully tested on TL-WDR4900 (AR8327 rev.4) and
TL-WDR4300 (AR8327 rev.2).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44023

9 years agoar8216: add 802.3az EEE info to swconfig get_link attribute
Felix Fietkau [Sun, 18 Jan 2015 00:53:59 +0000 (00:53 +0000)]
ar8216: add 802.3az EEE info to swconfig get_link attribute

AR8327/AR8337 allow to read the result of EEE autonegotiation.
If EEE is autonegotiated between the link partners, display
this as part of the swconfig get_link attribute.

eee100:  100MBit EEE supported by both link partners
eee1000: 1GBit EEE supported by both link partners

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44022

9 years agoar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port
Felix Fietkau [Sun, 18 Jan 2015 00:53:53 +0000 (00:53 +0000)]
ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port

Users reported network issues with AR8327 which turned out to be caused
by EEE not working correctly with certain link partners (ticket 14597).
The workaround was to disable EEE on all ports (changeset 41577).

The issue was with certain link partners only, therefore this patch
allows to control usage of EEE per port via swconfig.
Still the default is to initially disable EEE on all ports.

Successfully tested on a TL-WDR4900 (AR8327 rev.4)

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44021

9 years agoigmpproxy: add patch to silence unnecessary logging of downstream igmp traffic
Felix Fietkau [Sun, 18 Jan 2015 00:42:43 +0000 (00:42 +0000)]
igmpproxy: add patch to silence unnecessary logging of downstream igmp traffic

This patch adds a simple check to silence logging of messages about
unrecognized igmp packets which originate from devices in local network.

Without this patch igmpproxy floods openwrt syslog with messages such as:
  user.warn igmpproxy[19818]: The source address 192.168.1.175 for group
  239.255.250.250, is not in any valid net for upstream VIF.

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

9 years agobuild: explicitly unexport CONFIG_SITE
Felix Fietkau [Sun, 18 Jan 2015 00:37:18 +0000 (00:37 +0000)]
build: explicitly unexport CONFIG_SITE

On systems with CONFIG_SITE in the environment (e.g. OpenSUSE) make will export
the CONFIG_SITE set in include/package.mk by default. This will cause host
builds to get the target site configuration, leading to all kinds of weirdness
(wrong pointer size, wrong endianess).

Fix this by explicitly unexporting CONFIG_SITE. The explicit export for the
target builds overrides the unexport, so the target builds will still correctly
get the site config.

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

9 years agobuild: allow changing kernel name in new image code
Felix Fietkau [Sun, 18 Jan 2015 00:34:57 +0000 (00:34 +0000)]
build: allow changing kernel name in new image code

Necessary for targets using zImage or other kernel
image types.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 44018

9 years agoramips: add missing copyright info for relocate stub
Felix Fietkau [Sat, 17 Jan 2015 21:22:36 +0000 (21:22 +0000)]
ramips: add missing copyright info for relocate stub

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

9 years agoramips: add preliminary support for DIR-860L B1
Felix Fietkau [Sat, 17 Jan 2015 21:20:05 +0000 (21:20 +0000)]
ramips: add preliminary support for DIR-860L B1

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

9 years agobuild: allow passing parameters to padjffs2 via the pad-rootfs command
Felix Fietkau [Sat, 17 Jan 2015 21:19:57 +0000 (21:19 +0000)]
build: allow passing parameters to padjffs2 via the pad-rootfs command

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

9 years agoramips: add code for relocating a kernel to the right place
Felix Fietkau [Sat, 17 Jan 2015 21:19:38 +0000 (21:19 +0000)]
ramips: add code for relocating a kernel to the right place

(used if the boot loader wants a different loadaddr/entry)

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

9 years agoramips: enable the seama mtdsplit parser
Felix Fietkau [Sat, 17 Jan 2015 21:19:30 +0000 (21:19 +0000)]
ramips: enable the seama mtdsplit parser

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

9 years agobuild: add image makefile helper function for pading with an offset
Felix Fietkau [Sat, 17 Jan 2015 21:19:24 +0000 (21:19 +0000)]
build: add image makefile helper function for pading with an offset

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

9 years agobrcm2708: missing symbols caused a build fail
John Crispin [Sat, 17 Jan 2015 19:10:40 +0000 (19:10 +0000)]
brcm2708: missing symbols caused a build fail

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

9 years agoramips: register mt76 device tree info for WSR-1166DHP
Felix Fietkau [Sat, 17 Jan 2015 16:50:59 +0000 (16:50 +0000)]
ramips: register mt76 device tree info for WSR-1166DHP

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

9 years agoramips: register mt7621 pcie through device tree
Felix Fietkau [Sat, 17 Jan 2015 16:50:51 +0000 (16:50 +0000)]
ramips: register mt7621 pcie through device tree

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

9 years agoralink: sync mt7621 pcie driver with latest SDK
John Crispin [Sat, 17 Jan 2015 14:50:59 +0000 (14:50 +0000)]
ralink: sync mt7621 pcie driver with latest SDK

fixes newer ECO versions and a hang on reboot bug

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

9 years agotarget: kirkwood: fix leds defaults config
John Crispin [Sat, 17 Jan 2015 14:39:01 +0000 (14:39 +0000)]
target: kirkwood: fix leds defaults config

Fix missing parameters in 01_leds

Signed-off-by: Gerald Kerma <dreagle@doukki.net>
SVN-Revision: 44007

9 years agodnsmasq: add option --quiet-dhcp
John Crispin [Sat, 17 Jan 2015 14:38:55 +0000 (14:38 +0000)]
dnsmasq: add option --quiet-dhcp

The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses.

Signed-off-by: Lars Kruse <devel@sumpfralle.de>
SVN-Revision: 44006

9 years agoSupport for building an hardened OpenWRT
John Crispin [Sat, 17 Jan 2015 14:31:30 +0000 (14:31 +0000)]
Support for building an hardened OpenWRT

Introduce configuration options to build an "hardened" OpenWRT.

Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO
have been introduced.

uClibc makefile now automatically detects if SSP support is necessary.

hostapd makefile has been fixed to use "^" as sed separator since
using a comma was problematic when using "-Wl,-z,now" and the like in
TARGET_CFLAGS.

Currently enabling SSP on user space depends on enabling SSP kernel
side, this is due to the fact that TARGET_CFLAGS are used to build
kernel modules (at least). Suggestions on how to avoid this are welcome.
Using "select" instead of "depends on" doesn't seem to work with choice
entries.

Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of
the available packages.
Needs to be tested with GCC 4.9 and the remaining packages.
PIE not currently included.

Signed-off-by: Alessandro Di Federico <ale+owrt@clearmind.me>
SVN-Revision: 44005

9 years agoar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set
John Crispin [Sat, 17 Jan 2015 14:24:56 +0000 (14:24 +0000)]
ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set

Introduce ar8xxx_reg_clear complementing ar8xxx_reg_set.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44004

9 years agoar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
John Crispin [Sat, 17 Jan 2015 14:24:47 +0000 (14:24 +0000)]
ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate

Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44003

9 years agoar8216: define all switch_addr structs as const
John Crispin [Sat, 17 Jan 2015 14:24:40 +0000 (14:24 +0000)]
ar8216: define all switch_addr structs as const

Define all switch_addr structs as const.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44002

9 years agoramips: add support for Intenso Memory 2 Move USB 3.0
John Crispin [Sat, 17 Jan 2015 14:06:13 +0000 (14:06 +0000)]
ramips: add support for Intenso Memory 2 Move USB 3.0

This adds support for a rt5350-based "portable nas" solution
from Intenso. The board comes with 32M RAM and 8M Flash, the
built-in HDD is connected/accessible via a usb3.0<->sata
bridge VLI VL701.

The device has 1 Ethernet port (100M/10M), 1 micro b usb 3.0
socket (for charging the battery, or accessing the hdd directly).
Wireless connectivity is provided by the rt5350 SoC [i.e.:
802.11n 1x1 2.4 GHz with a pcb antenna.]

Serial, leds, wifi, ethernet and usb are tested and
as far as I can tell: they are working fine (tm).

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

9 years agobase-files: Add ucidef_set_led_timer to uci-defaults.sh
John Crispin [Sat, 17 Jan 2015 13:58:14 +0000 (13:58 +0000)]
base-files: Add ucidef_set_led_timer to uci-defaults.sh

Signed-off-by: Gerald Kerma <dreagle@doukki.net>
SVN-Revision: 44000

9 years agomodules: Add kmod-w1-slave-ds2413
John Crispin [Sat, 17 Jan 2015 13:58:09 +0000 (13:58 +0000)]
modules: Add kmod-w1-slave-ds2413

This patch adds support for building the ds2413 one-wire kernel module.

Signed-off-by: Wouter Paesen <wouter@blue-gate.be>
SVN-Revision: 43999

9 years agotoolchain: Add libatomic when using external toolchain
John Crispin [Sat, 17 Jan 2015 13:58:03 +0000 (13:58 +0000)]
toolchain: Add libatomic when using external toolchain

Otherwise libatomic cannot be used in conjunction with external toolchains.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 43998

9 years agocurl: allow enabling https protocol
John Crispin [Sat, 17 Jan 2015 13:57:56 +0000 (13:57 +0000)]
curl: allow enabling https protocol

Provide optional --enable-https flag for curl.

Signed-off-by: Lars Kruse <devel@sumpfralle.de>
SVN-Revision: 43997

9 years agoadd iperf3, a new and smaller version of iperf
Felix Fietkau [Sat, 17 Jan 2015 13:14:02 +0000 (13:14 +0000)]
add iperf3, a new and smaller version of iperf

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

9 years agoramips: fix tx bql related race condition in the ethernet driver
Felix Fietkau [Sat, 17 Jan 2015 13:13:55 +0000 (13:13 +0000)]
ramips: fix tx bql related race condition in the ethernet driver

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

9 years agoadd pkgconfig information for popt library
John Crispin [Sat, 17 Jan 2015 12:52:28 +0000 (12:52 +0000)]
add pkgconfig information for popt library

Modify makefile to record pkgconfig information for the popt library.

Signed-off-by: Mike Brady <mikebrady@eircom.net>
SVN-Revision: 43994

9 years agoiproute2: add package for bridge program
Steven Barth [Sat, 17 Jan 2015 10:58:34 +0000 (10:58 +0000)]
iproute2: add package for bridge program

The 'bridge' program has been part of iproute2 for a while, and it was once
declared[1] to the the intended longterm replacement for bridge-utils, but
its features are still mostly distinct[2] from the venerable brctl.

[1] http://lwn.net/Articles/435845/
[2] http://sgros-students.blogspot.com/2013/11/comparison-of-brctl-and-bridge-commands.html

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 43993

9 years agoiproute2: fix header problem for musl
Steven Barth [Sat, 17 Jan 2015 10:58:29 +0000 (10:58 +0000)]
iproute2: fix header problem for musl

iproute2 includes "sanitized" linux kernel headers, which work fine for uClibc, however
with musl there is some header conflict, principally some ipv6 structure redefinition.  This
patch removes <linux/in6.h> from include/linux/if_bridge.h to solve the problem.

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 43992

9 years agoiproute2: bump version to 3.18.0
Steven Barth [Sat, 17 Jan 2015 10:58:22 +0000 (10:58 +0000)]
iproute2: bump version to 3.18.0

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 43991

9 years agoralink: add support for Kingston MLWG2
John Crispin [Sat, 17 Jan 2015 07:07:36 +0000 (07:07 +0000)]
ralink: add support for Kingston MLWG2

This patch adds support for the Kingston Mobilelite Wireless G2 (MLWG2)

http://wiki.openwrt.org/toh/kingston/mlwg2

https://github.com/gmacario/kingston-mlwg2-hack/wiki/Testing-OpenWrt-on-MLWG2

Tested-by: Gianpaolo Macario <gmacario@gmail.com>
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 43990

9 years agokernel: add references to openwrt alternative button handling
John Crispin [Sat, 17 Jan 2015 07:07:28 +0000 (07:07 +0000)]
kernel: add references to openwrt alternative button handling

Add documentation that makes it easier to find the alternative,
recommended, and default handling for buttons in OpenWrt.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
SVN-Revision: 43989

9 years agoRemove old P2812HNUFX dts
John Crispin [Sat, 17 Jan 2015 07:07:21 +0000 (07:07 +0000)]
Remove old P2812HNUFX dts

Remove unused P2812HNUFX board definition.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 43988

9 years agoAdd profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
John Crispin [Sat, 17 Jan 2015 07:07:15 +0000 (07:07 +0000)]
Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Signed-off-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 43987

9 years agolantiq: Add device tree for P2812HNUF1 and P2812HNUF3
John Crispin [Sat, 17 Jan 2015 07:07:06 +0000 (07:07 +0000)]
lantiq: Add device tree for P2812HNUF1 and P2812HNUF3

Add device tree for P2812HNUF1 and P2812HNUF3.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 43986

9 years agoramips: add i2c pingroup to the pinmux for rt-n14u
John Crispin [Sat, 17 Jan 2015 07:06:59 +0000 (07:06 +0000)]
ramips: add i2c pingroup to the pinmux for rt-n14u

i2c pins are wired to wps a reset button

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
SVN-Revision: 43985

9 years agoramips: fix default led configuration for rt-n14u
John Crispin [Sat, 17 Jan 2015 07:06:51 +0000 (07:06 +0000)]
ramips: fix default led configuration for rt-n14u

use new helper function to generate default led configuration

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
SVN-Revision: 43984

9 years agoar71xx: fix board detection for TP-LINK TL-WA860RE
John Crispin [Sat, 17 Jan 2015 07:06:45 +0000 (07:06 +0000)]
ar71xx: fix board detection for TP-LINK TL-WA860RE

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

9 years agodnsmasq: support and use local-service by default (#14951)
Jo-Philipp Wich [Fri, 16 Jan 2015 19:04:19 +0000 (19:04 +0000)]
dnsmasq: support and use local-service by default (#14951)

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

9 years agobcm53xx: drop hacky patch making bcma init later
Rafał Miłecki [Fri, 16 Jan 2015 15:59:29 +0000 (15:59 +0000)]
bcm53xx: drop hacky patch making bcma init later

The only reason this patch was helping was moving bcma init *after*
of_serial init. It was a bit of luck because both drivers use
device_initcall.
It isn't really a correct way to provide early logging.
Now we have earlyprintk support in bcm53xx we can drop this patch.

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

9 years agoconfig: enable EARLY_PRINTK on bcm53xx by default
Rafał Miłecki [Fri, 16 Jan 2015 14:50:51 +0000 (14:50 +0000)]
config: enable EARLY_PRINTK on bcm53xx by default

It's useful for debugging and safe at the same time as we enable it per
device.

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