openwrt.git
9 years agobuild: explicitly unexport CONFIG_SITE
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44019 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: allow changing kernel name in new image code
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44018 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add missing copyright info for relocate stub
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44017 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add preliminary support for DIR-860L B1
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: allow passing parameters to padjffs2 via the pad-rootfs command
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44015 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add code for relocating a kernel to the right place
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44014 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: enable the seama mtdsplit parser
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44013 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: add image makefile helper function for pading with an offset
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44012 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm2708: missing symbols caused a build fail
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44011 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: register mt76 device tree info for WSR-1166DHP
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44010 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: register mt7621 pcie through device tree
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44009 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: sync mt7621 pcie driver with latest SDK
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44008 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget: kirkwood: fix leds defaults config
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44007 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: add option --quiet-dhcp
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44006 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoSupport for building an hardened OpenWRT
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44005 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44004 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44003 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: define all switch_addr structs as const
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44002 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add support for Intenso Memory 2 Move USB 3.0
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44001 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: Add ucidef_set_led_timer to uci-defaults.sh
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44000 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: Add kmod-w1-slave-ds2413
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43999 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: Add libatomic when using external toolchain
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43998 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocurl: allow enabling https protocol
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43997 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoadd iperf3, a new and smaller version of iperf
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43996 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix tx bql related race condition in the ethernet driver
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43995 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoadd pkgconfig information for popt library
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43994 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiproute2: add package for bridge program
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43993 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiproute2: fix header problem for musl
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43992 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiproute2: bump version to 3.18.0
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43991 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add support for Kingston MLWG2
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43990 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add references to openwrt alternative button handling
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43989 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoRemove old P2812HNUFX dts
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43988 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoAdd profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43987 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: Add device tree for P2812HNUF1 and P2812HNUF3
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43986 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add i2c pingroup to the pinmux for rt-n14u
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43985 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix default led configuration for rt-n14u
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43984 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix board detection for TP-LINK TL-WA860RE
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43983 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: support and use local-service by default (#14951)
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43982 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: drop hacky patch making bcma init later
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43981 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoconfig: enable EARLY_PRINTK on bcm53xx by default
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43980 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)
rmilecki [Fri, 16 Jan 2015 12:48:27 +0000 (12:48 +0000)]
brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)

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

9 years agomvebu: fixups for the new driver
kaloz [Fri, 16 Jan 2015 08:44:15 +0000 (08:44 +0000)]
mvebu: fixups for the new driver

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

9 years agomusl: update to version 1.1.6
nbd [Thu, 15 Jan 2015 21:40:44 +0000 (21:40 +0000)]
musl: update to version 1.1.6

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

9 years agoopenssl: update to 1.0.1l *sigh*
cyrus [Thu, 15 Jan 2015 17:59:06 +0000 (17:59 +0000)]
openssl: update to 1.0.1l *sigh*

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

9 years agomvebu: add the new tlc59116 driver and migrate the Mamba to it
kaloz [Thu, 15 Jan 2015 13:59:01 +0000 (13:59 +0000)]
mvebu: add the new tlc59116 driver and migrate the Mamba to it

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

9 years agoar71xx: fix disable_irq() on chained irq handlers
nbd [Thu, 15 Jan 2015 12:19:20 +0000 (12:19 +0000)]
ar71xx: fix disable_irq() on chained irq handlers

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

9 years agokernel: fix disable_irq() on MIPS CPU IRQs
nbd [Thu, 15 Jan 2015 12:19:12 +0000 (12:19 +0000)]
kernel: fix disable_irq() on MIPS CPU IRQs

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

