openwrt/staging/linusw.git
9 years agobcm53xx: backport spi-nor changes and update bcm53xxspiflash
Rafał Miłecki [Wed, 17 Dec 2014 14:53:25 +0000 (14:53 +0000)]
bcm53xx: backport spi-nor changes and update bcm53xxspiflash

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43738

9 years agokernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation ...
Felix Fietkau [Wed, 17 Dec 2014 12:27:14 +0000 (12:27 +0000)]
kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43736

9 years agokirkwood: add sheevaplug and derivatives
Luka Perkov [Wed, 17 Dec 2014 08:33:55 +0000 (08:33 +0000)]
kirkwood: add sheevaplug and derivatives

Add kirkwood FDT:
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus
- Topkick1281P2

Signed-off-by: Gérald Kerma <drEagle@doukki.net>
SVN-Revision: 43735

9 years agoBelkin AC 1750 DB (F9K1115v2) support
Imre Kaloz [Wed, 17 Dec 2014 08:27:38 +0000 (08:27 +0000)]
Belkin AC 1750 DB (F9K1115v2) support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43734

9 years agodnsmasq: allow de-selecting features from -full variant.
Steven Barth [Wed, 17 Dec 2014 05:59:12 +0000 (05:59 +0000)]
dnsmasq: allow de-selecting features from -full variant.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 43733

9 years agoiproute2: bump version from 3.16.0 to 3.17.0
Steven Barth [Tue, 16 Dec 2014 12:43:50 +0000 (12:43 +0000)]
iproute2: bump version from 3.16.0 to 3.17.0

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 43731

9 years agonftables: bump to release 0.4, cleanup our patches
Steven Barth [Tue, 16 Dec 2014 09:28:59 +0000 (09:28 +0000)]
nftables: bump to release 0.4, cleanup our patches

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43730

9 years agolibnftnl: bump to upstream release 1.0.3
Steven Barth [Tue, 16 Dec 2014 09:22:49 +0000 (09:22 +0000)]
libnftnl: bump to upstream release 1.0.3

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43729

9 years agocyassl: bump to 3.3.0
Steven Barth [Tue, 16 Dec 2014 09:16:00 +0000 (09:16 +0000)]
cyassl: bump to 3.3.0

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43728

9 years agobuild: prevent spurious host-build re-builds by touching .built after the install...
Felix Fietkau [Mon, 15 Dec 2014 20:14:27 +0000 (20:14 +0000)]
build: prevent spurious host-build re-builds by touching .built after the install command before touching .installed

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43721

9 years agoralink: remove partitoon map from mt7621.dtsi
John Crispin [Mon, 15 Dec 2014 15:55:37 +0000 (15:55 +0000)]
ralink: remove partitoon map from mt7621.dtsi

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43720

9 years agobcm53xx: sysupgrade support for devices with serial flash
Rafał Miłecki [Mon, 15 Dec 2014 15:43:46 +0000 (15:43 +0000)]
bcm53xx: sysupgrade support for devices with serial flash

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43719

9 years agobrcm47xx: extract magics from specific upgrade images (and still reject them)
Rafał Miłecki [Mon, 15 Dec 2014 11:09:14 +0000 (11:09 +0000)]
brcm47xx: extract magics from specific upgrade images (and still reject them)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43718

9 years agofstools: update to latest git HEAD
John Crispin [Mon, 15 Dec 2014 10:37:14 +0000 (10:37 +0000)]
fstools: update to latest git HEAD

adds a few cleanups and extroot/ubi support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43717

9 years agouboot-envtools: enable UBI support per default on oxnas
John Crispin [Mon, 15 Dec 2014 10:37:09 +0000 (10:37 +0000)]
uboot-envtools: enable UBI support per default on oxnas

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43716

9 years agoadd "preinit_regular" diag.sh set_state argument
John Crispin [Mon, 15 Dec 2014 10:37:00 +0000 (10:37 +0000)]
add "preinit_regular" diag.sh set_state argument

This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43715

9 years agobrcm47xx: detect (and still reject for now) CyberTAN fw format
Rafał Miłecki [Mon, 15 Dec 2014 09:59:44 +0000 (09:59 +0000)]
brcm47xx: detect (and still reject for now) CyberTAN fw format

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43714

