openwrt/staging/kaloz.git
9 years agoath10k: init devices synchronously to fix wifi detection at boot
Felix Fietkau [Mon, 1 Dec 2014 20:01:05 +0000 (20:01 +0000)]
ath10k: init devices synchronously to fix wifi detection at boot

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

9 years agoopenvpn: update to 2.3.6, fixes CVE-2014-8104
Felix Fietkau [Mon, 1 Dec 2014 19:49:59 +0000 (19:49 +0000)]
openvpn: update to 2.3.6, fixes CVE-2014-8104

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

9 years agomalta: set 3.14 as default
John Crispin [Mon, 1 Dec 2014 18:46:29 +0000 (18:46 +0000)]
malta: set 3.14 as default

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

9 years agofstools: make the block tool ignore case when comparing uuid strings
John Crispin [Mon, 1 Dec 2014 18:46:23 +0000 (18:46 +0000)]
fstools: make the block tool ignore case when comparing uuid strings

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

9 years agokernel: update 3.18 to rc7
Felix Fietkau [Mon, 1 Dec 2014 17:38:54 +0000 (17:38 +0000)]
kernel: update 3.18 to rc7

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

9 years agoutil-linux: fix more missing dependencies introduced by r43459
John Crispin [Mon, 1 Dec 2014 16:50:43 +0000 (16:50 +0000)]
util-linux: fix more missing dependencies introduced by r43459

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

9 years agouqmi: fix SEGFAULT on reading Unicode sms messages
John Crispin [Mon, 1 Dec 2014 16:23:55 +0000 (16:23 +0000)]
uqmi: fix SEGFAULT on reading Unicode sms messages

Added complementary blobmsg_close_table() before returning from function
on error.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>
SVN-Revision: 43477

9 years agoutil-linux: fix missing dependency introduced by r43459
John Crispin [Mon, 1 Dec 2014 16:18:15 +0000 (16:18 +0000)]
util-linux: fix missing dependency introduced by r43459

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

9 years agooxnas: change visible board name
John Crispin [Mon, 1 Dec 2014 16:15:37 +0000 (16:15 +0000)]
oxnas: change visible board name

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

9 years agooxnas: ehci: rename vendor prefix plxtch to plxtech
John Crispin [Mon, 1 Dec 2014 16:15:30 +0000 (16:15 +0000)]
oxnas: ehci: rename vendor prefix plxtch to plxtech

it was changed in DTS by commit
oxnas-target: fix typo in OX820 device-tree

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

9 years agohostapd: improve 802.1x dynamic vlan support with bridge names
John Crispin [Mon, 1 Dec 2014 16:15:20 +0000 (16:15 +0000)]
hostapd: improve 802.1x dynamic vlan support with bridge names

In r41872 and r42787 Dynamic VLAN support was reintroduced, but the vlan_bridge
parameter is not read while setting up the config, so the default is used which
is undesirable for some uses.

Signed-off-by: Ben Franske <ben.mm@franske.com>
SVN-Revision: 43473

9 years agobase-files: default_postinst() - create user:group first (resend)
John Crispin [Mon, 1 Dec 2014 16:15:13 +0000 (16:15 +0000)]
base-files: default_postinst() - create user:group first (resend)

create user:group before running postinst-pkg. the postinst hook might require
the user:group to already exist.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 43472

9 years agoar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:15:08 +0000 (16:15 +0000)]
ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip

Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43471

9 years agoar8216: factor out mii_lo_first to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:15:02 +0000 (16:15 +0000)]
ar8216: factor out mii_lo_first to ar8xxx_chip

Factor out mii_lo_first to ar8xxx_chip.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43470

9 years agoar8216: factor out chip-specific data structures from ar8xxx_priv
John Crispin [Mon, 1 Dec 2014 16:14:54 +0000 (16:14 +0000)]
ar8216: factor out chip-specific data structures from ar8xxx_priv

Factor out chip-specific data structures from ar8xxx_priv.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43469

