openwrt/staging/hauke.git
9 years agofstools: reject relative mount points
Jo-Philipp Wich [Sun, 12 Apr 2015 20:34:31 +0000 (20:34 +0000)]
fstools: reject relative mount points

To prevent future confusion around '/overlay' vs. 'overlay' simply reject
relative path specifications as mount points since such paths result in
undefined behaviour anyway.

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

9 years agobcm53xx: try to handle Netgear R8000 VLANs config
Rafał Miłecki [Sun, 12 Apr 2015 20:11:25 +0000 (20:11 +0000)]
bcm53xx: try to handle Netgear R8000 VLANs config

It seems to have few ports connected to CPU (only for CPU sending data?)
as part of "SMP dual core 3 GMAC setup" feature.

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

9 years agob53: improve overriding CPU port state on BCM5301X
Rafał Miłecki [Sun, 12 Apr 2015 20:00:42 +0000 (20:00 +0000)]
b53: improve overriding CPU port state on BCM5301X

On BCM5301X there are two different cases to handle: CPU port 8 vs. any
other one. Support for CPU port 8 was already partially implemented but
it lacked setting some extra bit for 2G speed. It also will need to be
extended to implement "SMP dual core 3 GMAC setup". That's the reason
for handling it in separated code block.
This patch also adds overriding CPU port state for port other than 8. It
requires using recently defined GMII_PORT registers.
It was tested for regressions on BCM53011 revs 2 & 3. It was also
confirmed to fix switch on some internal Broadcom board.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45402

9 years agomvebu: refresh patches
Imre Kaloz [Sun, 12 Apr 2015 17:30:41 +0000 (17:30 +0000)]
mvebu: refresh patches

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

9 years agomvebu: migrate mamba support to the upstreamed code
Imre Kaloz [Sun, 12 Apr 2015 17:29:50 +0000 (17:29 +0000)]
mvebu: migrate mamba support to the upstreamed code

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

9 years agobcm53xx: fix bcma gpio chip base
Felix Fietkau [Sun, 12 Apr 2015 17:22:04 +0000 (17:22 +0000)]
bcm53xx: fix bcma gpio chip base

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

9 years agokernel: add missing memory barrier to bgmac
Felix Fietkau [Sun, 12 Apr 2015 16:39:24 +0000 (16:39 +0000)]
kernel: add missing memory barrier to bgmac

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

9 years agomodules: add missing imx6 depenedency to dwc2
John Crispin [Sun, 12 Apr 2015 15:34:44 +0000 (15:34 +0000)]
modules: add missing imx6 depenedency to dwc2

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

9 years agomvebu: handle other SKUs as well
Imre Kaloz [Sun, 12 Apr 2015 15:04:14 +0000 (15:04 +0000)]
mvebu: handle other SKUs as well

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

9 years agomvebu: include the ahci driver in the default profile
Imre Kaloz [Sun, 12 Apr 2015 15:03:25 +0000 (15:03 +0000)]
mvebu: include the ahci driver in the default profile

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

9 years agomodules: package the mvebu ahci driver
Imre Kaloz [Sun, 12 Apr 2015 15:02:43 +0000 (15:02 +0000)]
modules: package the mvebu ahci driver

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

9 years agogeneric: make sure we only try to mangle bootargs we do have
Imre Kaloz [Sun, 12 Apr 2015 14:46:19 +0000 (14:46 +0000)]
generic: make sure we only try to mangle bootargs we do have

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

9 years agobcm53xx: allow sysupgrade firmwares without UBI containing rootfs
Rafał Miłecki [Sun, 12 Apr 2015 12:04:13 +0000 (12:04 +0000)]
bcm53xx: allow sysupgrade firmwares without UBI containing rootfs

In most cases it allows reverting back to the vendor firmware (as they
usually don't use UBI). If users wants to do that we can't do anything
anyway. Erease counters will be just lost. The only thing we do is warn:
"Flashing firmware without UBI for rootfs. All erase counters will be
lost."
It still requires forcing sysupgrade.

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

9 years agobcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
Rafał Miłecki [Sun, 12 Apr 2015 11:46:16 +0000 (11:46 +0000)]
bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade

We can now detect that provided firmware contains kernel and UBI image
partitions. Flashing it in a sane way (keeping erase counters) still
needs to be implemented.

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

9 years agootrx: support for extracting partitions
Rafał Miłecki [Sun, 12 Apr 2015 11:46:11 +0000 (11:46 +0000)]
otrx: support for extracting partitions

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

9 years agobcm53xx: rework vendor fw handling to don't duplicate upgrade calls
Rafał Miłecki [Sun, 12 Apr 2015 10:42:27 +0000 (10:42 +0000)]
bcm53xx: rework vendor fw handling to don't duplicate upgrade calls

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

9 years agokernel: add bgmac fixes for various issues
Felix Fietkau [Sun, 12 Apr 2015 10:35:21 +0000 (10:35 +0000)]
kernel: add bgmac fixes for various issues

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

9 years agobcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
Rafał Miłecki [Sun, 12 Apr 2015 10:20:59 +0000 (10:20 +0000)]
bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation

With previous version of patch info about need of erasing blocks was
stored once per boot. It was breaking in following scenario:
1) First boot after installation (erasing blocks after 0xdeadc0de)
2) Doing sysupgrade (with ubidetach & ubiformat)
3) Attaching UBI again (it caused all blocks to be erased)

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

9 years agomvebu: reformat the damaged syscfg partition on the mamba
Imre Kaloz [Sun, 12 Apr 2015 08:35:33 +0000 (08:35 +0000)]
mvebu: reformat the damaged syscfg partition on the mamba

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

