openwrt/staging/neocturne.git
9 years agoodhcp6c: move IPv6 /proc config to userspace and sanitize
Steven Barth [Fri, 10 Apr 2015 11:33:15 +0000 (11:33 +0000)]
odhcp6c: move IPv6 /proc config to userspace and sanitize

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

9 years agokernel: fix kmod-ieee802154_6lowpan config symbol
Jonas Gorski [Fri, 10 Apr 2015 10:30:00 +0000 (10:30 +0000)]
kernel: fix kmod-ieee802154_6lowpan config symbol

Fixes build failure caught by buildbot:

IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks support (IEEE802154) [M/n/y/?] m
  6lowpan support over IEEE 802.15.4 (IEEE802154_6LOWPAN) [N/m/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2

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

9 years agob53: clean up code to match kernel style better
Jonas Gorski [Fri, 10 Apr 2015 10:29:04 +0000 (10:29 +0000)]
b53: clean up code to match kernel style better

* properly enclose macro arguments in paranthesis on use
* remove trailing white space
* convert C99 // comments
* add missing blank lines after declaration
* remove braces from single statement blocks
* split lines > 80 chars (except for one)

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

9 years agob53: define registers available and needed on BCM5301X
Jonas Gorski [Fri, 10 Apr 2015 10:28:46 +0000 (10:28 +0000)]
b53: define registers available and needed on BCM5301X

They are also present on some BCM63xx switches.

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

9 years agodnsmasq: bump to 2.73rc4
Steven Barth [Fri, 10 Apr 2015 10:19:17 +0000 (10:19 +0000)]
dnsmasq: bump to 2.73rc4

Fix crash caused by malformed DNS requests
Improved DNSSEC handling

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

9 years agobcm53xx: build image for ASUS RT-AC56U
Rafał Miłecki [Fri, 10 Apr 2015 09:58:00 +0000 (09:58 +0000)]
bcm53xx: build image for ASUS RT-AC56U

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

9 years agobcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
Rafał Miłecki [Fri, 10 Apr 2015 09:42:48 +0000 (09:42 +0000)]
bcm53xx: Luxul XWC-1000 has only 128 MiB of RAM

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

9 years agohostapd: remove unused asprintf parameter
John Crispin [Fri, 10 Apr 2015 08:31:26 +0000 (08:31 +0000)]
hostapd: remove unused asprintf parameter

r45270 removed ieee80211n=%d from the format string but didn't remove
the parameter itself. Though this probably doesn't cause any harm, it's
quite confusing and unneeded.

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

9 years agoiptables: revert r40916
John Crispin [Fri, 10 Apr 2015 08:31:06 +0000 (08:31 +0000)]
iptables: revert r40916

it causes problems with newer iptables when ipv6 is disabled as iptc uncoditionally links ip6tc

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

9 years agowpan-tools: adds wpan-tools utility
John Crispin [Fri, 10 Apr 2015 08:30:11 +0000 (08:30 +0000)]
wpan-tools: adds wpan-tools utility

This patch adds the wpan-tools (iwpan) utility to OpenWRT
build system. This utility required to manage IEE-802.15.4
devices.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
SVN-Revision: 45349

9 years agokernel: adds wpan related packages
John Crispin [Fri, 10 Apr 2015 08:29:35 +0000 (08:29 +0000)]
kernel: adds wpan related packages

This patch adds the IEEE-802.15.4 and 6LoWPAN related
packages.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
SVN-Revision: 45348

9 years agosunxi: don't enable ARMTHUMB XZ BCJ filter in kernel
John Crispin [Fri, 10 Apr 2015 08:29:26 +0000 (08:29 +0000)]
sunxi: don't enable ARMTHUMB XZ BCJ filter in kernel

Having CONFIG_XZ_DEC_ARMTHUMB enabled breaks squashfs when ARM BCJ
filter was used to create the filesystem (and that's what we do on
all ARM targets). Thus unset CONFIG_XZ_DEC_ARMTHUMB to fix
squashfs on sunxi.

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

9 years agoqca-nss-gmac: update to latest version
John Crispin [Fri, 10 Apr 2015 08:29:05 +0000 (08:29 +0000)]
qca-nss-gmac: update to latest version

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45346

9 years agoipq806x: automatically select kmod-usb-phy-qcom-dwc3
John Crispin [Fri, 10 Apr 2015 08:28:44 +0000 (08:28 +0000)]
ipq806x: automatically select kmod-usb-phy-qcom-dwc3

kmod-usb-phy-qcom-dwc3 is required to get USB working on ipq806x. It was
missed in previous commit so let's enable it automatically.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45345

9 years agoprocd: fix compile error on x86_64
John Crispin [Fri, 10 Apr 2015 08:28:21 +0000 (08:28 +0000)]
procd: fix compile error on x86_64

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

9 years agoopenssl: disable arm optimisation until we know why it fails on some socs
John Crispin [Fri, 10 Apr 2015 08:27:55 +0000 (08:27 +0000)]
openssl: disable arm optimisation until we know why it fails on some socs

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

9 years agoralink: fix cevt-r4k hack
John Crispin [Fri, 10 Apr 2015 08:27:44 +0000 (08:27 +0000)]
ralink: fix cevt-r4k hack

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

9 years agofstools: update to latest git HEAD
John Crispin [Fri, 10 Apr 2015 08:27:27 +0000 (08:27 +0000)]
fstools: update to latest git HEAD

this fixes extroot on mvebu

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

9 years agouci: update to the latest version, fixes a regression in handling empty/comment lines...
Felix Fietkau [Thu, 9 Apr 2015 14:57:25 +0000 (14:57 +0000)]
uci: update to the latest version, fixes a regression in handling empty/comment lines in uci batch

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

9 years agoprocd: add helper for starting NAND sysupgrade
John Crispin [Thu, 9 Apr 2015 14:33:11 +0000 (14:33 +0000)]
procd: add helper for starting NAND sysupgrade

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

9 years agobase-files: add support for platform_pre_upgrade function
John Crispin [Thu, 9 Apr 2015 14:33:03 +0000 (14:33 +0000)]
base-files: add support for platform_pre_upgrade function

Current NAND sysupgrade process is a bit hard to follow due to the way
of triggering stage1. Currently this is done by leaving a /mark/ in the
form of /tmp/sysupgrade-nand-path during nand_do_platform_check.
Existence of this mark stops standard sysupgrade process (as the result
of sysupgrade_pre_upgrade exit). This may be a bit misleading.

Proposed solution adds a new function that will allow platform.sh
trigger NAND sysupgrade consciously. This will also allow cleaning
nand_do_platform_check limiting it to just checking the image.

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

9 years agomodules: remove zd1201 package
John Crispin [Thu, 9 Apr 2015 10:33:26 +0000 (10:33 +0000)]
modules: remove zd1201 package

it needs to be moved to compat-wireless

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

9 years agokernel: add rtl8723au driver (staging)
John Crispin [Thu, 9 Apr 2015 10:33:16 +0000 (10:33 +0000)]
kernel: add rtl8723au driver (staging)

- move config symbol to separate package (Why was it there in the first place?)
- 8723au might be used in some USB sticks or on some sunxi boards

compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45336

9 years agogeneric/3.18: add missing wireless symbols
John Crispin [Thu, 9 Apr 2015 10:33:11 +0000 (10:33 +0000)]
generic/3.18: add missing wireless symbols

triggered by enabling RFKILL in global build options

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45335

9 years agonetifd: Interface last error support
John Crispin [Thu, 9 Apr 2015 10:33:05 +0000 (10:33 +0000)]
netifd: Interface last error support

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

9 years agoppp: Detailed last error support
John Crispin [Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)]
ppp: Detailed last error support

