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

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