Commit Graph

32607 Commits (5108a4488fd6295315056425bcf3bf9d90329704)

Author SHA1 Message Date
John Crispin 5108a4488f 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
2015-01-17 19:10:40 +00:00
Felix Fietkau 5461345ea8 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
2015-01-17 16:50:59 +00:00
Felix Fietkau 895884d601 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
2015-01-17 16:50:51 +00:00
John Crispin 902b6f81d6 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
2015-01-17 14:50:59 +00:00
John Crispin daf86ae594 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
2015-01-17 14:39:01 +00:00
John Crispin 8f6963d065 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
2015-01-17 14:38:55 +00:00
John Crispin f7d8dc3702 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
2015-01-17 14:31:30 +00:00
John Crispin fc1b972433 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
2015-01-17 14:24:56 +00:00
John Crispin 940391d4d6 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
2015-01-17 14:24:47 +00:00
John Crispin a57f35750a 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
2015-01-17 14:24:40 +00:00
John Crispin 75b65571c9 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
2015-01-17 14:06:13 +00:00
John Crispin 1f0e7b1205 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
2015-01-17 13:58:14 +00:00
John Crispin 513e3dad01 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
2015-01-17 13:58:09 +00:00
John Crispin 2f54087f03 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
2015-01-17 13:58:03 +00:00
John Crispin a522a43036 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
2015-01-17 13:57:56 +00:00
Felix Fietkau 49b06c8aba 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
2015-01-17 13:14:02 +00:00
Felix Fietkau 8ce6953097 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
2015-01-17 13:13:55 +00:00
John Crispin 9925111884 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
2015-01-17 12:52:28 +00:00
Steven Barth 1a05e46486 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
2015-01-17 10:58:34 +00:00
Steven Barth db806121a3 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
2015-01-17 10:58:29 +00:00
Steven Barth d312539582 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
2015-01-17 10:58:22 +00:00
John Crispin e5244ce230 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
2015-01-17 07:07:36 +00:00
John Crispin db2a099071 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
2015-01-17 07:07:28 +00:00
John Crispin 9d149658ad 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
2015-01-17 07:07:21 +00:00
John Crispin fed2fd6184 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
2015-01-17 07:07:15 +00:00
John Crispin f35322bbae 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
2015-01-17 07:07:06 +00:00
John Crispin 747f222b8a 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
2015-01-17 07:06:59 +00:00
John Crispin 1c004bcef5 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
2015-01-17 07:06:51 +00:00
John Crispin cdd570fcaa 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
2015-01-17 07:06:45 +00:00
Jo-Philipp Wich 7e0c58ce3d 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
2015-01-16 19:04:19 +00:00
Rafał Miłecki 2967c8a901 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
2015-01-16 15:59:29 +00:00
Rafał Miłecki d3fe1aff4f 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
2015-01-16 14:50:51 +00:00
Rafał Miłecki e2c2692400 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
2015-01-16 12:48:27 +00:00
Imre Kaloz 965f285794 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
2015-01-16 08:44:15 +00:00
Felix Fietkau 83a7a8ea70 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
2015-01-15 21:40:44 +00:00
Steven Barth 17801c4a69 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
2015-01-15 17:59:06 +00:00
Imre Kaloz f8c067883f 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
2015-01-15 13:59:01 +00:00
Felix Fietkau a24c7178f8 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
2015-01-15 12:19:20 +00:00
Felix Fietkau 6b4c038cf3 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
2015-01-15 12:19:12 +00:00
Rafał Miłecki d900866b1d 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
2015-01-14 13:41:05 +00:00
Felix Fietkau 4c6a5dae3c 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
2015-01-14 13:20:38 +00:00
Imre Kaloz 2729cdcf9e 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
2015-01-14 12:09:33 +00:00
Imre Kaloz 697f526995 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
2015-01-14 11:39:20 +00:00
Imre Kaloz abdd10c1d5 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
2015-01-14 11:37:29 +00:00
Luka Perkov 8471d22b7c 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
2015-01-14 09:59:26 +00:00
Imre Kaloz 940416c462 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
2015-01-14 08:53:11 +00:00
Rafał Miłecki fa29300ffa 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
2015-01-14 07:42:48 +00:00
Rafał Miłecki 36ef371f8e 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
2015-01-14 07:03:42 +00:00
Rafał Miłecki 8ae4b8ea1e 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
2015-01-14 07:03:17 +00:00
Steven Barth 132b726e95 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
2015-01-13 19:00:39 +00:00