Enables last error support for the PPP protocol handlers.
In generic teardown the PPP daemon exit code is translated into
a self explaining error string which is set as interface error
by proto_notify_error in case of failure.

Signed-off-by: Johan Peeters <johan.peeters111@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 45333

9 years agodnsmasq: Add option '--servers-file'
John Crispin [Thu, 9 Apr 2015 10:32:46 +0000 (10:32 +0000)]
dnsmasq: Add option '--servers-file'

The option '--servers-file' is available since dnsmasq v2.69.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
SVN-Revision: 45332

9 years agoramips: Add support for Microduino MicroWRT
John Crispin [Thu, 9 Apr 2015 10:32:37 +0000 (10:32 +0000)]
ramips: Add support for Microduino MicroWRT

MicroWRT is an wireless router with 2 USB,1 ethernet port. It
has a 16M flash and 64M DDR2 RAM. You can use most interface, such as
i2c, SPI, i2s and PCIe. Besides that there are three expansion borad to
combine with the core board. The detailed information, please refer to
https://www.microduino.cc/wiki/index.php?title=Main_Page

This patch adds support for it.
Because there is only one port,so disabled VLAN and use eth0 as lan
port. and only a power LED control by power pin.

Signed-off-by: 盛凯 <shengkai81@gmail.com>
SVN-Revision: 45331

