openwrt.git
7 years agomalta: add more 3.14 kernel symbols
luka [Sun, 30 Nov 2014 03:51:43 +0000 (03:51 +0000)]
malta: add more 3.14 kernel symbols

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43435 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: change CRC32 implementation to CRC32_SLICEBY8
luka [Sun, 30 Nov 2014 01:20:38 +0000 (01:20 +0000)]
kirkwood: change CRC32 implementation to CRC32_SLICEBY8

At least on my Iomega ix2-200 system, this makes btrfs writes about 30% faster.

Signed-off-by: Richard Kunze <richard.kunze@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43434 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouboot-envtools: bump to 2014.10
luka [Sun, 30 Nov 2014 01:14:17 +0000 (01:14 +0000)]
uboot-envtools: bump to 2014.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43433 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: refresh kernel config
luka [Sun, 30 Nov 2014 01:14:14 +0000 (01:14 +0000)]
kirkwood: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43432 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogeneric: set CONFIG_GENERIC_NET_UTILS
luka [Sun, 30 Nov 2014 01:14:12 +0000 (01:14 +0000)]
generic: set CONFIG_GENERIC_NET_UTILS

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43431 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[package] uboot-*: update license info in uboot packages
luka [Sat, 29 Nov 2014 23:45:53 +0000 (23:45 +0000)]
[package] uboot-*: update license info in uboot packages

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43429 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[tools] mkimage: update to 2014.10
luka [Sat, 29 Nov 2014 22:43:59 +0000 (22:43 +0000)]
[tools] mkimage: update to 2014.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43428 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: update 3.14 to 3.14.25
luka [Sat, 29 Nov 2014 10:30:58 +0000 (10:30 +0000)]
kernel: update 3.14 to 3.14.25

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43427 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomalta: add support for 3.14
luka [Sat, 29 Nov 2014 10:30:55 +0000 (10:30 +0000)]
malta: add support for 3.14

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43426 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomalta: drop 3.12 config file
luka [Sat, 29 Nov 2014 10:30:52 +0000 (10:30 +0000)]
malta: drop 3.12 config file

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43425 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoprocd: fix typo in nand.sh s/TRX/TAR/
rmilecki [Fri, 28 Nov 2014 19:13:24 +0000 (19:13 +0000)]
procd: fix typo in nand.sh s/TRX/TAR/

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43423 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86: add support for 3.14
luka [Fri, 28 Nov 2014 17:53:50 +0000 (17:53 +0000)]
x86: add support for 3.14

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43422 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agontp: add hotplug class for ntp-events
cyrus [Fri, 28 Nov 2014 11:41:25 +0000 (11:41 +0000)]
ntp: add hotplug class for ntp-events

Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43421 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: 3.18: Fix patch 644 dependency chain
florian [Fri, 28 Nov 2014 01:29:51 +0000 (01:29 +0000)]
kernel: 3.18: Fix patch 644 dependency chain

This patch introduces some code that is compiled in whenever
CONFIG_BRIDGE_NETFILTER is built, with the code called from code compiled under
CONFIG_BRIDGE, CONFIG_BRIDGE_IGMP_SNOOPING or CONFIG_BRIDGE_NF_EBTABLES.

Unfortunately, these options aren't setting explicitly the dependency they now
have on CONFIG_BRIDGE_NETFILTER, for obvious reasons for CONFIG_BRIDGE.

However, this is not working really well when CONFIG_BRIDGE_NETFILTER is built
as a module, since code statically compiled will now use a function that is not
in the kernel image, which makes the linker grumpy.

Solve this by removing the option to build CONFIG_BRIDGE_NETFILTER as a module,
and protect our function definition by an IS_BUILTIN instead of a IS_ENABLED
macro. This fixes the issue for CONFIG_BRIDGE and CONFIG_BRIDGE_IGMP_SNOOPING.