9 years agokernel: revert section sorting change from r41951
Felix Fietkau [Sat, 11 Apr 2015 21:21:03 +0000 (21:21 +0000)]
kernel: revert section sorting change from r41951

It currently does not seem to make a difference anymore, except by
increasing compressed kernel image size

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

9 years agobusybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
Felix Fietkau [Sat, 11 Apr 2015 19:34:45 +0000 (19:34 +0000)]
busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it

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

9 years agokernel: remove leftover @ (#19454)
Felix Fietkau [Sat, 11 Apr 2015 12:23:36 +0000 (12:23 +0000)]
kernel: remove leftover @ (#19454)

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

9 years agonetfilter.mk: remove bogus NAT related kernel module entries (#19451)
Felix Fietkau [Sat, 11 Apr 2015 12:22:39 +0000 (12:22 +0000)]
netfilter.mk: remove bogus NAT related kernel module entries (#19451)

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

9 years agonetfilter.mk: drop obsolete kernel version dependencies
Felix Fietkau [Sat, 11 Apr 2015 12:22:28 +0000 (12:22 +0000)]
netfilter.mk: drop obsolete kernel version dependencies

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

9 years agonetifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)
Felix Fietkau [Sat, 11 Apr 2015 10:52:01 +0000 (10:52 +0000)]
netifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)

Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 45380

9 years agonetifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)
Felix Fietkau [Sat, 11 Apr 2015 10:51:55 +0000 (10:51 +0000)]
netifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)

Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 45379

9 years agoimx6: add missing patches from 3.14
Luka Perkov [Sat, 11 Apr 2015 10:46:20 +0000 (10:46 +0000)]
imx6: add missing patches from 3.14

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

9 years agokernel: remove kernel module checks/dependencies for 3.14
Felix Fietkau [Sat, 11 Apr 2015 10:43:46 +0000 (10:43 +0000)]
kernel: remove kernel module checks/dependencies for 3.14

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

9 years agoinclude: drop old kernel versions
Luka Perkov [Sat, 11 Apr 2015 10:28:20 +0000 (10:28 +0000)]
include: drop old kernel versions

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

9 years agogeneric: drop 3.14
Luka Perkov [Sat, 11 Apr 2015 10:28:14 +0000 (10:28 +0000)]
generic: drop 3.14

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

9 years agobrcm47xx: drop 3.14
Luka Perkov [Sat, 11 Apr 2015 10:28:11 +0000 (10:28 +0000)]
brcm47xx: drop 3.14

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

9 years agoadm8668: drop 3.14
Luka Perkov [Sat, 11 Apr 2015 10:28:06 +0000 (10:28 +0000)]
adm8668: drop 3.14

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

9 years agomcs814x: drop 3.14
Luka Perkov [Sat, 11 Apr 2015 10:28:03 +0000 (10:28 +0000)]
mcs814x: drop 3.14

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

9 years agoimx6: drop 3.14
Luka Perkov [Sat, 11 Apr 2015 10:28:00 +0000 (10:28 +0000)]
imx6: drop 3.14

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

9 years agoimx6: switch to 3.18
Luka Perkov [Sat, 11 Apr 2015 10:27:49 +0000 (10:27 +0000)]
imx6: switch to 3.18

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

9 years agomxs: reinstate rootfs image creation and dtb copy
Zoltan Herpai [Fri, 10 Apr 2015 21:36:33 +0000 (21:36 +0000)]
mxs: reinstate rootfs image creation and dtb copy

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 45369

9 years agomxs: Include the right kernel image in the rootfs
Zoltan Herpai [Fri, 10 Apr 2015 21:34:21 +0000 (21:34 +0000)]
mxs: Include the right kernel image in the rootfs

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 45368

9 years agomodules: fix postinst generation for kernel modules
John Crispin [Fri, 10 Apr 2015 20:39:44 +0000 (20:39 +0000)]
modules: fix postinst generation for kernel modules

Fixes ticket #19352.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45367

9 years agolibrpc: update to the latest version, fixes musl compatibility issues (#19445)
Felix Fietkau [Fri, 10 Apr 2015 20:02:55 +0000 (20:02 +0000)]
librpc: update to the latest version, fixes musl compatibility issues (#19445)

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

9 years agomodules: more wpan fixes
John Crispin [Fri, 10 Apr 2015 14:42:11 +0000 (14:42 +0000)]
modules: more wpan fixes

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

9 years agomodules: add missing wpan fakehard driver
John Crispin [Fri, 10 Apr 2015 13:39:38 +0000 (13:39 +0000)]
modules: add missing wpan fakehard driver

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

9 years agokernel: remove references to kmod-of-i2c
John Crispin [Fri, 10 Apr 2015 13:39:33 +0000 (13:39 +0000)]
kernel: remove references to kmod-of-i2c

these break the IB since the module is part of i2c-core now

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

9 years agokernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
Felix Fietkau [Fri, 10 Apr 2015 11:52:59 +0000 (11:52 +0000)]
kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)

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

9 years agokernel: drop obsolete linux 3.10 related dependencies/checks
Felix Fietkau [Fri, 10 Apr 2015 11:52:54 +0000 (11:52 +0000)]
kernel: drop obsolete linux 3.10 related dependencies/checks

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

9 years agokernel: remove linux 3.10 support
Felix Fietkau [Fri, 10 Apr 2015 11:52:47 +0000 (11:52 +0000)]
kernel: remove linux 3.10 support

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

9 years agoodhcpd: send current hop-limit by default in RAs
Steven Barth [Fri, 10 Apr 2015 11:52:42 +0000 (11:52 +0000)]
odhcpd: send current hop-limit by default in RAs

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

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