9 years agodocs: Fix typo buysbox -> busybox.
John Crispin [Thu, 9 Apr 2015 10:32:26 +0000 (10:32 +0000)]
docs: Fix typo buysbox -> busybox.

Signed-off-by: Catalin Patulea <catalinp@google.com>
SVN-Revision: 45330

9 years agoubox: add log_trailer_null option to uci
John Crispin [Thu, 9 Apr 2015 10:32:18 +0000 (10:32 +0000)]
ubox: add log_trailer_null option to uci

this allow us to use syslog tcp with \0 trailer
instead of \n trailer (logread -0 option)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 45329

9 years agoar71xx: enable LEDs on Hornet-UB X2
John Crispin [Thu, 9 Apr 2015 10:32:08 +0000 (10:32 +0000)]
ar71xx: enable LEDs on Hornet-UB X2

None of the LEDs are enabled by default on the Hornet-UB X2 board
(the 16/64MB version of the Hornet-UB), because it uses a different
board-name ("hornet-ub-x2"); but hornet-ub and hornet-ub-x2 boards
are equivalent WRT their LEDs.

SIgned-off-by: Joshua Judson Rosen <jrosen@harvestai.com>
SVN-Revision: 45328

9 years agoumbim: update to latest git HEAD
John Crispin [Thu, 9 Apr 2015 10:32:01 +0000 (10:32 +0000)]
umbim: update to latest git HEAD

merge patches from Bjørn Mork

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

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

9 years agomac80211: add start_disabled option
John Crispin [Thu, 9 Apr 2015 10:31:56 +0000 (10:31 +0000)]
mac80211: add start_disabled option

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

9 years agohostapd: add update_beacon to ubus binding
John Crispin [Thu, 9 Apr 2015 10:31:45 +0000 (10:31 +0000)]
hostapd: add update_beacon to ubus binding

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

9 years agogeneric: add a few missing symbols for 4.0
Zoltan Herpai [Thu, 9 Apr 2015 10:28:59 +0000 (10:28 +0000)]
generic: add a few missing symbols for 4.0

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

9 years agoodhcp6c: add 464xlat integration, fix dslite integration
Steven Barth [Thu, 9 Apr 2015 08:17:32 +0000 (08:17 +0000)]
odhcp6c: add 464xlat integration, fix dslite integration

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

9 years agods-lite: add support for fqdn peeraddrs
Steven Barth [Thu, 9 Apr 2015 08:17:23 +0000 (08:17 +0000)]
ds-lite: add support for fqdn peeraddrs

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

