openwrt/staging/981213.git
9 years agokernel: add a mtdsplit implementation for tp-link firmware headers
Felix Fietkau [Fri, 2 Jan 2015 21:52:44 +0000 (21:52 +0000)]
kernel: add a mtdsplit implementation for tp-link firmware headers

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

9 years agokernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify...
Felix Fietkau [Fri, 2 Jan 2015 21:52:35 +0000 (21:52 +0000)]
kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions

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

9 years agohonor the bootloader's bootargs
Imre Kaloz [Fri, 2 Jan 2015 16:48:20 +0000 (16:48 +0000)]
honor the bootloader's bootargs

Only overwrite the bootloader's bootargs if "chosen" exists in the dtb

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

9 years agoenable wpad-mini by default
Imre Kaloz [Wed, 31 Dec 2014 21:59:07 +0000 (21:59 +0000)]
enable wpad-mini by default

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

9 years agobcm53xx: support flashing CHK and CyberTAN images
Rafał Miłecki [Tue, 30 Dec 2014 17:45:53 +0000 (17:45 +0000)]
bcm53xx: support flashing CHK and CyberTAN images

SVN-Revision: 43800

9 years agobrcm47xx: support for flashing CHK and CyberTAN images
Rafał Miłecki [Tue, 30 Dec 2014 17:19:36 +0000 (17:19 +0000)]
brcm47xx: support for flashing CHK and CyberTAN images

This will allow simple sysupgrade-s including simpler reverting to the
original firmware.

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

9 years agobrcm47xx: verify if CHK/CyberTAN contains valid TRX
Rafał Miłecki [Tue, 30 Dec 2014 17:19:02 +0000 (17:19 +0000)]
brcm47xx: verify if CHK/CyberTAN contains valid TRX

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

9 years agompc83xx: add support for kernel 3.14
Hauke Mehrtens [Mon, 29 Dec 2014 17:11:13 +0000 (17:11 +0000)]
mpc83xx: add support for kernel 3.14

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43797

9 years agompc52xx: add support for kernel 3.14
Hauke Mehrtens [Mon, 29 Dec 2014 16:12:52 +0000 (16:12 +0000)]
mpc52xx: add support for kernel 3.14

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43796

9 years agoep93xx: add support for kernel 3.14
Hauke Mehrtens [Mon, 29 Dec 2014 13:55:59 +0000 (13:55 +0000)]
ep93xx: add support for kernel 3.14

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43795

9 years agokernel: add some missing config options
Hauke Mehrtens [Mon, 29 Dec 2014 11:59:32 +0000 (11:59 +0000)]
kernel: add some missing config options

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43794