9 years agoar8216: factor out set_mirror_regs to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:14:43 +0000 (16:14 +0000)]
ar8216: factor out set_mirror_regs to ar8xxx_chip

Factor out set_mirror_regs to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43468

9 years agoar8216: factor out mib_func to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:14:39 +0000 (16:14 +0000)]
ar8216: factor out mib_func to ar8xxx_chip

Factor out mib_func to ar8xxx_chip. Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43467

9 years agoar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:14:32 +0000 (16:14 +0000)]
ar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip

Factor out info whether switch should be configured at probe stage
to ar8xxx_chip. Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43466

9 years agorealview: add 3.14 support
John Crispin [Mon, 1 Dec 2014 16:14:26 +0000 (16:14 +0000)]
realview: add 3.14 support

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

9 years agoixp4xx: add 3.14 support
John Crispin [Mon, 1 Dec 2014 16:14:21 +0000 (16:14 +0000)]
ixp4xx: add 3.14 support

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

9 years agoau1000: add 3.14 support
John Crispin [Mon, 1 Dec 2014 16:14:07 +0000 (16:14 +0000)]
au1000: add 3.14 support

this is only compile tested

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

9 years agoar71xx: Add build profile for the gl-inet 6416A and 6408A
John Crispin [Mon, 1 Dec 2014 16:14:02 +0000 (16:14 +0000)]
ar71xx: Add build profile for the gl-inet 6416A and 6408A

Patch to add the buildprofile for the GL-Init-6408A-v1 and the GL-Inet-6416A-v1
Both devices are identical, only difference is one comes with 8MB flash and
the other with 16MB flash

Official website: http://www.gl-inet.com/w/?page_id=241&lang=en
Comprehensive list of specs: https://revspace.nl/GL-Inet

Signed-off-by: Martijn Zilverschoon <martijn@friedzombie.com>
SVN-Revision: 43462

9 years agobrcm63xx: add kernel 3.18 support
Jonas Gorski [Mon, 1 Dec 2014 13:27:26 +0000 (13:27 +0000)]
brcm63xx: add kernel 3.18 support

Add 3.18 support based on 3.18-rc6. Only netboot tested.

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

9 years agotoolchain-headers: also copy asm-eva.h for mips(el) for 3.15+
Jonas Gorski [Mon, 1 Dec 2014 13:27:06 +0000 (13:27 +0000)]
toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+

Kernel 3.15's asm.h includes eva-asm.h, so copy it also, else lzma-loader
won't compile due to a missing include.

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

9 years agoutil-linux: package libsmartcols
Luka Perkov [Mon, 1 Dec 2014 12:40:06 +0000 (12:40 +0000)]
util-linux: package libsmartcols

Packages fdisk and lsblk were missing dependency for libsmartcols.so.1

Add package for libsmartcols and add dependency from fdisk and lsblk.

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

9 years agomkimage: remove check for miscompiled __weak
Felix Fietkau [Mon, 1 Dec 2014 11:07:30 +0000 (11:07 +0000)]
mkimage: remove check for miscompiled __weak

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

9 years agobrcm63xx: register interrupt-controllers through DT when possible
Jonas Gorski [Mon, 1 Dec 2014 00:52:07 +0000 (00:52 +0000)]
brcm63xx: register interrupt-controllers through DT when possible

Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

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

9 years agobrcm63xx: dtsi: add missing ranges properity to ubus nodes
Jonas Gorski [Mon, 1 Dec 2014 00:51:56 +0000 (00:51 +0000)]
brcm63xx: dtsi: add missing ranges properity to ubus nodes

Allows nodes behind it to be mapped.

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

9 years agobrcm63xx: dtsi: add missing properties to cpu nodes
Jonas Gorski [Mon, 1 Dec 2014 00:51:53 +0000 (00:51 +0000)]
brcm63xx: dtsi: add missing properties to cpu nodes

Mark them as cpu nodes and add the addresses.

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

9 years agobrcm63xx: convert to irq domain
Jonas Gorski [Mon, 1 Dec 2014 00:51:51 +0000 (00:51 +0000)]
brcm63xx: convert to irq domain

Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

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