9 years agoprocd: update to latest git HEAD
John Crispin [Mon, 15 Dec 2014 09:44:01 +0000 (09:44 +0000)]
procd: update to latest git HEAD

fixes a bug where wdt write happened with no valid fd available
--> procd: WDT failed to write: Bad file descriptor

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43711

9 years agonftables: mini-bump and patch cleanup
Steven Barth [Mon, 15 Dec 2014 09:41:47 +0000 (09:41 +0000)]
nftables: mini-bump and patch cleanup

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43710

9 years agoramips: update mtd patches to apply after changes from r43700
Rafał Miłecki [Mon, 15 Dec 2014 09:10:43 +0000 (09:10 +0000)]
ramips: update mtd patches to apply after changes from r43700

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43709

9 years agobrcm47xx: use separated function in upgrade to detect file type
Rafał Miłecki [Mon, 15 Dec 2014 08:51:14 +0000 (08:51 +0000)]
brcm47xx: use separated function in upgrade to detect file type

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43708

9 years agonftables: bump to latest git, fix mini-gmp patches
Steven Barth [Sun, 14 Dec 2014 16:03:45 +0000 (16:03 +0000)]
nftables: bump to latest git, fix mini-gmp patches

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43707

9 years agolibnftnl: bump to latest git
Steven Barth [Sun, 14 Dec 2014 16:03:18 +0000 (16:03 +0000)]
libnftnl: bump to latest git

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43706

9 years agokirkwood: enable EA4500 switch on 3.18
John Crispin [Sun, 14 Dec 2014 08:57:58 +0000 (08:57 +0000)]
kirkwood: enable EA4500 switch on 3.18

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 43704

9 years agogemini: update usb driver and merge registers into one patch
John Crispin [Sun, 14 Dec 2014 08:57:52 +0000 (08:57 +0000)]
gemini: update usb driver and merge registers into one patch

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 43703

9 years agogemini: merge register ethernet patches into one
John Crispin [Sun, 14 Dec 2014 08:57:43 +0000 (08:57 +0000)]
gemini: merge register ethernet patches into one

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 43702

9 years agoralink: drop old pinmux nodes from dts files
John Crispin [Sun, 14 Dec 2014 08:57:16 +0000 (08:57 +0000)]
ralink: drop old pinmux nodes from dts files

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43701

9 years agokernel: warn users to use the new (dedicated) firmware splitter
Rafał Miłecki [Sun, 14 Dec 2014 00:35:03 +0000 (00:35 +0000)]
kernel: warn users to use the new (dedicated) firmware splitter

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43700

9 years agotoolchain: do not include libatomic.so in the libc package
Felix Fietkau [Sat, 13 Dec 2014 23:58:47 +0000 (23:58 +0000)]
toolchain: do not include libatomic.so in the libc package

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43699

9 years agonvram: remove libnvram.so, it is unused and incompatible to the broadcom API anyway
Felix Fietkau [Sat, 13 Dec 2014 23:58:35 +0000 (23:58 +0000)]
nvram: remove libnvram.so, it is unused and incompatible to the broadcom API anyway

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43698

9 years agokernel: move old firmware uimage splitter into separated patch
Rafał Miłecki [Sat, 13 Dec 2014 20:06:47 +0000 (20:06 +0000)]
kernel: move old firmware uimage splitter into separated patch

This will allow us to drop it in the future. This patch doesn't change
the final mtdpart.c, it remains the same.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43696

9 years agoscripts/config: fix segfault introduced in r43652
Felix Fietkau [Sat, 13 Dec 2014 14:01:26 +0000 (14:01 +0000)]
scripts/config: fix segfault introduced in r43652

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43695

9 years agobuild: ensure tools are built before building the toolchain
Felix Fietkau [Sat, 13 Dec 2014 11:57:14 +0000 (11:57 +0000)]
build: ensure tools are built before building the toolchain

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43693

9 years agorealview: drop old kernel configs
Felix Fietkau [Sat, 13 Dec 2014 11:55:59 +0000 (11:55 +0000)]
realview: drop old kernel configs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43692

9 years agoau1000: remove leftover 3.3 kernel config
Felix Fietkau [Sat, 13 Dec 2014 11:55:49 +0000 (11:55 +0000)]
au1000: remove leftover 3.3 kernel config

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43691

9 years agoau1000: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:55:41 +0000 (11:55 +0000)]
au1000: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43690

