openwrt/staging/florian.git
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

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

SVN-Revision: 43979

9 years agomvebu: fixups for the new driver
Imre 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>
SVN-Revision: 43978

9 years agomusl: update to version 1.1.6
Felix Fietkau [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>
SVN-Revision: 43977

9 years agoopenssl: update to 1.0.1l *sigh*
Steven Barth [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>
SVN-Revision: 43976

9 years agomvebu: add the new tlc59116 driver and migrate the Mamba to it
Imre 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>
SVN-Revision: 43975

9 years agoar71xx: fix disable_irq() on chained irq handlers
Felix Fietkau [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>
SVN-Revision: 43974

9 years agokernel: fix disable_irq() on MIPS CPU IRQs
Felix Fietkau [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>
SVN-Revision: 43973

9 years agobcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
Rafał Miłecki [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>
SVN-Revision: 43972

9 years agoath9k: fix irq storm issues (#18483)
Felix Fietkau [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>
SVN-Revision: 43971

9 years agomalta: copy initramfs images
Imre 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>
SVN-Revision: 43970

9 years agomvebu: Switch to the generic mkuimage macro
Imre 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>
SVN-Revision: 43969

9 years agomvebu: Replace the padjffs2 call by the generic definition
Imre 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>
SVN-Revision: 43968

9 years agomdns: install uci package as config
Luka Perkov [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>
SVN-Revision: 43967

9 years agonetfilter: handle NFT_MASQ_IPV6
Imre 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>
SVN-Revision: 43966

9 years agobcm53xx: enable earlyprintk on more devices
Rafał Miłecki [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>
SVN-Revision: 43965

9 years agobcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
Rafał Miłecki [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>
SVN-Revision: 43964

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

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

9 years agomap: export calculated ruleset to /tmp
Steven Barth [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>
SVN-Revision: 43961

9 years agotools: libtool relocatable fixes
Jo-Philipp Wich [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>
SVN-Revision: 43960

9 years agotools: bootstrap libtool to pickup the correct in-tree automake
Jo-Philipp Wich [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>
SVN-Revision: 43959

9 years agotools: bootstrap automake to pickup the correct in-tree autoconf
Jo-Philipp Wich [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>
SVN-Revision: 43958

9 years agotools: add dummy scripts for help2man and makeinfo
Jo-Philipp Wich [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>
SVN-Revision: 43957

9 years agotools: change automake depends to libtool depends
Jo-Philipp Wich [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>
SVN-Revision: 43956

9 years agotools: make libtool depend on automake, not vice versa
Jo-Philipp Wich [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>
SVN-Revision: 43955

9 years agoramips: add missing -Os cflag for mt7621
Felix Fietkau [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>
SVN-Revision: 43954

9 years agoramips: use a larger number of rx descriptors on mt7621 to work around rx overrun...
Felix Fietkau [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>
SVN-Revision: 43953

9 years agoramips: remove interrupt coalescing, it is unnecessary with napi polling and could...
Felix Fietkau [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>
SVN-Revision: 43952

9 years agohostapd: backport patch fixing handling new stations
Rafał Miłecki [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>
SVN-Revision: 43951

9 years agonetfilter: handle nft_masq and nft_masq_ipv4
Imre 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>
SVN-Revision: 43950

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

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

9 years agonftables: bump again and disable building docs
Steven Barth [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>
SVN-Revision: 43948

9 years agopwm support can't be compiled as a module
Imre 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>
SVN-Revision: 43947

9 years agomap: ignore psid and psidlen if psidlen is 0
Steven Barth [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>
SVN-Revision: 43946

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

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43945

9 years agonftables: bump to latest and enable debugging
Steven Barth [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>
SVN-Revision: 43944

9 years agodosfstools: update to 3.0.26
Nicolas Thill [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>
SVN-Revision: 43942

9 years agofuse: update to 2.9.3
Nicolas Thill [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>
SVN-Revision: 43941

9 years agotarget/uml: add missing config symbols
Nicolas Thill [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>
SVN-Revision: 43940

9 years agomusl: merge changes from git, includes further getopt fixes
Felix Fietkau [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>
SVN-Revision: 43939

9 years agomvsw61xx: track and set per-VLAN port state in STU
Luka Perkov [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>
SVN-Revision: 43938

9 years agomvsw61xx: clean up and expand register definitions
Luka Perkov [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>
SVN-Revision: 43937

9 years agomvsw61xx: rework chip recognition
Luka Perkov [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>
SVN-Revision: 43936

9 years agomvsw6171: rename to 'mvsw61xx'
Luka Perkov [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>
SVN-Revision: 43935

9 years agoltq-vmmc: fix broken autoconf invocation
Jo-Philipp Wich [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>
SVN-Revision: 43934

9 years agoltq-tapi: fix broken autoconf invocation
Jo-Philipp Wich [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>
SVN-Revision: 43933

9 years agoltq-ifxos: fix broken autoconf invocation
Jo-Philipp Wich [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>
SVN-Revision: 43932

9 years agoltq-adsl: fix broken autoconf invocation
Jo-Philipp Wich [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>
SVN-Revision: 43931

9 years agolibusb: update to version 1.0.19
Felix Fietkau [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>
SVN-Revision: 43930

9 years agokernel: update 3.14 to 3.14.28
Luka Perkov [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>
SVN-Revision: 43929

9 years agomcs814x: switch to 3.14 kernel
Florian Fainelli [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>
SVN-Revision: 43927

9 years agomcs814x: add 3.14 kernel support
Florian Fainelli [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>
SVN-Revision: 43926

9 years agomcs814x: account for dtb output directory differences
Florian Fainelli [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>
SVN-Revision: 43925

9 years agomcs814x: set low_mem feature flag
Florian Fainelli [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>
SVN-Revision: 43924

9 years agomcs814x: rename config-default to config-3.3
Florian Fainelli [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>
SVN-Revision: 43923

9 years agosunxi: change bananapro DTS to use the already published patch, clean up 3.18 config...
Zoltan Herpai [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>
SVN-Revision: 43922

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

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

9 years agoar71xx: fix console string in images
Felix Fietkau [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>
SVN-Revision: 43917

9 years agoimagebuilder: fail with error if the passed profile name does not exist
Jo-Philipp Wich [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>
SVN-Revision: 43916

9 years agoadm5120: add experimental 3.14 kernel support
Florian Fainelli [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>
SVN-Revision: 43915

9 years agoadm5120: move files to files-3.8
Florian Fainelli [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>
SVN-Revision: 43914

9 years agotools: edimax_fw_header: fix suspicious memset usage
Florian Fainelli [Sat, 10 Jan 2015 18:08:16 +0000 (18:08 +0000)]
tools: edimax_fw_header: fix suspicious memset usage

memset() was called with a size argument against a pointer size, not the
structure size itself.

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

9 years agokernel: add missing config symbols for 3.18
Zoltan Herpai [Sat, 10 Jan 2015 17:23:55 +0000 (17:23 +0000)]
kernel: add missing config symbols for 3.18

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

9 years agobuild: do not assume that gcc-{ar,ranlib,nm} is usable with an external toolchain
Felix Fietkau [Sat, 10 Jan 2015 16:14:25 +0000 (16:14 +0000)]
build: do not assume that gcc-{ar,ranlib,nm} is usable with an external toolchain

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

9 years agoar71xx: port wndr3700/3800 to the new image building code
Felix Fietkau [Sat, 10 Jan 2015 15:27:07 +0000 (15:27 +0000)]
ar71xx: port wndr3700/3800 to the new image building code

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

9 years agoar71xx: port carambola2 to the new image building code
Felix Fietkau [Sat, 10 Jan 2015 15:27:00 +0000 (15:27 +0000)]
ar71xx: port carambola2 to the new image building code

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

9 years agoramips: convert mt7621 images to new image building code
Felix Fietkau [Sat, 10 Jan 2015 15:26:53 +0000 (15:26 +0000)]
ramips: convert mt7621 images to new image building code

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

9 years agobuild: add new image building code infrastructure
Felix Fietkau [Sat, 10 Jan 2015 15:26:47 +0000 (15:26 +0000)]
build: add new image building code infrastructure

This simplifies building device / profile specific images, and allows
the build system to parallelize generating images

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

9 years agoramips: simplify mkimage kernel loadaddr/entry handling
Felix Fietkau [Sat, 10 Jan 2015 15:26:38 +0000 (15:26 +0000)]
ramips: simplify mkimage kernel loadaddr/entry handling

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

9 years agoversion.mk: explicitely filter "generic" subtarget for "%s" placeholder (#18710)
Jo-Philipp Wich [Sat, 10 Jan 2015 11:17:11 +0000 (11:17 +0000)]
version.mk: explicitely filter "generic" subtarget for "%s" placeholder (#18710)

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

9 years agosdk: track files with git and use it to implement proper clean targets
Jo-Philipp Wich [Sat, 10 Jan 2015 11:17:02 +0000 (11:17 +0000)]
sdk: track files with git and use it to implement proper clean targets

Initialize a Git repository in the SDK and use git reset / git clean
to rollback any SDK changes with "make clean" or "make dirclean".

This approach is more robust than nuking entire directory trees because
some parts of them might have been shipped with the original archive.

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

9 years agopopt: update to latest upstream version, fixes build breakage after autofools changes
Felix Fietkau [Fri, 9 Jan 2015 19:52:27 +0000 (19:52 +0000)]
popt: update to latest upstream version, fixes build breakage after autofools changes

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

9 years agosunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9...
Zoltan Herpai [Fri, 9 Jan 2015 19:35:14 +0000 (19:35 +0000)]
sunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9 support

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

9 years agouboot-sunxi: various updates - use mainline uboot-sunxi version (2015.01-rc3) - add...
Zoltan Herpai [Fri, 9 Jan 2015 19:19:35 +0000 (19:19 +0000)]
uboot-sunxi: various updates - use mainline uboot-sunxi version (2015.01-rc3) - add support for Bananapro

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

9 years agoramips: add preliminary Archer C20i support
Felix Fietkau [Fri, 9 Jan 2015 15:40:51 +0000 (15:40 +0000)]
ramips: add preliminary Archer C20i support

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