9 years agotools: build libtool after autoconf, not before (fixes #18659)
Felix Fietkau [Sun, 28 Dec 2014 21:55:21 +0000 (21:55 +0000)]
tools: build libtool after autoconf, not before (fixes #18659)

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

9 years agoipq806x: refresh patches
Hauke Mehrtens [Sun, 28 Dec 2014 19:31:40 +0000 (19:31 +0000)]
ipq806x: refresh patches

This makes the patchs apply again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43792

9 years agoupgrade to new rev, fixes possible compile error
Imre Kaloz [Sun, 28 Dec 2014 14:45:27 +0000 (14:45 +0000)]
upgrade to new rev, fixes possible compile error

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

9 years agoath10k: fix tx rate selection for ad-hoc mode with HT
Felix Fietkau [Sat, 27 Dec 2014 13:37:32 +0000 (13:37 +0000)]
ath10k: fix tx rate selection for ad-hoc mode with HT

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

9 years agooxnas: re-enable ubifs
Felix Fietkau [Sat, 27 Dec 2014 13:03:26 +0000 (13:03 +0000)]
oxnas: re-enable ubifs

After the changes make ubinize.cfg optional in image.mk, ubifs
generation can now safely be enabled again.

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

9 years agoimage.mk: make ubinize.cfg optional
Felix Fietkau [Sat, 27 Dec 2014 13:03:19 +0000 (13:03 +0000)]
image.mk: make ubinize.cfg optional

When using UbinizeImage with ubifs rootfs, ubinize.cfg is no longer
needed. Yet, the absance of ubinize.cfg would make the build process
abort with an error.
Fix that by checking if ubinize.cfg is present and do no not call the
"classic" ubinize image generation if it isn't.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[missing new-line before UbinizeImage added itentionally]

SVN-Revision: 43788

9 years agooxnas: clk-oxnas: rework pllb enable function
Felix Fietkau [Sat, 27 Dec 2014 13:03:12 +0000 (13:03 +0000)]
oxnas: clk-oxnas: rework pllb enable function

kernel lock debugging unveiled that we should not call
of_reset_control_get inside a clock's enable operation (see below)

move of_reset_control_* previously used in pllb_clk_enable to new
pllb_clk_prepare and pllb_clk_unprepare functions.
use a container to carry runtime information.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2742 lockdep_trace_alloc+0xb8/0xfc()
DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.26 #6
[<c001a6ac>] (unwind_backtrace) from [<c0016dec>] (show_stack+0x10/0x14)
[<c0016dec>] (show_stack) from [<c0194f68>] (dump_stack+0x7c/0x94)
[<c0194f68>] (dump_stack) from [<c0021b50>] (warn_slowpath_common+0x68/0x8c)
[<c0021b50>] (warn_slowpath_common) from [<c0021ba4>] (warn_slowpath_fmt+0x30/0x40)
[<c0021ba4>] (warn_slowpath_fmt) from [<c0061b30>] (lockdep_trace_alloc+0xb8/0xfc)
[<c0061b30>] (lockdep_trace_alloc) from [<c00cb740>] (kmem_cache_alloc+0x1c/0xf8)
[<c00cb740>] (kmem_cache_alloc) from [<c01d33c8>] (of_reset_control_get+0xe8/0x12c)
[<c01d33c8>] (of_reset_control_get) from [<c0269228>] (pllb_clk_enable+0x14/0xbc)
[<c0269228>] (pllb_clk_enable) from [<c0265738>] (__clk_enable+0x54/0xa0)
[<c0265738>] (__clk_enable) from [<c0265acc>] (clk_enable+0x18/0x2c)
[<c0265acc>] (clk_enable) from [<c04325f8>] (oxnas_pcie_probe+0x3b8/0x6a0)
[<c04325f8>] (oxnas_pcie_probe) from [<c01f2510>] (platform_drv_probe+0x18/0x48)
[<c01f2510>] (platform_drv_probe) from [<c01f1070>] (driver_probe_device+0xd8/0x24c)
[<c01f1070>] (driver_probe_device) from [<c01f1298>] (__driver_attach+0x70/0x94)
[<c01f1298>] (__driver_attach) from [<c01ef728>] (bus_for_each_dev+0x4c/0x98)
[<c01ef728>] (bus_for_each_dev) from [<c01f0818>] (bus_add_driver+0xcc/0x1e8)
[<c01f0818>] (bus_add_driver) from [<c01f169c>] (driver_register+0xa0/0xe8)
[<c01f169c>] (driver_register) from [<c01f2568>] (platform_driver_probe+0x20/0xa4)
[<c01f2568>] (platform_driver_probe) from [<c0013a3c>] (do_one_initcall+0x90/0x140)
[<c0013a3c>] (do_one_initcall) from [<c0421d38>] (kernel_init_freeable+0x1e4/0x2c0)
[<c0421d38>] (kernel_init_freeable) from [<c000c214>] (kernel_init+0x8/0x104)
[<c000c214>] (kernel_init) from [<c0008768>] (ret_from_fork+0x14/0x2c)
---[ end trace 5f17ed2f61e0683f ]---

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

9 years agokernel/generic: fix warnings if libata-ledtrig is disabled
Felix Fietkau [Sat, 27 Dec 2014 13:02:58 +0000 (13:02 +0000)]
kernel/generic: fix warnings if libata-ledtrig is disabled

accidentally #if was used instead of #ifdef, thus gcc warned
about CONFIG_ATA_LEDS being undefined...

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

9 years agobinutils: run install twice instead of overwriting the final toolchain with the initi...
Felix Fietkau [Sat, 27 Dec 2014 13:00:09 +0000 (13:00 +0000)]
binutils: run install twice instead of overwriting the final toolchain with the initial one

fixes compiler error after a binutils rebuild/reinstall without
rebuilding the rest of the toolchain

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

9 years agobuild: use gcc-provided ar, nm and ranlib where appropriate
Felix Fietkau [Sat, 27 Dec 2014 12:59:59 +0000 (12:59 +0000)]
build: use gcc-provided ar, nm and ranlib where appropriate

Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which
should be used for builds with link-time optimization. Since GCC 4.9, using them
actually necessary for LTO builds using convenience libraries to succeed.

There are some packages which try to automatically detect if gcc-{ar,nm,ranlib}
exist (one example is my package "fastd" in the package repository, which tries
to use LTO). This breaks because the OpenWrt build system explicitly sets the
binutils versions of these tools.

As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of
{ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the
GCC-provided versions by default, which fixes the build of such packages with
GCC 4.9.

(I know that builds fail though when clang is used with -flto and
gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't
a real issue.)

Completely cleaning the tree (or at least `make clean toolchain/clean`) is
necessary to get a consistent state after the binutils plugins support patch and
this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without
plugin support will definitely lead to a build failure).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 43784

9 years agobinutils: enable plugin support
Felix Fietkau [Sat, 27 Dec 2014 12:59:53 +0000 (12:59 +0000)]
binutils: enable plugin support

--enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
must be used with GCC 4.9 for LTO to work.

Without this option, gcc-ar etc. will just fail with

    sorry - this program has been built without plugin support

Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
with static "convenience" libraries to fail.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 43783

9 years agohostapd: add support for configuring supported rates
Felix Fietkau [Sat, 27 Dec 2014 12:59:47 +0000 (12:59 +0000)]
hostapd: add support for configuring supported rates

patch by Wilco Baan Hofman from #18627

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

9 years agofix mvneta vlan tagging
Imre Kaloz [Fri, 26 Dec 2014 14:48:33 +0000 (14:48 +0000)]
fix mvneta vlan tagging

This is a 3.14.x backport of:
"mvneta: Fix TSO and checksum for non-acceleration vlan traffic"

Upstream commits:

817dbfa5d1bc276a72c1a577310382008e8aca0a
2d39d120781a5770573dc6ed672a5a562f541aea

Fixes vlan tagging on SoC interfaces for the WRT1900AC.  Useful
when using mvsw6171 driver.

Signed-off-by: Mark Milburn <mark.a.milburn@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43781

9 years agodon't copy initramfs.elf unconditionally
Imre Kaloz [Fri, 26 Dec 2014 14:31:45 +0000 (14:31 +0000)]
don't copy initramfs.elf unconditionally

targets that need it should do it in their image Makefile

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

9 years agoonly call UbinizeImage and BuildSysUpgrade for boards we support them on
Imre Kaloz [Fri, 26 Dec 2014 13:45:18 +0000 (13:45 +0000)]
only call UbinizeImage and BuildSysUpgrade for boards we support them on

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

9 years agoThe ubinized filesystems should be used for generating the final images, so store...
Imre Kaloz [Fri, 26 Dec 2014 13:33:22 +0000 (13:33 +0000)]
The ubinized filesystems should be used for generating the final images, so store them in KDIR instead.

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

9 years agoar71xx: add flush reset register writes, should fix restart issues (#17839)
Felix Fietkau [Fri, 26 Dec 2014 12:36:38 +0000 (12:36 +0000)]
ar71xx: add flush reset register writes, should fix restart issues (#17839)

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

9 years agokernel: backport a few PHY layer fixes from upstream
Felix Fietkau [Fri, 26 Dec 2014 12:36:30 +0000 (12:36 +0000)]
kernel: backport a few PHY layer fixes from upstream

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

9 years agoar71xx: rename/refresh patch
Felix Fietkau [Fri, 26 Dec 2014 12:36:22 +0000 (12:36 +0000)]
ar71xx: rename/refresh patch

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

9 years agowe've changed places with Luka, reflect that :)
Imre Kaloz [Thu, 25 Dec 2014 22:34:15 +0000 (22:34 +0000)]
we've changed places with Luka, reflect that :)

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

9 years agouse mwlwifi by default
Imre Kaloz [Thu, 25 Dec 2014 22:29:29 +0000 (22:29 +0000)]
use mwlwifi by default

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

9 years agoMarvell 88W8864 open source mac80211 driver
Imre Kaloz [Thu, 25 Dec 2014 22:26:43 +0000 (22:26 +0000)]
Marvell 88W8864 open source mac80211 driver

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

9 years agonetifd: minor fixes, add mldversion option
Steven Barth [Tue, 23 Dec 2014 13:34:04 +0000 (13:34 +0000)]
netifd: minor fixes, add mldversion option

thanks to Hans Dedecker

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

9 years agomac80211: fix HT mode selection for ad-hoc
Felix Fietkau [Mon, 22 Dec 2014 21:46:38 +0000 (21:46 +0000)]
mac80211: fix HT mode selection for ad-hoc

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

9 years agooxnas: sata_oxnas: make irq handler more readable
Felix Fietkau [Mon, 22 Dec 2014 20:47:10 +0000 (20:47 +0000)]
oxnas: sata_oxnas: make irq handler more readable

safed one level of indention by using 'continue' instead of a
lengthy if-clause.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
v2: use logic-AND instead of '?' operator when checking for hw bug 6320

SVN-Revision: 43768

9 years agooxnas: sata_oxnas: refactoring phase 2
Felix Fietkau [Mon, 22 Dec 2014 20:47:01 +0000 (20:47 +0000)]
oxnas: sata_oxnas: refactoring phase 2

 - replaced // comments by /* comments */
 - added line-breaks where needed
 - fixed white-space according to kernel style
 - fixed some obvious spelling mistakes in comments and printks
 - removed some unneeded left-overs imported from vendor code-base
 - replaced printk(...) by libata macros where possible

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

9 years agooxnas: sata_oxnas: refactoring phase 1
Felix Fietkau [Mon, 22 Dec 2014 20:46:49 +0000 (20:46 +0000)]
oxnas: sata_oxnas: refactoring phase 1

locking for 2nd port and hwraid was added from vendor's GPL code which
doesn't comply with current kernel coding style.

 - moved all global variables into host_priv
 - renamed locks
 - sanetized acquire() and release() parameter list

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

9 years agooxnas: refresh kernel config-3.1[48]
Felix Fietkau [Mon, 22 Dec 2014 20:46:41 +0000 (20:46 +0000)]
oxnas: refresh kernel config-3.1[48]

and no longer compile-in ext4 filesystem now that sata_oxnas is
also built as a module.

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

9 years agokernel: remove openwrt micrel.c (replaced by upstream driver)
Felix Fietkau [Mon, 22 Dec 2014 14:37:07 +0000 (14:37 +0000)]
kernel: remove openwrt micrel.c (replaced by upstream driver)

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

9 years agoubi-utils: add mirror md5sum
Felix Fietkau [Mon, 22 Dec 2014 14:32:41 +0000 (14:32 +0000)]
ubi-utils: add mirror md5sum

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

9 years agotools/mtd-utils: add mirror md5sum
Felix Fietkau [Mon, 22 Dec 2014 13:52:58 +0000 (13:52 +0000)]
tools/mtd-utils: add mirror md5sum

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

9 years agodnsmasq: also add the actual patches...
Steven Barth [Mon, 22 Dec 2014 09:52:19 +0000 (09:52 +0000)]
dnsmasq: also add the actual patches...

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

9 years agodnsmasq: backport some dnssec fixes
Steven Barth [Mon, 22 Dec 2014 09:51:22 +0000 (09:51 +0000)]
dnsmasq: backport some dnssec fixes

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

9 years agokernel: disable soft-reset for generic PHY devices to avoid accidentally clearing...
Felix Fietkau [Sat, 20 Dec 2014 15:26:38 +0000 (15:26 +0000)]
kernel: disable soft-reset for generic PHY devices to avoid accidentally clearing preinitialized state

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

9 years agobuffalo-enc: pass the longstate option to decryption
Felix Fietkau [Sat, 20 Dec 2014 15:26:31 +0000 (15:26 +0000)]
buffalo-enc: pass the longstate option to decryption

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

9 years agobuffalo-enc: accept the longstate command line option
Felix Fietkau [Sat, 20 Dec 2014 15:26:25 +0000 (15:26 +0000)]
buffalo-enc: accept the longstate command line option

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

9 years agobcm53xx: support WAN connected to switch port 0
Rafał Miłecki [Sat, 20 Dec 2014 15:09:01 +0000 (15:09 +0000)]
bcm53xx: support WAN connected to switch port 0

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

9 years agomvsw6171: note support for 88E6172 switches
Luka Perkov [Fri, 19 Dec 2014 22:02:59 +0000 (22:02 +0000)]
mvsw6171: note support for 88E6172 switches

The '6171 and '6172 are similar enough to work
without any changes to the code.

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

9 years agokirkwood: add *plugs to uci-defaults
Luka Perkov [Fri, 19 Dec 2014 11:05:13 +0000 (11:05 +0000)]
kirkwood: add *plugs to uci-defaults

Set defaults health led to a timer heartbeet (200/800)
and populate network for:

- GuruplugServerPlus
- SheevaPlug
- SheevaPlug with eSATA

Signed-off-by: Gerald Kerma <dreagle@doukki.net>
SVN-Revision: 43752

9 years agokikwood: populate kirkwood.sh with new boards
Luka Perkov [Thu, 18 Dec 2014 18:38:43 +0000 (18:38 +0000)]
kikwood: populate kirkwood.sh with new boards

- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>
SVN-Revision: 43751

9 years agokirkwood: set default EA4500 switch config
Luka Perkov [Thu, 18 Dec 2014 18:38:38 +0000 (18:38 +0000)]
kirkwood: set default EA4500 switch config

This maps the LAN ports to eth0 and WAN port to eth1.
Since there are two interfaces the 802.1q VLAN mode
is unnecessary and left disabled. Port-based VLANs
are used instead.

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

9 years agokernel: bgmac: fix some problems
Hauke Mehrtens [Thu, 18 Dec 2014 16:25:22 +0000 (16:25 +0000)]
kernel: bgmac: fix some problems

There are some problems in the napi usage that are fixed now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43749

9 years agobcm53xx: PCIe: add link check again
Hauke Mehrtens [Thu, 18 Dec 2014 16:23:42 +0000 (16:23 +0000)]
bcm53xx: PCIe: add link check again

When there is no device connected to the controller we should not start
the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed
based on the device. This code is based on code from the new Broadcom
PCIe controller driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43748

9 years agouboot-envtools: add more kirkwood boards
Luka Perkov [Thu, 18 Dec 2014 15:53:46 +0000 (15:53 +0000)]
uboot-envtools: add more kirkwood boards

- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>
SVN-Revision: 43747

9 years agoar7: remove leftover 3.10 patches
Felix Fietkau [Thu, 18 Dec 2014 11:57:42 +0000 (11:57 +0000)]
ar7: remove leftover 3.10 patches

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

9 years agobinutils: break-out libbfd, libopcodes and ar
Felix Fietkau [Thu, 18 Dec 2014 11:57:36 +0000 (11:57 +0000)]
binutils: break-out libbfd, libopcodes and ar

Package libbfd, libopcodes and ar seperately.

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

9 years agoar71xx: add support for qca956x soc
Felix Fietkau [Thu, 18 Dec 2014 11:28:53 +0000 (11:28 +0000)]
ar71xx: add support for qca956x soc

This patch adds soc support for QCA9561 and TP9343.
TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers in China.
The qca956x_wmac has not yet been supported by ath9k.

tested on TL-WDR6500 and TL-WR882N v1 (Chinese version)

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

9 years agoar8216: Inline function ar8xxx_create_mii
Felix Fietkau [Thu, 18 Dec 2014 11:28:47 +0000 (11:28 +0000)]
ar8216: Inline function ar8xxx_create_mii

Inline function ar8xxx_create_mii.

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

9 years agoar8216: Remove read/write/rmw member functions from ar8xxx_priv
Felix Fietkau [Thu, 18 Dec 2014 11:28:39 +0000 (11:28 +0000)]
ar8216: Remove read/write/rmw member functions from ar8xxx_priv

Remove read/write/rmw member functions from ar8xxx_priv

There seems to be no real benefit of the ar8xxx_priv member functions
read/write/rmw as one implementation exists for each of them only.
Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then
mapped to ar8xxx_rmw.
Rename the ar8xxx_mii_.. functions to ar8xxx_.. and use them directly.

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

9 years agoar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII ops
Felix Fietkau [Thu, 18 Dec 2014 11:28:34 +0000 (11:28 +0000)]
ar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII ops

Create helpers mii_read32 / mii_write32 for 32 bit MII ops.
Rename r3 variable to page in ar8xxx_mii_write to make it consistent
with the other ar8xxx_mii_xxxx functions.

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

9 years agoar8216: Factor out chip-specific parameters from ar8xxx_probe_switch
Felix Fietkau [Thu, 18 Dec 2014 11:28:28 +0000 (11:28 +0000)]
ar8216: Factor out chip-specific parameters from ar8xxx_probe_switch

Factor out chip-specific parameters from ar8xxx_probe_switch.
Move the ar8xxx_chip definitions after the swops definitions.

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

9 years agoar8216: remove unused function parameter in ar8327_led_register
Felix Fietkau [Thu, 18 Dec 2014 11:28:20 +0000 (11:28 +0000)]
ar8216: remove unused function parameter in ar8327_led_register

Remove unused function parameter in ar8327_led_register.

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

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