9 years agorb532: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:55:32 +0000 (11:55 +0000)]
rb532: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43689

9 years agoat91: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:55:24 +0000 (11:55 +0000)]
at91: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43688

9 years agobrcm2708: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:55:11 +0000 (11:55 +0000)]
brcm2708: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43687

9 years agoixp4xx: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:55:04 +0000 (11:55 +0000)]
ixp4xx: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43686

9 years agolantiq: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:54:57 +0000 (11:54 +0000)]
lantiq: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43685

9 years agompc85xx: remove linux 3.10 support
Felix Fietkau [Sat, 13 Dec 2014 11:54:49 +0000 (11:54 +0000)]
mpc85xx: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43684

9 years agonetlogic: fix XLR network driver build
Florian Fainelli [Sat, 13 Dec 2014 08:08:30 +0000 (08:08 +0000)]
netlogic: fix XLR network driver build

Backport an upstream submission to fix xlr_net

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43682

9 years agoramips:Add support for Aigale Ai-BR100
John Crispin [Sat, 13 Dec 2014 08:07:03 +0000 (08:07 +0000)]
ramips:Add support for Aigale Ai-BR100

Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 43681

9 years agomxs: indention and whitespace fixes
John Crispin [Sat, 13 Dec 2014 08:06:22 +0000 (08:06 +0000)]
mxs: indention and whitespace fixes

Align this file with the style of most other modules.mk.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43680

9 years agoar71xx: add an extra check on board_name for ath10k firmware patchs
John Crispin [Sat, 13 Dec 2014 08:06:01 +0000 (08:06 +0000)]
ar71xx: add an extra check on board_name for ath10k firmware patchs

It moves firmware patch code behind an extra check on board_name.
Otherwise it will calculate firmware checksum for unaffected boards.
It also reduce boottime by a md5 calculation and removes error message
on boot if firmware not found.

SVN-Revision: 43679

9 years agooxnas: fix gpio-fan on kd20
John Crispin [Sat, 13 Dec 2014 08:04:54 +0000 (08:04 +0000)]
oxnas: fix gpio-fan on kd20

define speed-map and include kmod-hwmon-gpiofan in kd20 profile

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43678

9 years agooxnas: also make use of the GPIO poweroff driver
John Crispin [Sat, 13 Dec 2014 08:02:52 +0000 (08:02 +0000)]
oxnas: also make use of the GPIO poweroff driver

Works great to power-off the kd20 ;)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43677

9 years agokernel/generic: remove some left-over garbage from ledtrig patch
John Crispin [Sat, 13 Dec 2014 08:00:22 +0000 (08:00 +0000)]
kernel/generic: remove some left-over garbage from ledtrig patch

cosmetics. clean a style issue introduced by r43674.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43676

9 years agooxnas: use libata ledtrig support for kd20 hdd leds
John Crispin [Fri, 12 Dec 2014 20:24:33 +0000 (20:24 +0000)]
oxnas: use libata ledtrig support for kd20 hdd leds

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43675

9 years agokernel/generic: add ledtrig support to libata
John Crispin [Fri, 12 Dec 2014 20:24:21 +0000 (20:24 +0000)]
kernel/generic: add ledtrig support to libata

SVN-Revision: 43674

9 years agooxnas: clean up default package selection
John Crispin [Fri, 12 Dec 2014 20:24:13 +0000 (20:24 +0000)]
oxnas: clean up default package selection

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43673

9 years agokernel.mk: Handle the x86_64 LINUX_KARCH case
Felix Fietkau [Fri, 12 Dec 2014 18:28:13 +0000 (18:28 +0000)]
kernel.mk: Handle the x86_64 LINUX_KARCH case

x64 is handled by the x86 architecture in Linux, add a case for it in
LINUX_KARCH.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
SVN-Revision: 43672

9 years agokernel.mk: Refactor LINUX_KARCH affectation
Felix Fietkau [Fri, 12 Dec 2014 18:28:03 +0000 (18:28 +0000)]
kernel.mk: Refactor LINUX_KARCH affectation

Switch to a dumber implementation that will be easier to maintain in the long
run, with only if statements instead of having nested subst calls.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
SVN-Revision: 43671

9 years agokirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
John Crispin [Fri, 12 Dec 2014 17:14:14 +0000 (17:14 +0000)]
kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file