9 years agobcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
rmilecki [Wed, 14 Jan 2015 13:41:05 +0000 (13:41 +0000)]
bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43972 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: fix irq storm issues (#18483)
nbd [Wed, 14 Jan 2015 13:20:38 +0000 (13:20 +0000)]
ath9k: fix irq storm issues (#18483)

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

9 years agomalta: copy initramfs images
kaloz [Wed, 14 Jan 2015 12:09:33 +0000 (12:09 +0000)]
malta: copy initramfs images

Malta ramdisk images are no longer copied to output due to a recent change.
This change reimplements copying of ramdisk images for Malta builds.

Signed-off-by: Eric Schultz <eschultz@prplfoundation.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43970 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: Switch to the generic mkuimage macro
kaloz [Wed, 14 Jan 2015 11:39:20 +0000 (11:39 +0000)]
mvebu: Switch to the generic mkuimage macro

The mvebu image makefile define something almost identical to the generic
implementation found in include/image.mk.

Switch to this implementation.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43969 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: Replace the padjffs2 call by the generic definition
kaloz [Wed, 14 Jan 2015 11:37:29 +0000 (11:37 +0000)]
mvebu: Replace the padjffs2 call by the generic definition

The mvebu image Makefile directly calls the padjffs2 utility, while there's an
generic make function to do just that. Switch to it

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43968 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomdns: install uci package as config
luka [Wed, 14 Jan 2015 09:59:26 +0000 (09:59 +0000)]
mdns: install uci package as config

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43967 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetfilter: handle NFT_MASQ_IPV6
kaloz [Wed, 14 Jan 2015 08:53:11 +0000 (08:53 +0000)]
netfilter: handle NFT_MASQ_IPV6

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

9 years agobcm53xx: enable earlyprintk on more devices
rmilecki [Wed, 14 Jan 2015 07:42:48 +0000 (07:42 +0000)]
bcm53xx: enable earlyprintk on more devices

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43965 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
rmilecki [Wed, 14 Jan 2015 07:03:42 +0000 (07:03 +0000)]
bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43964 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: refresh configs
rmilecki [Wed, 14 Jan 2015 07:03:17 +0000 (07:03 +0000)]
bcm53xx: refresh configs

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43963 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomap: export calculated ruleset to /tmp
cyrus [Tue, 13 Jan 2015 19:00:39 +0000 (19:00 +0000)]
map: export calculated ruleset to /tmp

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

9 years agotools: libtool relocatable fixes
jow [Tue, 13 Jan 2015 10:23:44 +0000 (10:23 +0000)]
tools: libtool relocatable fixes

Make sure that libtool and libtoolize call grep relative to
$STAGING_DIR as well.

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

9 years agotools: bootstrap libtool to pickup the correct in-tree automake
jow [Tue, 13 Jan 2015 07:49:10 +0000 (07:49 +0000)]
tools: bootstrap libtool to pickup the correct in-tree automake

Also fix 000-relocatable.patch to avoid accidential sed invocations in bootstrap.

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

9 years agotools: bootstrap automake to pickup the correct in-tree autoconf
jow [Tue, 13 Jan 2015 07:49:01 +0000 (07:49 +0000)]
tools: bootstrap automake to pickup the correct in-tree autoconf

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

9 years agotools: add dummy scripts for help2man and makeinfo
jow [Tue, 13 Jan 2015 07:48:52 +0000 (07:48 +0000)]
tools: add dummy scripts for help2man and makeinfo

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

9 years agotools: change automake depends to libtool depends
jow [Tue, 13 Jan 2015 07:48:37 +0000 (07:48 +0000)]
tools: change automake depends to libtool depends

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

9 years agotools: make libtool depend on automake, not vice versa
jow [Tue, 13 Jan 2015 07:48:24 +0000 (07:48 +0000)]
tools: make libtool depend on automake, not vice versa

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

9 years agoramips: add missing -Os cflag for mt7621
nbd [Tue, 13 Jan 2015 00:34:49 +0000 (00:34 +0000)]
ramips: add missing -Os cflag for mt7621

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

9 years agoramips: use a larger number of rx descriptors on mt7621 to work around rx overrun...
nbd [Tue, 13 Jan 2015 00:34:45 +0000 (00:34 +0000)]
ramips: use a larger number of rx descriptors on mt7621 to work around rx overrun related packet loss

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

9 years agoramips: remove interrupt coalescing, it is unnecessary with napi polling and could...
nbd [Tue, 13 Jan 2015 00:34:38 +0000 (00:34 +0000)]
ramips: remove interrupt coalescing, it is unnecessary with napi polling and could reduce throughput

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

9 years agohostapd: backport patch fixing handling new stations
rmilecki [Mon, 12 Jan 2015 22:10:00 +0000 (22:10 +0000)]
hostapd: backport patch fixing handling new stations

This patch fixes adding new stations for some specific drivers when
using more than 1 BSS.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43951 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetfilter: handle nft_masq and nft_masq_ipv4
kaloz [Mon, 12 Jan 2015 20:16:36 +0000 (20:16 +0000)]
netfilter: handle nft_masq and nft_masq_ipv4

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

9 years agonftables: add missing patch
cyrus [Mon, 12 Jan 2015 12:40:08 +0000 (12:40 +0000)]
nftables: add missing patch

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

9 years agonftables: bump again and disable building docs
cyrus [Mon, 12 Jan 2015 12:39:14 +0000 (12:39 +0000)]
nftables: bump again and disable building docs

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

9 years agopwm support can't be compiled as a module
kaloz [Mon, 12 Jan 2015 11:58:41 +0000 (11:58 +0000)]
pwm support can't be compiled as a module

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

9 years agomap: ignore psid and psidlen if psidlen is 0
cyrus [Mon, 12 Jan 2015 10:56:54 +0000 (10:56 +0000)]
map: ignore psid and psidlen if psidlen is 0

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

9 years ago[mvebu]: now that the driver knows it, use the 88e6172's switch type in the mamba dts
kaloz [Mon, 12 Jan 2015 09:32:33 +0000 (09:32 +0000)]
[mvebu]: now that the driver knows it, use the 88e6172's switch type in the mamba dts

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

9 years agonftables: bump to latest and enable debugging
cyrus [Mon, 12 Jan 2015 06:16:51 +0000 (06:16 +0000)]
nftables: bump to latest and enable debugging

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

9 years agodosfstools: update to 3.0.26
nico [Sun, 11 Jan 2015 22:15:11 +0000 (22:15 +0000)]
dosfstools: update to 3.0.26

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43942 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofuse: update to 2.9.3
nico [Sun, 11 Jan 2015 22:15:03 +0000 (22:15 +0000)]
fuse: update to 2.9.3

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43941 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/uml: add missing config symbols
nico [Sun, 11 Jan 2015 22:03:06 +0000 (22:03 +0000)]
target/uml: add missing config symbols

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43940 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomusl: merge changes from git, includes further getopt fixes
nbd [Sun, 11 Jan 2015 18:25:23 +0000 (18:25 +0000)]
musl: merge changes from git, includes further getopt fixes

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

9 years agomvsw61xx: track and set per-VLAN port state in STU
luka [Sun, 11 Jan 2015 17:20:16 +0000 (17:20 +0000)]
mvsw61xx: track and set per-VLAN port state in STU

Since the driver doesn't know anything about (M)STP
we just hard-set the ports to be enabled if they are
part of the VLAN.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43938 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvsw61xx: clean up and expand register definitions
luka [Sun, 11 Jan 2015 17:20:06 +0000 (17:20 +0000)]
mvsw61xx: clean up and expand register definitions

- eliminate MV_CPUPORT; not necessary since we define
  the CPU port(s) via Device Tree

- add STU and expand VTU operations

- update register names to match those of 88E61xx rather than
  mvswitch's 88E6060

- use more consistent formatting

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43937 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvsw61xx: rework chip recognition
luka [Sun, 11 Jan 2015 17:20:03 +0000 (17:20 +0000)]
mvsw61xx: rework chip recognition

Recognizes 88E6171/6172/6176 at the moment.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43936 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvsw6171: rename to 'mvsw61xx'
luka [Sun, 11 Jan 2015 17:19:58 +0000 (17:19 +0000)]
mvsw6171: rename to 'mvsw61xx'

In preparation for properly supporting switches
beyond the 88E6171.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43935 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoltq-vmmc: fix broken autoconf invocation
jow [Sun, 11 Jan 2015 16:53:59 +0000 (16:53 +0000)]
ltq-vmmc: fix broken autoconf invocation

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

9 years agoltq-tapi: fix broken autoconf invocation
jow [Sun, 11 Jan 2015 16:53:52 +0000 (16:53 +0000)]
ltq-tapi: fix broken autoconf invocation

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

9 years agoltq-ifxos: fix broken autoconf invocation
jow [Sun, 11 Jan 2015 16:53:45 +0000 (16:53 +0000)]
ltq-ifxos: fix broken autoconf invocation

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

9 years agoltq-adsl: fix broken autoconf invocation
jow [Sun, 11 Jan 2015 16:53:34 +0000 (16:53 +0000)]
ltq-adsl: fix broken autoconf invocation

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

9 years agolibusb: update to version 1.0.19
nbd [Sun, 11 Jan 2015 16:14:23 +0000 (16:14 +0000)]
libusb: update to version 1.0.19

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

9 years agokernel: update 3.14 to 3.14.28
luka [Sun, 11 Jan 2015 01:28:32 +0000 (01:28 +0000)]
kernel: update 3.14 to 3.14.28

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

9 years agomcs814x: switch to 3.14 kernel
florian [Sat, 10 Jan 2015 20:12:15 +0000 (20:12 +0000)]
mcs814x: switch to 3.14 kernel

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

9 years agomcs814x: add 3.14 kernel support
florian [Sat, 10 Jan 2015 20:12:02 +0000 (20:12 +0000)]
mcs814x: add 3.14 kernel support

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

9 years agomcs814x: account for dtb output directory differences
florian [Sat, 10 Jan 2015 20:11:18 +0000 (20:11 +0000)]
mcs814x: account for dtb output directory differences

3.3 produced *.dtb files in arch/arm/boot/ while 3.14 will produce those
in arch/arm/boot/dts/, adjust the image makefile accordingly.

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

9 years agomcs814x: set low_mem feature flag
florian [Sat, 10 Jan 2015 20:11:07 +0000 (20:11 +0000)]
mcs814x: set low_mem feature flag

Most of the devices we support have between 16MiB and 32MiB of RAM
available.

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

9 years agomcs814x: rename config-default to config-3.3
florian [Sat, 10 Jan 2015 20:10:57 +0000 (20:10 +0000)]
mcs814x: rename config-default to config-3.3

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

9 years agosunxi: change bananapro DTS to use the already published patch, clean up 3.18 config...
wigyori [Sat, 10 Jan 2015 19:56:30 +0000 (19:56 +0000)]
sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols

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

9 years ago[packages] uboot-sunxi: fix bananapro target, update patch
wigyori [Sat, 10 Jan 2015 19:12:35 +0000 (19:12 +0000)]
[packages] uboot-sunxi: fix bananapro target, update patch

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43921 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix console string in images
nbd [Sat, 10 Jan 2015 18:48:14 +0000 (18:48 +0000)]
ar71xx: fix console string in images

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

9 years agoimagebuilder: fail with error if the passed profile name does not exist
jow [Sat, 10 Jan 2015 18:19:59 +0000 (18:19 +0000)]
imagebuilder: fail with error if the passed profile name does not exist

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

9 years agoadm5120: add experimental 3.14 kernel support
florian [Sat, 10 Jan 2015 18:10:04 +0000 (18:10 +0000)]
adm5120: add experimental 3.14 kernel support

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

9 years agoadm5120: move files to files-3.8
florian [Sat, 10 Jan 2015 18:08:53 +0000 (18:08 +0000)]
adm5120: move files to files-3.8

In preparation for adding new kernel support

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