9 years agobrcm63xx: refresh patches
Jonas Gorski [Mon, 1 Dec 2014 00:51:24 +0000 (00:51 +0000)]
brcm63xx: refresh patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43453

9 years agobrcm63xx: add DT support for DSL-2650U
Jonas Gorski [Mon, 1 Dec 2014 00:51:17 +0000 (00:51 +0000)]
brcm63xx: add DT support for DSL-2650U

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43452

9 years agobrcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Jonas Gorski [Mon, 1 Dec 2014 00:51:12 +0000 (00:51 +0000)]
brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43451

9 years agobrcm63xx: Add DT support for F@ST2504n
Jonas Gorski [Mon, 1 Dec 2014 00:51:08 +0000 (00:51 +0000)]
brcm63xx: Add DT support for F@ST2504n

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43450

9 years agobrcm63xx: add DT support for F@ST2704V2
Jonas Gorski [Mon, 1 Dec 2014 00:51:04 +0000 (00:51 +0000)]
brcm63xx: add DT support for F@ST2704V2

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43449

9 years agobrcm63xx: add DT support for F@ST2604
Jonas Gorski [Mon, 1 Dec 2014 00:50:59 +0000 (00:50 +0000)]
brcm63xx: add DT support for F@ST2604

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43448

9 years agobrcm63xx: add DT support for F@ST2404
Jonas Gorski [Mon, 1 Dec 2014 00:50:56 +0000 (00:50 +0000)]
brcm63xx: add DT support for F@ST2404

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43447

9 years agotoolchain: uClibc: fix compile with full language support enabled (fixes #13095)
Felix Fietkau [Sun, 30 Nov 2014 22:22:24 +0000 (22:22 +0000)]
toolchain: uClibc: fix compile with full language support enabled (fixes #13095)

When building with CONFIG_BUILD_NLS=y, uClibc fails to compile with following
message (or similar, according to https://dev.openwrt.org/ticket/13095):

-snip-
...
Warning: adding UNDEFINED entry for ar_AE
Warning: adding UNDEFINED entry for am_ET
Warning: adding UNDEFINED entry for af_ZA
grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h
grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h
gcc extra/locale/gen_wctype.c  -o extra/locale/gen_wctype    -Os -Wall  -D__UCLIBC_GEN_LOCALE -I./
extra/locale/gen_wctype.c: In function 'main':
extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
for locale in  en_US en_GB; do \
                extra/locale/gen_wctype  $locale > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.UTF-8 > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.iso8859-1 > extra/locale/wctables.h && break; \
        done
make[4]: *** [extra/locale/wctables.h] Error 1
-snap-

This seems to also depend on the host system used, e.g. running a fresh
checkout on a Debian 7.6 system triggered this error, while running the
very same stuff on an Ubuntu 12.10 Quantal Quetzal does not trigger it.

This is the configuration I used:

-snip-
buildbot@buildbot:~/openwrt-nls.git$ scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_Default=y
CONFIG_DEVEL=y
CONFIG_BUILD_NLS=y
CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads"
-snap-

In the ticket mentioned above, a patch is referenced which solves this issue.

Note, that this issue is also present on 14.07.

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

9 years agotoolchain: uClibc: fix build with CONFIG_BUILD_NLS selected
Felix Fietkau [Sun, 30 Nov 2014 22:22:14 +0000 (22:22 +0000)]
toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected

Without this patch, selecting "Compile with full language support"
results in the following question during build:

...
Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y
  Locale data
  > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW)
    2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW)
    3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW)
  choice[1-3]:

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

9 years agokernel: add missing config symbol for 3.18
Luka Perkov [Sun, 30 Nov 2014 22:12:20 +0000 (22:12 +0000)]
kernel: add missing config symbol for 3.18

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

9 years agoutil-linux: update to 2.25.2
Luka Perkov [Sun, 30 Nov 2014 22:11:09 +0000 (22:11 +0000)]
util-linux: update to 2.25.2

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