Fixing CONFIG_BRIDGE_NF_EBTABLES has to be handled a bit differently, since it
directly references a variable that will not be declared if
CONFIG_BRIDGE_NETFILTER is not set. Protect the variable affectations by an
ifdef to make sure this doesn't happen.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43419 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agodevel: import perf from oldpackages
florian [Fri, 28 Nov 2014 01:29:41 +0000 (01:29 +0000)]
devel: import perf from oldpackages

perf was in the oldpackages repository, but it makes more sense to have
it part of the default package set since we build it from the Linux
kernel sources.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43418 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoscripts/config.sub: add back musl support that was accidentally dropped in r43353
nbd [Fri, 28 Nov 2014 00:59:57 +0000 (00:59 +0000)]
scripts/config.sub: add back musl support that was accidentally dropped in r43353

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

7 years agoodhcp6c: avoid busylooping with strangely behaving dhcpv6 servers
cyrus [Fri, 28 Nov 2014 00:39:19 +0000 (00:39 +0000)]
odhcp6c: avoid busylooping with strangely behaving dhcpv6 servers

Thanks to Dave Taht for debugging and thanks to Comcast for
shipping strangely behaving software so I can fix some corner cases.

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43415 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: fix PCIe->PCI bridge access (fixes #18422)
nbd [Thu, 27 Nov 2014 20:54:18 +0000 (20:54 +0000)]
cns3xxx: fix PCIe->PCI bridge access (fixes #18422)

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

7 years agompc85xx: update to linux 3.14
nbd [Thu, 27 Nov 2014 18:26:24 +0000 (18:26 +0000)]
mpc85xx: update to linux 3.14

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

7 years agompc85xx: refresh linux 3.14 patches
nbd [Thu, 27 Nov 2014 18:26:17 +0000 (18:26 +0000)]
mpc85xx: refresh linux 3.14 patches

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

7 years agompc85xx: remove the PHY reset change patch (no longer necessary)
nbd [Thu, 27 Nov 2014 18:26:12 +0000 (18:26 +0000)]
mpc85xx: remove the PHY reset change patch (no longer necessary)

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

7 years agoar8216: suppress PHY reset for linux 3.14
nbd [Thu, 27 Nov 2014 18:26:06 +0000 (18:26 +0000)]
ar8216: suppress PHY reset for linux 3.14

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

7 years agokernel: backport patches for overriding PHY reset to 3.14
nbd [Thu, 27 Nov 2014 18:26:00 +0000 (18:26 +0000)]
kernel: backport patches for overriding PHY reset to 3.14

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

7 years agomac80211: update regdb to master-2014-11-18
nbd [Thu, 27 Nov 2014 17:26:06 +0000 (17:26 +0000)]
mac80211: update regdb to master-2014-11-18

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

7 years agomt76: fix a compile error on 3.18
nbd [Thu, 27 Nov 2014 16:35:23 +0000 (16:35 +0000)]
mt76: fix a compile error on 3.18

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

7 years agocns3xxx: add experimental 3.18 support
nbd [Thu, 27 Nov 2014 16:24:32 +0000 (16:24 +0000)]
cns3xxx: add experimental 3.18 support

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

7 years agokernel: add missing KEEP() statements for gc-sections patch in 3.18
nbd [Thu, 27 Nov 2014 16:24:25 +0000 (16:24 +0000)]
kernel: add missing KEEP() statements for gc-sections patch in 3.18

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

7 years agokernel: keep __bug_table with gc-sections
nbd [Thu, 27 Nov 2014 15:02:11 +0000 (15:02 +0000)]
kernel: keep __bug_table with gc-sections

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

7 years agocns3xxx: fix pcie root bridge topology
nbd [Thu, 27 Nov 2014 15:02:05 +0000 (15:02 +0000)]
cns3xxx: fix pcie root bridge topology

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

7 years agofirmware-utils: remove dependency on error.h in tplink-safeloader
nbd [Thu, 27 Nov 2014 15:01:56 +0000 (15:01 +0000)]
firmware-utils: remove dependency on error.h in tplink-safeloader

Fixes build on Mac OS X

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

7 years ago[ar71xx]: add D-link DGL-5500 A1 support
kaloz [Thu, 27 Nov 2014 14:27:34 +0000 (14:27 +0000)]
[ar71xx]: add D-link DGL-5500 A1 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43401 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: correctly handle source-parameter for IPv4 routes
cyrus [Thu, 27 Nov 2014 07:26:10 +0000 (07:26 +0000)]
netifd: correctly handle source-parameter for IPv4 routes

Thanks to Kristian Evensen

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43400 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocns3xxx: add missing dma mask for ethernet device
nbd [Wed, 26 Nov 2014 18:48:05 +0000 (18:48 +0000)]
cns3xxx: add missing dma mask for ethernet device

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

7 years agocns3xxx: switch to using the upstream dwc2 driver instead of dwc_otg
nbd [Wed, 26 Nov 2014 18:01:38 +0000 (18:01 +0000)]
cns3xxx: switch to using the upstream dwc2 driver instead of dwc_otg

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

7 years agocns3xxx: update to linux 3.14
nbd [Wed, 26 Nov 2014 18:01:29 +0000 (18:01 +0000)]
cns3xxx: update to linux 3.14

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

7 years agocns3xxx: remove bogus image added in r38703
nbd [Wed, 26 Nov 2014 18:01:18 +0000 (18:01 +0000)]
cns3xxx: remove bogus image added in r38703

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

7 years agocns3xxx: set base device for ethernet port netdevs
nbd [Wed, 26 Nov 2014 18:01:07 +0000 (18:01 +0000)]
cns3xxx: set base device for ethernet port netdevs

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

7 years agocns3xxx: fix passing the device to dma mapping ops
nbd [Wed, 26 Nov 2014 18:00:52 +0000 (18:00 +0000)]
cns3xxx: fix passing the device to dma mapping ops

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

7 years ago[ar71xx]: fix the r6100's wan led name
kaloz [Wed, 26 Nov 2014 11:38:59 +0000 (11:38 +0000)]
[ar71xx]: fix the r6100's wan led name

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43393 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouboot-omap: add C4 revision in findfdt
blogic [Wed, 26 Nov 2014 09:00:56 +0000 (09:00 +0000)]
uboot-omap: add C4 revision in findfdt

fixes BeagleBoard C4 detection

error message in serial console was:
"WARNING: Could not determine device tree to use"

change is found in upstream u-boot

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43392 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: Add support for Iomega StorCenter ix2-200
blogic [Wed, 26 Nov 2014 09:00:48 +0000 (09:00 +0000)]
kirkwood: Add support for Iomega StorCenter ix2-200

Signed-off-by: Richard Kunze <richard.kunze@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43391 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouboot-envtools: add support for oxnas target
blogic [Wed, 26 Nov 2014 09:00:40 +0000 (09:00 +0000)]
uboot-envtools: add support for oxnas target

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43390 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoadd uboot-oxnas
blogic [Wed, 26 Nov 2014 09:00:17 +0000 (09:00 +0000)]
add uboot-oxnas

This adds support for the oxnas target in U-Boot 2014.04
History can be found at https://github.com/kref/u-boot-oxnas up to 2013.10
changes from 2013.10 to 2014.04 can be followed at
https://gitorious.org/openwrt-oxnas

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43389 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoadd new target 'oxnas'
blogic [Wed, 26 Nov 2014 09:00:08 +0000 (09:00 +0000)]
add new target 'oxnas'

This is the oxnas target previously developed at
http://gitorious.org/openwrt-oxnas
Basically, this consolidates the changes and addtionas from
http://github.org/kref/linux-oxnas
into a new OpenWrt hardware target 'oxnas' adding support for
 PLX Technology NAS7820/NAS7821/NAS7825/...
formally known as
 Oxford Semiconductor OXE810SE/OXE815/OX820/...

For now there are 4 supported boards:
Cloud Engines Pogoplug V3 (without PCIe)
 fully supported

Cloud Engines Pogoplug Pro (with PCIe)
 fully supported

MitraStar STG-212
 aka ZyXEL NSA-212,
 aka Medion Akoya P89625 / P89636 / P89626 / P89630,
 aka Medion MD 86407 / MD 86805 / MD 86517 / MD 86587
 fully supported, see http://wiki.openwrt.org/toh/medion/md86587

Shuttle KD-20
 partially supported (S-ATA driver lacks support for 2nd port)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43388 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotarget.mk: add default packages for NAS device-type
blogic [Wed, 26 Nov 2014 08:59:49 +0000 (08:59 +0000)]
target.mk: add default packages for NAS device-type

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43387 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: unset CONFIG_ARM_CCN
blogic [Wed, 26 Nov 2014 08:59:41 +0000 (08:59 +0000)]
kernel: unset CONFIG_ARM_CCN

oldconfig kept asking for that config symbol...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43386 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: add support for TP-LINK CPE210/220/510/520
blogic [Wed, 26 Nov 2014 08:59:32 +0000 (08:59 +0000)]
ar71xx: add support for TP-LINK CPE210/220/510/520

This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These
devices are very similar to the Ubiquiti NanoStations, but with better specs:
faster CPU, more RAM, 2x2 MIMO.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43385 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agofirmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices...
blogic [Wed, 26 Nov 2014 08:59:22 +0000 (08:59 +0000)]
firmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices (CPE210/220/510/520)

The new TP-LINK Pharos series uses a new bootloader, the "TP-LINK Safeloader".
It uses an advanced firmware image format, containing an image partition table
and a flash partition table (and image partitions are mapped to the
corresponding flash partitions). The exact image format is documented in the
source code.

Furthermore, the bootloader expects the kernel image as an ELF executable.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43384 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomtd: fix 2 compiler warnings
blogic [Wed, 26 Nov 2014 08:59:17 +0000 (08:59 +0000)]
mtd: fix 2 compiler warnings

mtd.c:544:7: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ssize_t’ [-Wformat]
mtd.c:602:1: warning: label ‘done’ defined but not used [-Wunused-label]

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43383 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[ar71xx]: Netgear R6100 support
kaloz [Wed, 26 Nov 2014 08:28:22 +0000 (08:28 +0000)]
[ar71xx]: Netgear R6100 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43382 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouqmi: update to the latest version, also set 802.3 data format via the WDA service
nbd [Tue, 25 Nov 2014 20:34:08 +0000 (20:34 +0000)]
uqmi: update to the latest version, also set 802.3 data format via the WDA service

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

7 years agobrcm63xx: uci-defaults: network: move DSL-274x1 F1 to right section
jogo [Tue, 25 Nov 2014 19:07:02 +0000 (19:07 +0000)]
brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right section

The cpu port is at 8, not 5.

Fixes #18406.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43379 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: unify dt image generation
jogo [Tue, 25 Nov 2014 19:06:51 +0000 (19:06 +0000)]
brcm63xx: unify dt image generation

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43378 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: move rsa signature to additional options
jogo [Tue, 25 Nov 2014 19:06:43 +0000 (19:06 +0000)]
brcm63xx: move rsa signature to additional options

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43377 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: fix image generation
jogo [Tue, 25 Nov 2014 19:06:38 +0000 (19:06 +0000)]
brcm63xx: fix image generation

This fixes build issues introduced on r43361.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43376 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[generic/3.18]: rename overlayfs' symbol
kaloz [Mon, 24 Nov 2014 22:09:47 +0000 (22:09 +0000)]
[generic/3.18]: rename overlayfs' symbol

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43375 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: fix pci reset patch
blogic [Mon, 24 Nov 2014 20:39:48 +0000 (20:39 +0000)]
ralink: fix pci reset patch

sorry, forgot to make target/update before commiting the last patch

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43374 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoprocd: fix/clean some conditions in nand.sh
blogic [Mon, 24 Nov 2014 19:14:29 +0000 (19:14 +0000)]
procd: fix/clean some conditions in nand.sh

1) nand_upgrade_tar: use a simpler condition that matches if () { }
   logic and fix check of $kernel_length variable
2) nand_do_upgrade_stage2: use case, otherwise one could believe we
   always call nand_upgrade_tar

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43373 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoprocd: document nand.sh a bit
blogic [Mon, 24 Nov 2014 19:14:17 +0000 (19:14 +0000)]
procd: document nand.sh a bit

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43372 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agompc85xx: fix missing dts target for kernel 3.14
blogic [Mon, 24 Nov 2014 19:12:46 +0000 (19:12 +0000)]
mpc85xx: fix missing dts target for kernel 3.14

