aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing copyright info for relocate stubFelix Fietkau2015-01-172-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44017 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add preliminary support for DIR-860L B1Felix Fietkau2015-01-176-3/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow passing parameters to padjffs2 via the pad-rootfs commandFelix Fietkau2015-01-171-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable the seama mtdsplit parserFelix Fietkau2015-01-171-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add image makefile helper function for pading with an offsetFelix Fietkau2015-01-171-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: missing symbols caused a build failJohn Crispin2015-01-171-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt76 device tree info for WSR-1166DHPFelix Fietkau2015-01-171-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt7621 pcie through device treeFelix Fietkau2015-01-172-27/+98
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Add ucidef_set_led_timer to uci-defaults.shJohn Crispin2015-01-171-0/+20
| | | | | | Signed-off-by: Gerald Kerma <dreagle@doukki.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add iperf3, a new and smaller version of iperfFelix Fietkau2015-01-171-0/+49
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix tx bql related race condition in the ethernet driverFelix Fietkau2015-01-171-4/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: bump version to 3.18.0Steven Barth2015-01-172-10/+11
| | | | | | Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove old P2812HNUFX dtsJohn Crispin2015-01-171-308/+0
| | | | | | | | 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
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix board detection for TP-LINK TL-WA860REJohn Crispin2015-01-171-0/+3
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: support and use local-service by default (#14951)Jo-Philipp Wich2015-01-163-2/+4
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: drop hacky patch making bcma init laterRafał Miłecki2015-01-162-84/+0
| | | | | | | | | | | | | 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
* config: enable EARLY_PRINTK on bcm53xx by defaultRafał Miłecki2015-01-161-0/+1
| | | | | | | | | | 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
* brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)Rafał Miłecki2015-01-1616-18/+1446
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fixups for the new driverImre Kaloz2015-01-162-4/+4
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to version 1.1.6Felix Fietkau2015-01-154-3555/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openssl: update to 1.0.1l *sigh*Steven Barth2015-01-151-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add the new tlc59116 driver and migrate the Mamba to itImre Kaloz2015-01-154-531/+401
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix disable_irq() on chained irq handlersFelix Fietkau2015-01-151-0/+93
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix disable_irq() on MIPS CPU IRQsFelix Fietkau2015-01-152-0/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)Rafał Miłecki2015-01-146-24/+192
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix irq storm issues (#18483)Felix Fietkau2015-01-142-2/+55
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: copy initramfs imagesImre Kaloz2015-01-141-0/+5
| | | | | | | | | | | 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
* mvebu: Switch to the generic mkuimage macroImre Kaloz2015-01-141-6/+3
| | | | | | | | | | | | | 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