Signed-off-by: Richard Kunze <richard.kunze@web.de>
SVN-Revision: 43670

9 years agogcc: don't clobber stamp-bits with a symlink to itself
Felix Fietkau [Fri, 12 Dec 2014 17:01:57 +0000 (17:01 +0000)]
gcc: don't clobber stamp-bits with a symlink to itself

Several versions of gcc have an issue in libstdc++v3 where the build may
clobber stamp-bits with a link to itself.  This doesn't manifest itself
on all systems.  On several Ubuntu systems, this doesn't appear to be a
problem, but it is an issue on Fedora 16 systems.

To fix the issue, we'll simply filter out stamp-bits from the symlinks
to be generated.

Note: gcc 4.4.7 is unaffected by this issue, so no fix is necessary
there.

Signed-off-by: John Szakmeister <john@szakmeister.net>
SVN-Revision: 43669

9 years agoar8216: enable cpu port to receive arp and broadcast frames for ar8236
Felix Fietkau [Fri, 12 Dec 2014 16:23:29 +0000 (16:23 +0000)]
ar8216: enable cpu port to receive arp and broadcast frames for ar8236

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
SVN-Revision: 43668

9 years agoralink: fix lenovo y1 wan port mapping
John Crispin [Fri, 12 Dec 2014 16:17:31 +0000 (16:17 +0000)]
ralink: fix lenovo y1 wan port mapping

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43667

9 years agoiwinfo: bump to latest git HEAD
John Crispin [Fri, 12 Dec 2014 16:17:24 +0000 (16:17 +0000)]
iwinfo: bump to latest git HEAD

http://patchwork.ozlabs.org/patch/420128/

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43666

9 years agooxnas: build S-ATA driver as a module
John Crispin [Fri, 12 Dec 2014 16:17:13 +0000 (16:17 +0000)]
oxnas: build S-ATA driver as a module

 From: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43665

9 years agoralink: make uartf functional on AWM002
John Crispin [Fri, 12 Dec 2014 16:17:03 +0000 (16:17 +0000)]
ralink: make uartf functional on AWM002

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43664

9 years agooxnas: use u-boot.bin in KDIR
John Crispin [Fri, 12 Dec 2014 16:16:57 +0000 (16:16 +0000)]
oxnas: use u-boot.bin in KDIR

This fixes building *u-boot-initramfs.bin images using ImageBuilder

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43663

9 years agouboot-oxnas: install u-boot.bin also to KERNEL_BUILD_DIR
John Crispin [Fri, 12 Dec 2014 16:16:45 +0000 (16:16 +0000)]
uboot-oxnas: install u-boot.bin also to KERNEL_BUILD_DIR

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43662

9 years agosunxi: fix led on bananapi
Zoltan Herpai [Fri, 12 Dec 2014 16:11:17 +0000 (16:11 +0000)]
sunxi: fix led on bananapi

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43661

9 years agoigmpproxy: do not attempt to ifstatus error messages as json
Felix Fietkau [Fri, 12 Dec 2014 14:52:29 +0000 (14:52 +0000)]
igmpproxy: do not attempt to ifstatus error messages as json

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43660

9 years agoigmpproxy: do not start instance if no upstream interface is available
Felix Fietkau [Fri, 12 Dec 2014 14:52:24 +0000 (14:52 +0000)]
igmpproxy: do not start instance if no upstream interface is available

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43659

9 years agoigmpproxy: fix init script indentation
Felix Fietkau [Fri, 12 Dec 2014 14:52:18 +0000 (14:52 +0000)]
igmpproxy: fix init script indentation

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43658

9 years agomxs: allow bootloader to pass kernel cmdline
Zoltan Herpai [Fri, 12 Dec 2014 13:37:21 +0000 (13:37 +0000)]
mxs: allow bootloader to pass kernel cmdline

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43657

9 years agomxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding
Zoltan Herpai [Fri, 12 Dec 2014 13:18:29 +0000 (13:18 +0000)]
mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding

Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43656

9 years agoscripts/config: remove debug statement
Jo-Philipp Wich [Fri, 12 Dec 2014 12:37:51 +0000 (12:37 +0000)]
scripts/config: remove debug statement

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43655