With kernel 3.14 dts target p1010rdb was renamed to p1010rdb-pa.
To maintain compatibility define p1010rdb-pa as new standard and
copy p1010rdb.dts to p1010rdb-pa.dts under 3.10.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43371 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: add proper reset of pci core
blogic [Mon, 24 Nov 2014 19:12:35 +0000 (19:12 +0000)]
ralink: add proper reset of pci core

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43370 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoimx6: make the default config bootable on ventana
blogic [Mon, 24 Nov 2014 19:12:19 +0000 (19:12 +0000)]
imx6: make the default config bootable on ventana

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43369 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agofstools: update to the latest version, fixes overlayfs mount on 3.18
nbd [Mon, 24 Nov 2014 17:18:32 +0000 (17:18 +0000)]
fstools: update to the latest version, fixes overlayfs mount on 3.18

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

7 years agomac80211: fix a crash on getting the channel in WDS AP mode (#18400)
nbd [Mon, 24 Nov 2014 17:13:54 +0000 (17:13 +0000)]
mac80211: fix a crash on getting the channel in WDS AP mode (#18400)

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

7 years ago[mvebu]: add initial 3.18 support
kaloz [Mon, 24 Nov 2014 16:00:41 +0000 (16:00 +0000)]
[mvebu]: add initial 3.18 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43366 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[base-files]: fix sysupgrade on overlayfs v23+
kaloz [Mon, 24 Nov 2014 15:55:52 +0000 (15:55 +0000)]
[base-files]: fix sysupgrade on overlayfs v23+

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43365 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: do not build images for unsupported routers
jogo [Mon, 24 Nov 2014 14:44:46 +0000 (14:44 +0000)]
brcm63xx: do not build images for unsupported routers

If there is no board support in the kernel, it does not make sense to
build images for devices. So drop any images for board ids for which
there are nc corresponding board_info structs in the kernel.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43364 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: refresh patches
jogo [Mon, 24 Nov 2014 14:44:40 +0000 (14:44 +0000)]
brcm63xx: refresh patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43363 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add DT support for SPW303V
jogo [Mon, 24 Nov 2014 14:44:33 +0000 (14:44 +0000)]
brcm63xx: Add DT support for SPW303V

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43362 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add DT support for DV-201AMR
jogo [Mon, 24 Nov 2014 14:44:28 +0000 (14:44 +0000)]
brcm63xx: Add DT support for DV-201AMR

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43361 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add DT support for RG100A
jogo [Mon, 24 Nov 2014 14:44:23 +0000 (14:44 +0000)]
brcm63xx: Add DT support for RG100A

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43360 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add DT support for A226G/M
jogo [Mon, 24 Nov 2014 14:44:19 +0000 (14:44 +0000)]
brcm63xx: Add DT support for A226G/M

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43359 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm63xx: Add DT support for AGPF-S0
jogo [Mon, 24 Nov 2014 14:44:12 +0000 (14:44 +0000)]
brcm63xx: Add DT support for AGPF-S0

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43358 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years ago[generic]: update .18 support for -rc6
kaloz [Mon, 24 Nov 2014 10:17:33 +0000 (10:17 +0000)]
[generic]: update .18 support for -rc6

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43357 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: Fix issue with autoneg being disabled under 3.14, revert 43332
nbd [Mon, 24 Nov 2014 09:33:48 +0000 (09:33 +0000)]
ar8216: Fix issue with autoneg being disabled under 3.14, revert 43332

Patch reverts 43332 which seems to cause issues with VLAN functionality.
Add a specific check to check whether ANEG is still enabled and re-enable
it if necessary. Disable generic phy soft reset for kernel >=3.16.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43356 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoarm64: add ARM 64-bits target
florian [Mon, 24 Nov 2014 06:34:07 +0000 (06:34 +0000)]
arm64: add ARM 64-bits target

This target can be emulated using ARM's Foundation_V8 simulator
software or qemu-system-aarch64 using the command-line described in the
README file.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43355 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibbsd: add support for aarch64
florian [Mon, 24 Nov 2014 06:33:34 +0000 (06:33 +0000)]
libbsd: add support for aarch64

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43354 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoaarch64: add initial support
florian [Mon, 24 Nov 2014 06:33:13 +0000 (06:33 +0000)]
aarch64: add initial support

Add initial support for the AArch64 architecture

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43353 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoeglibc: enforce use of autoconf-2.69
florian [Mon, 24 Nov 2014 02:06:20 +0000 (02:06 +0000)]
eglibc: enforce use of autoconf-2.69

Since we updated autoconf in r42855 we also need to enforce its use
while building eglibc to allow it to build successfully.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43352 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibubox: fix a variable handling regression in jshn
nbd [Sun, 23 Nov 2014 22:53:14 +0000 (22:53 +0000)]
libubox: fix a variable handling regression in jshn

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

7 years agolibubox: update to the latest version, adds some jshn optimizations
nbd [Sun, 23 Nov 2014 20:10:07 +0000 (20:10 +0000)]
libubox: update to the latest version, adds some jshn optimizations

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

7 years agolzo: disable unaligned access for everything except x86
nbd [Sun, 23 Nov 2014 20:10:02 +0000 (20:10 +0000)]
lzo: disable unaligned access for everything except x86

Fixes issues on ARM

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

7 years agobusybox: turn on BUSYBOX_DEFAULT_FEATURE_SH_NOFORK to slightly improve performance
nbd [Sun, 23 Nov 2014 20:09:56 +0000 (20:09 +0000)]
busybox: turn on BUSYBOX_DEFAULT_FEATURE_SH_NOFORK to slightly improve performance

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

7 years agoar71xx: merge changes from 3.10 that were forgotten for 3.14
nbd [Sun, 23 Nov 2014 16:27:19 +0000 (16:27 +0000)]
ar71xx: merge changes from 3.10 that were forgotten for 3.14

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

7 years agonetifd: update to the latest version, fixes issues when changing a bridge member...
nbd [Sun, 23 Nov 2014 16:07:00 +0000 (16:07 +0000)]
netifd: update to the latest version, fixes issues when changing a bridge member from a vlan to its base device (#18351)

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

7 years agohostapd: fix build error on some variants with CONFIG_WPA_RFKILL_SUPPORT=y (#17765)
nbd [Sun, 23 Nov 2014 14:16:47 +0000 (14:16 +0000)]
hostapd: fix build error on some variants with CONFIG_WPA_RFKILL_SUPPORT=y (#17765)

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

7 years agoar71xx: remove linux 3.10 support
nbd [Sun, 23 Nov 2014 13:54:28 +0000 (13:54 +0000)]
ar71xx: remove linux 3.10 support

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

7 years agoar71xx: switch to linux 3.14
nbd [Sun, 23 Nov 2014 13:54:22 +0000 (13:54 +0000)]
ar71xx: switch to linux 3.14

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

7 years agoath9k: fix some ar913x irq handling issues
nbd [Sun, 23 Nov 2014 12:53:35 +0000 (12:53 +0000)]
ath9k: fix some ar913x irq handling issues

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

7 years agobrcm63xx: move board compatible strings into a table
jogo [Sat, 22 Nov 2014 12:25:52 +0000 (12:25 +0000)]
brcm63xx: move board compatible strings into a table

Move compatible strings from board structs into separate table. This
allows for several board compatibles to match to the same board in case
e.g. only the flash size / partitions differ.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43341 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomac80211: fix a crash on using VHT rates
nbd [Fri, 21 Nov 2014 22:29:48 +0000 (22:29 +0000)]
mac80211: fix a crash on using VHT rates

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

7 years agohostapd: switch dependency from mac80211 to cfg80211
nbd [Fri, 21 Nov 2014 20:38:14 +0000 (20:38 +0000)]
hostapd: switch dependency from mac80211 to cfg80211

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43339 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agosunxi: add config for 3.18
wigyori [Fri, 21 Nov 2014 18:49:56 +0000 (18:49 +0000)]
sunxi: add config for 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43338 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agosunxi: add initial 3.18 support
wigyori [Fri, 21 Nov 2014 18:42:43 +0000 (18:42 +0000)]
sunxi: add initial 3.18 support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43337 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobrcm47xx: add support for Netgear WGR614 V10
rmilecki [Thu, 20 Nov 2014 22:15:21 +0000 (22:15 +0000)]
brcm47xx: add support for Netgear WGR614 V10

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43336 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomt76: add new mediatek 802.11ac driver
nbd [Thu, 20 Nov 2014 20:27:36 +0000 (20:27 +0000)]
mt76: add new mediatek 802.11ac driver

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

7 years agoar8216: Use generic hw_init from ar8236 for ar8216 too
nbd [Thu, 20 Nov 2014 15:19:15 +0000 (15:19 +0000)]
ar8216: Use generic hw_init from ar8236 for ar8216 too

We should make sure that also for ar8216 hw gets initialized.
For ar8216 hw_init is a dummy currently. The hw_init used for ar8236
should be generic enough to be usable with ar8216 too.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43334 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: simplify PHY fixup/init
nbd [Thu, 20 Nov 2014 15:19:04 +0000 (15:19 +0000)]
ar8216: simplify PHY fixup/init

Move the PHY fixup call to the PHY init loop.
Use ar8xxx_has_gige in the PHY init instead of passing the gigE
capability via function parameter.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43333 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: use genphy_config_aneg also for PHY 0
nbd [Wed, 19 Nov 2014 20:18:01 +0000 (20:18 +0000)]
ar8216: use genphy_config_aneg also for PHY 0

Kernel 3.14 introduced a switch reset in phy_init_hw in drivers/net/phy
causing BMCR_ANENABLE to get cleared.

Due to the fact that ar8xxx_phy_config_aneg does nothing for
PHY 0 autonegatiation support remains disabled.
This can cause ports to operate at 10MBit/half-duplex only.

Fix this by calling genphy_config_aneg for PHY 0 too as
genphy_config_aneg sets BMCR_ANENABLE if it's not yet set.
Fixes: ticket 17800

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43332 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: factor out PHY init code into a generic function
nbd [Wed, 19 Nov 2014 20:17:52 +0000 (20:17 +0000)]
ar8216: factor out PHY init code into a generic function

PHY init code in the switch-specific hw_init functions is mainly
identical. Factor it out into a generic ar8xxx_phy_init function.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43331 3c298f89-4303-0410-b956-a3cf2f4a3e73