9 years agoath5k: fix hardware queue index assignment
Felix Fietkau [Sun, 30 Nov 2014 21:05:17 +0000 (21:05 +0000)]
ath5k: fix hardware queue index assignment

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

9 years agotools/mkimage: fix build errors (#18445)
Felix Fietkau [Sun, 30 Nov 2014 20:29:10 +0000 (20:29 +0000)]
tools/mkimage: fix build errors (#18445)

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

9 years agogengetopt: fix parallel build issues (#18442)
Felix Fietkau [Sun, 30 Nov 2014 20:12:07 +0000 (20:12 +0000)]
gengetopt: fix parallel build issues (#18442)

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

9 years agoath9k: fix hardware tx queue allocation order
Felix Fietkau [Sun, 30 Nov 2014 19:41:59 +0000 (19:41 +0000)]
ath9k: fix hardware tx queue allocation order

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

9 years agoadd gengetopt
Imre Kaloz [Sun, 30 Nov 2014 09:51:48 +0000 (09:51 +0000)]
add gengetopt

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

9 years agouboot-kirkwood: bump to 2014.10
Luka Perkov [Sun, 30 Nov 2014 03:55:44 +0000 (03:55 +0000)]
uboot-kirkwood: bump to 2014.10

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

9 years agomalta: add more 3.14 kernel symbols
Luka Perkov [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>
SVN-Revision: 43435

9 years agokirkwood: change CRC32 implementation to CRC32_SLICEBY8
Luka Perkov [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>
SVN-Revision: 43434

9 years agouboot-envtools: bump to 2014.10
Luka Perkov [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>
SVN-Revision: 43433

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

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

9 years agogeneric: set CONFIG_GENERIC_NET_UTILS
Luka Perkov [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>
SVN-Revision: 43431

9 years agouboot-*: update license info in uboot packages
Luka Perkov [Sat, 29 Nov 2014 23:45:53 +0000 (23:45 +0000)]
uboot-*: update license info in uboot packages

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

9 years agomkimage: update to 2014.10
Luka Perkov [Sat, 29 Nov 2014 22:43:59 +0000 (22:43 +0000)]
mkimage: update to 2014.10

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

9 years agokernel: update 3.14 to 3.14.25
Luka Perkov [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>
SVN-Revision: 43427

9 years agomalta: add support for 3.14
Luka Perkov [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>
SVN-Revision: 43426

9 years agomalta: drop 3.12 config file
Luka Perkov [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>
SVN-Revision: 43425

9 years agoprocd: fix typo in nand.sh s/TRX/TAR/
Rafał Miłecki [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>
SVN-Revision: 43423

9 years agox86: add support for 3.14
Luka Perkov [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>
SVN-Revision: 43422

9 years agontp: add hotplug class for ntp-events
Steven Barth [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>
SVN-Revision: 43421

9 years agokernel: 3.18: Fix patch 644 dependency chain
Florian Fainelli [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>
SVN-Revision: 43419

9 years agodevel: import perf from oldpackages
Florian Fainelli [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>
SVN-Revision: 43418

9 years agoscripts/config.sub: add back musl support that was accidentally dropped in r43353
Felix Fietkau [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>
SVN-Revision: 43417

9 years agoodhcp6c: avoid busylooping with strangely behaving dhcpv6 servers
Steven Barth [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>
SVN-Revision: 43415

9 years agocns3xxx: fix PCIe->PCI bridge access (fixes #18422)
Felix Fietkau [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>
SVN-Revision: 43414

9 years agompc85xx: update to linux 3.14
Felix Fietkau [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>
SVN-Revision: 43413

9 years agompc85xx: refresh linux 3.14 patches
Felix Fietkau [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>
SVN-Revision: 43412

9 years agompc85xx: remove the PHY reset change patch (no longer necessary)
Felix Fietkau [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>
SVN-Revision: 43411

9 years agoar8216: suppress PHY reset for linux 3.14
Felix Fietkau [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>
SVN-Revision: 43410

9 years agokernel: backport patches for overriding PHY reset to 3.14
Felix Fietkau [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>
SVN-Revision: 43409

9 years agomac80211: update regdb to master-2014-11-18
Felix Fietkau [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>
SVN-Revision: 43408

9 years agomt76: fix a compile error on 3.18
Felix Fietkau [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>
SVN-Revision: 43407

9 years agocns3xxx: add experimental 3.18 support
Felix Fietkau [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>
SVN-Revision: 43406

9 years agokernel: add missing KEEP() statements for gc-sections patch in 3.18
Felix Fietkau [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>
SVN-Revision: 43405

9 years agokernel: keep __bug_table with gc-sections
Felix Fietkau [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>
SVN-Revision: 43404

9 years agocns3xxx: fix pcie root bridge topology
Felix Fietkau [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>
SVN-Revision: 43403

9 years agofirmware-utils: remove dependency on error.h in tplink-safeloader
Felix Fietkau [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>
SVN-Revision: 43402

9 years agoadd D-link DGL-5500 A1 support
Imre Kaloz [Thu, 27 Nov 2014 14:27:34 +0000 (14:27 +0000)]
add D-link DGL-5500 A1 support

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

9 years agonetifd: correctly handle source-parameter for IPv4 routes
Steven Barth [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>
SVN-Revision: 43400

9 years agocns3xxx: add missing dma mask for ethernet device
Felix Fietkau [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>
SVN-Revision: 43399

9 years agocns3xxx: switch to using the upstream dwc2 driver instead of dwc_otg
Felix Fietkau [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>
SVN-Revision: 43398

9 years agocns3xxx: update to linux 3.14
Felix Fietkau [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>
SVN-Revision: 43397

9 years agocns3xxx: remove bogus image added in r38703
Felix Fietkau [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>
SVN-Revision: 43396

9 years agocns3xxx: set base device for ethernet port netdevs
Felix Fietkau [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>
SVN-Revision: 43395

9 years agocns3xxx: fix passing the device to dma mapping ops
Felix Fietkau [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>
SVN-Revision: 43394

9 years agofix the r6100's wan led name
Imre Kaloz [Wed, 26 Nov 2014 11:38:59 +0000 (11:38 +0000)]
fix the r6100's wan led name

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

9 years agouboot-omap: add C4 revision in findfdt
John Crispin [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>
SVN-Revision: 43392

9 years agokirkwood: Add support for Iomega StorCenter ix2-200
John Crispin [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>
SVN-Revision: 43391

9 years agouboot-envtools: add support for oxnas target
John Crispin [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>
SVN-Revision: 43390

9 years agoadd uboot-oxnas
John Crispin [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>
SVN-Revision: 43389

9 years agoadd new target 'oxnas'
John Crispin [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>
SVN-Revision: 43388

9 years agotarget.mk: add default packages for NAS device-type
John Crispin [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>
SVN-Revision: 43387

9 years agokernel: unset CONFIG_ARM_CCN
John Crispin [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>
SVN-Revision: 43386

9 years agoar71xx: add support for TP-LINK CPE210/220/510/520
John Crispin [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>
SVN-Revision: 43385

9 years agofirmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices...
John Crispin [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>
SVN-Revision: 43384

9 years agomtd: fix 2 compiler warnings
John Crispin [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>
SVN-Revision: 43383

9 years agoNetgear R6100 support
Imre Kaloz [Wed, 26 Nov 2014 08:28:22 +0000 (08:28 +0000)]
Netgear R6100 support

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

9 years agouqmi: update to the latest version, also set 802.3 data format via the WDA service
Felix Fietkau [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>
SVN-Revision: 43381

9 years agobrcm63xx: uci-defaults: network: move DSL-274x1 F1 to right section
Jonas Gorski [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>
SVN-Revision: 43379

9 years agobrcm63xx: unify dt image generation
Jonas Gorski [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>
SVN-Revision: 43378