aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: DGN3500 cleanupsJohn Crispin2015-01-182-3/+1
| | | | | | | | | 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
* lantiq: Restore call to orphaned etop functionJohn Crispin2015-01-181-16/+44
| | | | | | | | | 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
* kernel: preserve bootloader command line on MIPSJohn Crispin2015-01-182-6/+38
| | | | | | | | | | | 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
* lantiq: Fix initscript issueJohn Crispin2015-01-181-1/+1
| | | | | | | | | 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
* ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messagesFelix Fietkau2015-01-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44028
* ramips: add mt7621 cpu feature overridesFelix Fietkau2015-01-181-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44027
* kernel: add missing config symbolFelix Fietkau2015-01-182-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44026
* ramips: refresh kernel patchesFelix Fietkau2015-01-185-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44025
* kernel: backport upstream commit to fix MIPS cache shift with secondary ↵Felix Fietkau2015-01-184-5/+47
| | | | | | | | cache enabled Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44024
* ar8216: display flow control info in swconfig get_link in case of ↵Felix Fietkau2015-01-182-1/+19
| | | | | | | | | | | | | | | | | | 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
* ar8216: add 802.3az EEE info to swconfig get_link attributeFelix Fietkau2015-01-185-1/+49
| | | | | | | | | | | | | 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
* ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per portFelix Fietkau2015-01-184-17/+122
| | | | | | | | | | | | | | | | 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
* igmpproxy: add patch to silence unnecessary logging of downstream igmp trafficFelix Fietkau2015-01-181-0/+19
| | | | | | | | | | | | | 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
* build: explicitly unexport CONFIG_SITEFelix Fietkau2015-01-181-1/+1
| | | | | | | | | | | | | | | 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
* build: allow changing kernel name in new image codeFelix Fietkau2015-01-181-2/+3
| | | | | | | | | Necessary for targets using zImage or other kernel image types. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 44018
* ramips: add missing copyright info for relocate stubFelix Fietkau2015-01-172-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44017
* ramips: add preliminary support for DIR-860L B1Felix Fietkau2015-01-176-3/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44016
* build: allow passing parameters to padjffs2 via the pad-rootfs commandFelix Fietkau2015-01-171-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44015
* ramips: add code for relocating a kernel to the right placeFelix Fietkau2015-01-175-0/+365
| | | | | | | | (used if the boot loader wants a different loadaddr/entry) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44014
* ramips: enable the seama mtdsplit parserFelix Fietkau2015-01-171-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44013
* build: add image makefile helper function for pading with an offsetFelix Fietkau2015-01-171-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44012
* brcm2708: missing symbols caused a build failJohn Crispin2015-01-171-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44011
* ramips: register mt76 device tree info for WSR-1166DHPFelix Fietkau2015-01-171-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44010
* ramips: register mt7621 pcie through device treeFelix Fietkau2015-01-172-27/+98
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44009
* ralink: sync mt7621 pcie driver with latest SDKJohn Crispin2015-01-171-25/+19
| | | | | | | | fixes newer ECO versions and a hang on reboot bug Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44008
* target: kirkwood: fix leds defaults configJohn Crispin2015-01-171-11/+11
| | | | | | | | Fix missing parameters in 01_leds Signed-off-by: Gerald Kerma <dreagle@doukki.net> SVN-Revision: 44007
* dnsmasq: add option --quiet-dhcpJohn Crispin2015-01-171-0/+1
| | | | | | | | 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
* Support for building an hardened OpenWRTJohn Crispin2015-01-174-10/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_setJohn Crispin2015-01-173-12/+14
| | | | | | | | Introduce ar8xxx_reg_clear complementing ar8xxx_reg_set. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44004
* ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriateJohn Crispin2015-01-172-12/+7
| | | | | | | | Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44003
* ar8216: define all switch_addr structs as constJohn Crispin2015-01-172-6/+6
| | | | | | | | Define all switch_addr structs as const. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44002
* ramips: add support for Intenso Memory 2 Move USB 3.0John Crispin2015-01-178-0/+152
| | | | | | | | | | | | | | | | | | | 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
* base-files: Add ucidef_set_led_timer to uci-defaults.shJohn Crispin2015-01-171-0/+20
| | | | | | Signed-off-by: Gerald Kerma <dreagle@doukki.net> SVN-Revision: 44000
* modules: Add kmod-w1-slave-ds2413John Crispin2015-01-171-0/+16
| | | | | | | | This patch adds support for building the ds2413 one-wire kernel module. Signed-off-by: Wouter Paesen <wouter@blue-gate.be> SVN-Revision: 43999
* toolchain: Add libatomic when using external toolchainJohn Crispin2015-01-171-0/+9
| | | | | | | | Otherwise libatomic cannot be used in conjunction with external toolchains. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 43998
* curl: allow enabling https protocolJohn Crispin2015-01-172-0/+6
| | | | | | | | Provide optional --enable-https flag for curl. Signed-off-by: Lars Kruse <devel@sumpfralle.de> SVN-Revision: 43997
* add iperf3, a new and smaller version of iperfFelix Fietkau2015-01-171-0/+49
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43996
* ramips: fix tx bql related race condition in the ethernet driverFelix Fietkau2015-01-171-4/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43995
* add pkgconfig information for popt libraryJohn Crispin2015-01-171-0/+2
| | | | | | | | Modify makefile to record pkgconfig information for the popt library. Signed-off-by: Mike Brady <mikebrady@eircom.net> SVN-Revision: 43994
* iproute2: add package for bridge programSteven Barth2015-01-171-0/+11
| | | | | | | | | | | | | 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
* iproute2: fix header problem for muslSteven Barth2015-01-171-0/+10
| | | | | | | | | | 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
* iproute2: bump version to 3.18.0Steven Barth2015-01-172-10/+11
| | | | | | Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 43991
* ralink: add support for Kingston MLWG2John Crispin2015-01-177-0/+134
| | | | | | | | | | | | | | 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
* kernel: add references to openwrt alternative button handlingJohn Crispin2015-01-171-0/+6
| | | | | | | | | 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
* Remove old P2812HNUFX dtsJohn Crispin2015-01-171-308/+0
| | | | | | | | Remove unused P2812HNUFX board definition. Signed-off-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 43988
* Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCKJohn Crispin2015-01-176-12/+39
| | | | | | | | 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
* lantiq: Add device tree for P2812HNUF1 and P2812HNUF3John Crispin2015-01-173-0/+472
| | | | | | | | Add device tree for P2812HNUF1 and P2812HNUF3. Signed-off-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 43986
* ramips: add i2c pingroup to the pinmux for rt-n14uJohn Crispin2015-01-171-1/+1
| | | | | | | | i2c pins are wired to wps a reset button Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 43985
* ramips: fix default led configuration for rt-n14uJohn Crispin2015-01-171-2/+2
| | | | | | | | use new helper function to generate default led configuration Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 43984
* ar71xx: fix board detection for TP-LINK TL-WA860REJohn Crispin2015-01-171-0/+3
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 43983