9 years agobusybox: fix regression in handling non-existant find path arguments (#19439)
Felix Fietkau [Thu, 9 Apr 2015 08:02:33 +0000 (08:02 +0000)]
busybox: fix regression in handling non-existant find path arguments (#19439)

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

9 years agobcm53xx: switch to the otrx for verifying TRX images
Rafał Miłecki [Thu, 9 Apr 2015 06:33:56 +0000 (06:33 +0000)]
bcm53xx: switch to the otrx for verifying TRX images

This adds checking CRC32 of provided firmware image.

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

9 years agobrcm47xx: image: use "-" separator for device version
Rafał Miłecki [Thu, 9 Apr 2015 05:40:37 +0000 (05:40 +0000)]
brcm47xx: image: use "-" separator for device version

This makes legacy subtarget follow two other.

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

9 years agobrcm47xx: verify also standard TRX images during sysupgrade
Rafał Miłecki [Thu, 9 Apr 2015 05:36:16 +0000 (05:36 +0000)]
brcm47xx: verify also standard TRX images during sysupgrade

It allows detecting data corruption for plain TRX as well.

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

9 years agobrcm47xx: fix WRT300N devices magics for sysupgrade check
Rafał Miłecki [Thu, 9 Apr 2015 05:22:10 +0000 (05:22 +0000)]
brcm47xx: fix WRT300N devices magics for sysupgrade check

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

9 years agobrcm47xx: switch to the otrx for verifying TRX images
Rafał Miłecki [Thu, 9 Apr 2015 05:22:04 +0000 (05:22 +0000)]
brcm47xx: switch to the otrx for verifying TRX images

This adds checking CRC32 of provided firmware image.

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

9 years agootrx: new package with tiny app verifying TRX images
Rafał Miłecki [Thu, 9 Apr 2015 05:21:55 +0000 (05:21 +0000)]
otrx: new package with tiny app verifying TRX images

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

9 years agokernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches
Gabor Juhos [Wed, 8 Apr 2015 16:21:04 +0000 (16:21 +0000)]
kernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches

Those don't exist anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45314

9 years agobrcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command
Rafał Miłecki [Wed, 8 Apr 2015 09:50:57 +0000 (09:50 +0000)]
brcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command

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

9 years agoimage.mk: rework FILESYSTEM evaluation order to fix some build issues
Felix Fietkau [Wed, 8 Apr 2015 09:26:10 +0000 (09:26 +0000)]
image.mk: rework FILESYSTEM evaluation order to fix some build issues

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

9 years agobcm53xx: replace few BCM5301X patches with versions sent upstream
Rafał Miłecki [Wed, 8 Apr 2015 09:22:02 +0000 (09:22 +0000)]
bcm53xx: replace few BCM5301X patches with versions sent upstream

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

9 years agobrcm47xx: update legacy subtarget description
Rafał Miłecki [Wed, 8 Apr 2015 05:55:32 +0000 (05:55 +0000)]
brcm47xx: update legacy subtarget description

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

9 years agomac80211: make b43 N-PHY default for brcm47xx legacy subtarget
Rafał Miłecki [Wed, 8 Apr 2015 05:55:28 +0000 (05:55 +0000)]
mac80211: make b43 N-PHY default for brcm47xx legacy subtarget

Subtarget legacy is supposed to support all ssb SoC except for BCM4705.
There are few BCM4703 devices with 802.11n supprt (WRT160N v1.0, v1.1).
Few BCM4704 devices with 802.11n: ASUS WL-500W, Linksys WRT150N v1.0 &
v1.1, Linksys WRT300N v1.0, Netgear WNDR3300 v1, WNR834B v1 & v2.

It seems we have to enable N-PHY for legacy as well to support above.
Unfortunately it increases root.squashfs size by 48 460 B.

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

9 years agobrcm47xx: add fix "Data bus error" on CardBus ssb SoCs
Rafał Miłecki [Wed, 8 Apr 2015 05:09:42 +0000 (05:09 +0000)]
brcm47xx: add fix "Data bus error" on CardBus ssb SoCs

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

9 years agobrcm47xx: reverse 2 LEDs polarity on WRT320N v1
Rafał Miłecki [Wed, 8 Apr 2015 04:46:27 +0000 (04:46 +0000)]
brcm47xx: reverse 2 LEDs polarity on WRT320N v1

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

9 years agokernel: backport ssb patches up to changes queued for 4.1
Rafał Miłecki [Tue, 7 Apr 2015 22:06:17 +0000 (22:06 +0000)]
kernel: backport ssb patches up to changes queued for 4.1

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

9 years agogeneric/4.0: upgrade to 4.0-rc7
Imre Kaloz [Tue, 7 Apr 2015 21:34:38 +0000 (21:34 +0000)]
generic/4.0: upgrade to 4.0-rc7

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

9 years agobrcm47xx: define rest of LEDs & buttons for WRT320N
Rafał Miłecki [Tue, 7 Apr 2015 21:31:36 +0000 (21:31 +0000)]
brcm47xx: define rest of LEDs & buttons for WRT320N

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

9 years agogeneric/3.18: upgrade to 3.18.11
Imre Kaloz [Tue, 7 Apr 2015 21:29:26 +0000 (21:29 +0000)]
generic/3.18: upgrade to 3.18.11

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

9 years agomvebu: disable cpu idle on a38x
Imre Kaloz [Tue, 7 Apr 2015 21:13:44 +0000 (21:13 +0000)]
mvebu: disable cpu idle on a38x

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

9 years agomwlwifi: upgrade to the latest revision
Imre Kaloz [Tue, 7 Apr 2015 21:11:37 +0000 (21:11 +0000)]
mwlwifi: upgrade to the latest revision

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

9 years agoar71xx: add user-space support for RB911G-5HPacD
Gabor Juhos [Tue, 7 Apr 2015 20:04:14 +0000 (20:04 +0000)]
ar71xx: add user-space support for RB911G-5HPacD

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45300

9 years agoar71xx: add initial support for RB911G-5HPacD
Gabor Juhos [Tue, 7 Apr 2015 20:04:03 +0000 (20:04 +0000)]
ar71xx: add initial support for RB911G-5HPacD

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45299

9 years agoar71xx: routerboot: export extended wlan data via sysfs
Gabor Juhos [Tue, 7 Apr 2015 20:03:43 +0000 (20:03 +0000)]
ar71xx: routerboot: export extended wlan data via sysfs

Export the data to make it accessible from user-space.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45298

9 years agoar71xx: routerboot: add support for extended radio data
Gabor Juhos [Tue, 7 Apr 2015 20:03:35 +0000 (20:03 +0000)]
ar71xx: routerboot: add support for extended radio data

On newer Mikrotik boards, the radio calibration data
is stored differently and uses LZO compression instead
of RLE.

Update the RouterBOOT helper code to support the new
format.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45297

9 years agoar71xx: select RLE_DECOMPRESS directly by the RouterBOOT helper code
Gabor Juhos [Tue, 7 Apr 2015 20:03:24 +0000 (20:03 +0000)]
ar71xx: select RLE_DECOMPRESS directly by the RouterBOOT helper code

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45296

9 years agokernel: add support for the MX25L512E and SI25CD512 SPI flash chips
Gabor Juhos [Tue, 7 Apr 2015 20:03:15 +0000 (20:03 +0000)]
kernel: add support for the MX25L512E and SI25CD512 SPI flash chips

These are used on some MikroTik boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45295

9 years agoUpstream commits 43b68879de27b1993518687fbc6013da80cdcbfe and ce6031c89a35cffd5a5992b...
Imre Kaloz [Tue, 7 Apr 2015 18:13:51 +0000 (18:13 +0000)]
Upstream commits 43b68879de27b1993518687fbc6013da80cdcbfe and ce6031c89a35cffd5a5992b08377b77f49a004b9 improve the cpuidle driver on Armada XP. The latter commit improves performance at the slight expense of power consumption.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45294

9 years agobrcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B
Rafał Miłecki [Tue, 7 Apr 2015 15:40:51 +0000 (15:40 +0000)]
brcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B

First of all this patch was affecting other devices, not just Netgear
WNR834B. E.g. Linksys WRT300N v1 also has boardtype 0x0472.
This was breaking PCI on WRT300N, ssb couldn't detect core working in
hostmode (due to mips_busprobe32 failing).

Secondly this patch should not be needed for years now. From the analyze
of #8861 it seems it was needed just to make devices at slots other than
0 discoverable. Setting cardbus to 0 was simply making ssb allow access
to PCI config for devices other than bridge.
With the upstream commit a6c8462 (ssb: fix cardbus slot in hostmode) we
allow accessing device at slot 1 which should be enough for CardBus.

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

9 years agobcm53xx: image: share function checking TRX in provided firmware
Rafał Miłecki [Tue, 7 Apr 2015 14:14:08 +0000 (14:14 +0000)]
bcm53xx: image: share function checking TRX in provided firmware

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

9 years agobcm53xx: display all errors (not just the 1st one) when checking image
Rafał Miłecki [Tue, 7 Apr 2015 14:14:02 +0000 (14:14 +0000)]
bcm53xx: display all errors (not just the 1st one) when checking image

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

9 years agobcm53xx: compare provided firmware magic with device magic
Rafał Miłecki [Tue, 7 Apr 2015 14:13:56 +0000 (14:13 +0000)]
bcm53xx: compare provided firmware magic with device magic

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

9 years agobrcm47xx: detect Linksys WRT320N v1
Rafał Miłecki [Tue, 7 Apr 2015 13:08:17 +0000 (13:08 +0000)]
brcm47xx: detect Linksys WRT320N v1

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

9 years agobrcm47xx: backport MIPS BCM47XX patches queued for 4.1
Rafał Miłecki [Tue, 7 Apr 2015 12:54:23 +0000 (12:54 +0000)]
brcm47xx: backport MIPS BCM47XX patches queued for 4.1

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

9 years agobrcm47xx: group MIPS BCM47XX backported patches by source kernel
Rafał Miłecki [Tue, 7 Apr 2015 11:54:18 +0000 (11:54 +0000)]
brcm47xx: group MIPS BCM47XX backported patches by source kernel

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

9 years agobuild: add integration for managing opkg package feed keys
Felix Fietkau [Mon, 6 Apr 2015 19:39:51 +0000 (19:39 +0000)]
build: add integration for managing opkg package feed keys

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

9 years agoopkg: add patch to circumvent signature checks on the command line
Felix Fietkau [Mon, 6 Apr 2015 19:39:22 +0000 (19:39 +0000)]
opkg: add patch to circumvent signature checks on the command line

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

9 years agoopkg: add patch for supporting signature checking through usign
Felix Fietkau [Mon, 6 Apr 2015 19:38:37 +0000 (19:38 +0000)]
opkg: add patch for supporting signature checking through usign

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

9 years agousign: add new package for generating/verifying verification (similar to signify)
Felix Fietkau [Mon, 6 Apr 2015 19:38:07 +0000 (19:38 +0000)]
usign: add new package for generating/verifying verification (similar to signify)

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

9 years agocmake.mk: add host build support
Felix Fietkau [Mon, 6 Apr 2015 19:37:42 +0000 (19:37 +0000)]
cmake.mk: add host build support

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

9 years agoar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped...
Felix Fietkau [Mon, 6 Apr 2015 19:26:30 +0000 (19:26 +0000)]
ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)

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

9 years agooprofile: add dependency on librt, it seems to be needed in some configurations
Felix Fietkau [Mon, 6 Apr 2015 18:44:28 +0000 (18:44 +0000)]
oprofile: add dependency on librt, it seems to be needed in some configurations

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

9 years agoodhcpd: fix infinite lifetime handling in dhcpv6
Steven Barth [Mon, 6 Apr 2015 10:50:54 +0000 (10:50 +0000)]
odhcpd: fix infinite lifetime handling in dhcpv6

thanks to Arjen de Korte

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

9 years agox86: set ARCH_PACKAGES for the x86_64 subtarget (fixes #19425)
Felix Fietkau [Mon, 6 Apr 2015 10:07:43 +0000 (10:07 +0000)]
x86: set ARCH_PACKAGES for the x86_64 subtarget (fixes #19425)

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

9 years agoipq806x: another missing symbol
John Crispin [Sun, 5 Apr 2015 07:53:32 +0000 (07:53 +0000)]
ipq806x: another missing symbol

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

9 years agokernel: CONFIG_BRIDGE should not be overridden
John Crispin [Sun, 5 Apr 2015 07:40:38 +0000 (07:40 +0000)]
kernel: CONFIG_BRIDGE should not be overridden

this breaks ebtables, netfilter, ... during fullbuilds

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

9 years agoarm64: remove CGROUPS override
Florian Fainelli [Sat, 4 Apr 2015 19:33:32 +0000 (19:33 +0000)]
arm64: remove CGROUPS override

SCHED_AUTOGROUP was turned on by default which forces the use of
CGROUPS, conflicting with the options we offer from menuconfig, remove
that.

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

9 years agomcs814x: switch to 3.18 kernel
Florian Fainelli [Sat, 4 Apr 2015 18:01:26 +0000 (18:01 +0000)]
mcs814x: switch to 3.18 kernel

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

9 years agomcs814x: add support for 3.18
Florian Fainelli [Sat, 4 Apr 2015 18:01:07 +0000 (18:01 +0000)]
mcs814x: add support for 3.18

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

9 years agobusybox: update to version 1.23.2
Felix Fietkau [Sat, 4 Apr 2015 17:52:02 +0000 (17:52 +0000)]
busybox: update to version 1.23.2

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

9 years agomac80211: get rid of tx power related log spam
Felix Fietkau [Sat, 4 Apr 2015 17:51:53 +0000 (17:51 +0000)]
mac80211: get rid of tx power related log spam

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

9 years agohostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
Felix Fietkau [Sat, 4 Apr 2015 17:51:46 +0000 (17:51 +0000)]
hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting

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

9 years agokernel: switch to upstream
John Crispin [Sat, 4 Apr 2015 06:10:03 +0000 (06:10 +0000)]
kernel: switch to upstream

This driver is upstream since 2012 (commit: a8e510f682f), so switch to
it and remove own sources. Also place it under "Network Devices" menu
together with other phy drivers.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 45269

9 years agokernel: fix dwc3 symbols
John Crispin [Sat, 4 Apr 2015 05:20:34 +0000 (05:20 +0000)]
kernel: fix dwc3 symbols

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

9 years agoxburst: mark the asoc modules as BROKEN until the upstream fixes get merged
John Crispin [Fri, 3 Apr 2015 20:41:50 +0000 (20:41 +0000)]
xburst: mark the asoc modules as BROKEN until the upstream fixes get merged

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

9 years agotools: build ccache when building the sdk (fixes #13949)
Felix Fietkau [Fri, 3 Apr 2015 19:42:38 +0000 (19:42 +0000)]
tools: build ccache when building the sdk (fixes #13949)

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

9 years agomac80211: update the software queue patch to the version accepted upstream
Felix Fietkau [Fri, 3 Apr 2015 19:42:33 +0000 (19:42 +0000)]
mac80211: update the software queue patch to the version accepted upstream

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

9 years agoppp: Fix missing arg argument when using option flag OPT_A2STRVAL
John Crispin [Fri, 3 Apr 2015 19:06:56 +0000 (19:06 +0000)]
ppp: Fix missing arg argument when using option flag OPT_A2STRVAL

The arg argument is missing to the printer call in the print_option
utility when the option flag OPT_A2STRVAL is set.

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

9 years agoppp: Fix seg fault when using pppol2tp
John Crispin [Fri, 3 Apr 2015 19:06:45 +0000 (19:06 +0000)]
ppp: Fix seg fault when using pppol2tp

PPPD crashes (SEGV) when the dump or dryrun options are specified and an option
is internally defined as "o_special" with an option flag of "OPT_A2STRVAL".
As the option value is not saved when the parameter is processed, a reference
to the option will result into a crash (e.g. when printing).

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

9 years agoipq806x: enable usb3 packages in default profile
John Crispin [Fri, 3 Apr 2015 19:06:38 +0000 (19:06 +0000)]
ipq806x: enable usb3 packages in default profile

Default profile already enables usb2 so we'll do the same for usb3 now
that we have support for it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45262

9 years agoipq806x: add platform usb support
John Crispin [Fri, 3 Apr 2015 19:06:30 +0000 (19:06 +0000)]
ipq806x: add platform usb support

This change adds DWC3 QCOM USB phys and TCSR drivers. These are
cherry-picked from the following LKML threads:
*dwc3 qcom: https://lkml.org/lkml/2014/9/12/599
*tcsr: https://lkml.org/lkml/2015/2/9/579

We're also adding an additional patch to add the corresponding dev nodes
in the IPQ806x and AP148 dts files.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45261

9 years agokernel: add package for dwc3 usb driver used on ipq806x
John Crispin [Fri, 3 Apr 2015 19:06:21 +0000 (19:06 +0000)]
kernel: add package for dwc3 usb driver used on ipq806x

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45260

9 years agoipq806x: enable usb support
John Crispin [Fri, 3 Apr 2015 19:06:11 +0000 (19:06 +0000)]
ipq806x: enable usb support

This change doesn't make USB functional but it does make it selectable
from a configuration perspective.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45259