9 years agoscripts/download.pl: add support for adding mirrors through an environment variable
Felix Fietkau [Fri, 12 Dec 2014 12:35:23 +0000 (12:35 +0000)]
scripts/download.pl: add support for adding mirrors through an environment variable

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43654

9 years agobusybox: include config files relative to the main Config.in (#18522)
Jo-Philipp Wich [Fri, 12 Dec 2014 12:33:34 +0000 (12:33 +0000)]
busybox: include config files relative to the main Config.in (#18522)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43653

9 years agoscripts/config: support includes relative to the currently processed file
Jo-Philipp Wich [Fri, 12 Dec 2014 12:29:58 +0000 (12:29 +0000)]
scripts/config: support includes relative to the currently processed file

When the initial glob() attempt on a path specified with "source" statement
yields no result, then retry the globbing on the same path with the directory
part of the currently processed file prepended.

This allows us to reference Config.in files relative to their parent instead
of relative to the top dir.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43652

9 years agomxs: add i2c and spi packages to profiles
Zoltan Herpai [Fri, 12 Dec 2014 12:14:40 +0000 (12:14 +0000)]
mxs: add i2c and spi packages to profiles

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43651

9 years agomxs: fix automatic status led detection
Zoltan Herpai [Fri, 12 Dec 2014 12:01:39 +0000 (12:01 +0000)]
mxs: fix automatic status led detection

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43650

9 years agomxs: update dts file for Duckbill
Zoltan Herpai [Fri, 12 Dec 2014 11:43:56 +0000 (11:43 +0000)]
mxs: update dts file for Duckbill

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43649

9 years agomxs: i2c changes - add package for i2c module - remove i2c debug
Zoltan Herpai [Fri, 12 Dec 2014 11:39:22 +0000 (11:39 +0000)]
mxs: i2c changes - add package for i2c module - remove i2c debug

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43648

9 years agomxs: add kernel module for spi interface
Zoltan Herpai [Fri, 12 Dec 2014 11:10:04 +0000 (11:10 +0000)]
mxs: add kernel module for spi interface

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43647

9 years agomxs: make boardname consistent with other targets
Zoltan Herpai [Fri, 12 Dec 2014 11:03:55 +0000 (11:03 +0000)]
mxs: make boardname consistent with other targets

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43646

9 years agonetifd: Set source IP for DHCP static routes as well
Steven Barth [Fri, 12 Dec 2014 09:39:07 +0000 (09:39 +0000)]
netifd: Set source IP for DHCP static routes as well

Commit ce92f6650bd8a86db04c7a6cbb58e7fdb200a7e6 added source IP support
for DHCP default routes. As a side effect of this change the default route
could be present twice in netifd (once with source IP set and once with
source IP unset) if it was sent by the server in both the router and static
route options. Therefore add source IP support as well for static routes as this
case was not considered. Additional remove unused parameter type.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 43645

9 years agokernel: refresh patches
Luka Perkov [Thu, 11 Dec 2014 23:29:07 +0000 (23:29 +0000)]
kernel: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43643

9 years agokirkwood: sort 110-nas profile
Luka Perkov [Thu, 11 Dec 2014 23:29:04 +0000 (23:29 +0000)]
kirkwood: sort 110-nas profile

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43642

9 years agoau1000: revert 43626 due to syntax errors
John Crispin [Thu, 11 Dec 2014 22:27:56 +0000 (22:27 +0000)]
au1000: revert 43626 due to syntax errors

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43641

9 years agooxnas: use ARM BCJ filter for XZ decompression
John Crispin [Thu, 11 Dec 2014 20:41:51 +0000 (20:41 +0000)]
oxnas: use ARM BCJ filter for XZ decompression

Restoring the config for kernel 3.14 didn't contain that change already
made to config-3.18.
It is needed to make squashfs in the kernel match the compression settings
for ARCH=arm in the framework.
If set to ARMTHUMB, boot fails due to squashfs being unreadable if the
filesystem was generated for wth ARM BCJ filter.

in include/image.mk:    BCJ_FILTER:=-Xbcj $(LINUX_KARCH)
Thus the ARM filter is used for all ARM targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43640

9 years agobcm53xx: failsafe support
Rafał Miłecki [Thu, 11 Dec 2014 20:31:07 +0000 (20:31 +0000)]
bcm53xx: failsafe support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43639

9 years agocfg80211: add support for changing the device mac address via sysfs
Felix Fietkau [Thu, 11 Dec 2014 20:07:58 +0000 (20:07 +0000)]
cfg80211: add support for changing the device mac address via sysfs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43638

9 years agoxburst: fix subtarget config file names
Felix Fietkau [Thu, 11 Dec 2014 20:07:52 +0000 (20:07 +0000)]
xburst: fix subtarget config file names

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43637

9 years agox86: remove linux 3.10 support
Felix Fietkau [Thu, 11 Dec 2014 20:07:45 +0000 (20:07 +0000)]
x86: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43636

9 years agoocteon: remove linux 3.10 support
Felix Fietkau [Thu, 11 Dec 2014 20:07:39 +0000 (20:07 +0000)]
octeon: remove linux 3.10 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43635

9 years agoadm8668: remove linux 3.3 support
Felix Fietkau [Thu, 11 Dec 2014 20:07:31 +0000 (20:07 +0000)]
adm8668: remove linux 3.3 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43634

9 years agolibnl-tiny: fix receiving netlink messages larger than 4K
Jonas Gorski [Thu, 11 Dec 2014 19:35:48 +0000 (19:35 +0000)]
libnl-tiny: fix receiving netlink messages larger than 4K

Apply libnl commit 807fddc4cd9ecb12ba64e1b7fa26d86b6c2f19b0 ("nl:
Increase receive buffer size to 4 pages") also to libnl-tiny to ensure
netlink messages larger than 4KiB can be received, as the restart logic
seems to be broken.

This fixes iwinfo accessing info on dual band b43 cards, as they can
support a lot of channels, breaking the 4K default limit (seen was >5k).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43633

9 years agoar7: remove config-3.10
Jonas Gorski [Thu, 11 Dec 2014 19:35:43 +0000 (19:35 +0000)]
ar7: remove config-3.10

Remove a leftover file from the 3.10 support removal.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43632

9 years agokernel/acx-mac80211: fix autoloading on boot
Jonas Gorski [Thu, 11 Dec 2014 19:35:36 +0000 (19:35 +0000)]
kernel/acx-mac80211: fix autoloading on boot

The kernel build system cannot track dependencies of out-of-tree
modules, making the buildsystem fail to load mac80211.

Add mac80211 as an explicit load to ensure all required modules are
loaded.

Fixes #16522.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43631

9 years agonetlogic: sync kernel config
John Crispin [Thu, 11 Dec 2014 18:58:12 +0000 (18:58 +0000)]
netlogic: sync kernel config

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43630

9 years agoralink: mt7621 was missing a symbol that made the CC builder fail
John Crispin [Thu, 11 Dec 2014 18:54:30 +0000 (18:54 +0000)]
ralink: mt7621 was missing a symbol that made the CC builder fail

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43629

9 years agomcp85xx/p1020: fixup config-default
John Crispin [Thu, 11 Dec 2014 18:39:22 +0000 (18:39 +0000)]
mcp85xx/p1020: fixup config-default

this was missed during the 3.14 bump

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43628

9 years agokernel/modules: fix chipidea
John Crispin [Thu, 11 Dec 2014 18:35:41 +0000 (18:35 +0000)]
kernel/modules: fix chipidea

it should needs to depend on imx and mxs

also remove duplicate kmod definition from mxs target

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43627

9 years agoau1000: distinguish different models and set correct MAC-address
John Crispin [Thu, 11 Dec 2014 18:28:44 +0000 (18:28 +0000)]
au1000: distinguish different models and set correct MAC-address

The target au1000 has at least 2 different models, the
'InternetBox' and the 'MeshCube' which look very similar
from the kernel point of view but are totally different
devices which base on the same design. Populating /tmp/sysinfo
now. The 1st one has an issue which leads to a random
mac-address after each boot which is corrected now via
reading the bootloader-env. The real fix would be
converting to DTS, this is only a workaround now.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 43626

9 years agompc85xx: fix another typo in the image makefile
Felix Fietkau [Thu, 11 Dec 2014 18:18:16 +0000 (18:18 +0000)]
mpc85xx: fix another typo in the image makefile

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43625

9 years agompc85xx: add missing devicetree ranges property for ethernet devices
Felix Fietkau [Thu, 11 Dec 2014 18:18:10 +0000 (18:18 +0000)]
mpc85xx: add missing devicetree ranges property for ethernet devices

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43624