openwrt.git
9 years agoralink: fix ethernet rx buffer size breakage
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44047 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: improve check rx sg function. use check frags instead of function call
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44046 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: correct handle hardware rx 2bytes offset
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44045 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: use fe_reset to control all reset
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44044 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: improve tx_timeout function
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44043 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add ethernet fe and esw reset control bit
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44042 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: reduce access to uncached tx/rx dma ring buffer
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44041 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: update Olimex A13 SOM profile
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44040 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44039 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackages: uboot-sunxi: remove unused Hackberry target
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44038 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-envtools: fix Linksys EA3500 env size
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44037 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokirkwood: enable switch on Linksys EA3500
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44036 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackages: update uboot-sunxi to 2015.01
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44035 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing config symbol for 3.18
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44034 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add throughput trigger to ath10k
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44033 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: DGN3500 cleanups
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44032 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: Restore call to orphaned etop function
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44031 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: preserve bootloader command line on MIPS
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44030 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: Fix initscript issue
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44029 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44028 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add mt7621 cpu feature overrides
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44027 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

9 years agokernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44024 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: display flow control info in swconfig get_link in case of autonegatiation too
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44023 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: add 802.3az EEE info to swconfig get_link attribute
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44022 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44021 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoigmpproxy: add patch to silence unnecessary logging of downstream igmp traffic
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44020 3c298f89-4303-0410-b956-a3cf2f4a3e73

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