openwrt.git
9 years agowpan: remove duplicate DEPENDS
luka [Mon, 13 Apr 2015 07:01:32 +0000 (07:01 +0000)]
wpan: remove duplicate DEPENDS

Signed-off-by: Varka Bhadram <varkab@cdac.in>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45409 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: add a comment about the gpio base patch
nbd [Sun, 12 Apr 2015 22:10:44 +0000 (22:10 +0000)]
bcm53xx: add a comment about the gpio base patch

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

9 years agokernel: bgmac: add more DMA related fixes
nbd [Sun, 12 Apr 2015 22:10:40 +0000 (22:10 +0000)]
kernel: bgmac: add more DMA related fixes

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

9 years agoppc40x: upgrade to 3.18
kaloz [Sun, 12 Apr 2015 20:48:13 +0000 (20:48 +0000)]
ppc40x: upgrade to 3.18

left "broken" as I'm not sure if my only board is to blame.. testers welcomed

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

9 years agoorion: upgrade to 3.18 (compile tested only)
kaloz [Sun, 12 Apr 2015 20:45:55 +0000 (20:45 +0000)]
orion: upgrade to 3.18 (compile tested only)

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

9 years agofstools: reject relative mount points
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45404 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: try to handle Netgear R8000 VLANs config
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45403 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob53: improve overriding CPU port state on BCM5301X
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45402 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agomvebu: migrate mamba support to the upstreamed code
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45400 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: fix bcma gpio chip base
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45399 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing memory barrier to bgmac
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45398 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: add missing imx6 depenedency to dwc2
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45397 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: handle other SKUs as well
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45396 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: include the ahci driver in the default profile
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45395 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: package the mvebu ahci driver
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45394 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: make sure we only try to mangle bootargs we do have
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45393 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: allow sysupgrade firmwares without UBI containing rootfs
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45392 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45391 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agootrx: support for extracting partitions
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45390 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: rework vendor fw handling to don't duplicate upgrade calls
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45389 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add bgmac fixes for various issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45388 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45387 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: reformat the damaged syscfg partition on the mamba
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45386 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: revert section sorting change from r41951
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45385 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobusybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45384 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agonetfilter.mk: remove bogus NAT related kernel module entries (#19451)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45382 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetfilter.mk: drop obsolete kernel version dependencies
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45381 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45380 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45379 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimx6: add missing patches from 3.14
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45378 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove kernel module checks/dependencies for 3.14
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45377 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 years agomxs: reinstate rootfs image creation and dtb copy
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45369 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: Include the right kernel image in the rootfs
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45368 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: fix postinst generation for kernel modules
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45367 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolibrpc: update to the latest version, fixes musl compatibility issues (#19445)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45366 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agomodules: add missing wpan fakehard driver
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45364 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove references to kmod-of-i2c
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45363 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45362 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: drop obsolete linux 3.10 related dependencies/checks
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45361 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove linux 3.10 support
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45360 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: send current hop-limit by default in RAs
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45359 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: move IPv6 /proc config to userspace and sanitize
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45358 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: fix kmod-ieee802154_6lowpan config symbol
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45357 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob53: clean up code to match kernel style better
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45356 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob53: define registers available and needed on BCM5301X
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45355 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: bump to 2.73rc4
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45354 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: build image for ASUS RT-AC56U
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45353 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45352 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: remove unused asprintf parameter
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45351 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiptables: revert r40916
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45350 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agowpan-tools: adds wpan-tools utility
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45349 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: adds wpan related packages
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45348 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: don't enable ARMTHUMB XZ BCJ filter in kernel
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45347 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoqca-nss-gmac: update to latest version
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45346 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: automatically select kmod-usb-phy-qcom-dwc3
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45345 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: fix compile error on x86_64
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45344 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenssl: disable arm optimisation until we know why it fails on some socs
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45343 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agofstools: update to latest git HEAD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45341 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouci: update to the latest version, fixes a regression in handling empty/comment lines...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45340 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: add helper for starting NAND sysupgrade
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45339 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: add support for platform_pre_upgrade function
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45338 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: remove zd1201 package
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45337 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add rtl8723au driver (staging)
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45336 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/3.18: add missing wireless symbols
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45335 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agoppp: Detailed last error support
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45333 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Add option '--servers-file'
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45332 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Add support for Microduino MicroWRT
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45331 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Catalin Patulea <catalinp@google.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45330 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubox: add log_trailer_null option to uci
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45329 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: enable LEDs on Hornet-UB X2
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45328 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoumbim: update to latest git HEAD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45327 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

9 years agohostapd: add update_beacon to ubus binding
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45325 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: add a few missing symbols for 4.0
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45324 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: add 464xlat integration, fix dslite integration
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45323 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agods-lite: add support for fqdn peeraddrs
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45322 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobusybox: fix regression in handling non-existant find path arguments (#19439)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45321 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: switch to the otrx for verifying TRX images
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45320 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: use "-" separator for device version
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45319 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: verify also standard TRX images during sysupgrade
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45318 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix WRT300N devices magics for sysupgrade check
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45317 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: switch to the otrx for verifying TRX images
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45316 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agootrx: new package with tiny app verifying TRX images
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45315 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45314 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45313 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: rework FILESYSTEM evaluation order to fix some build issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45312 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: replace few BCM5301X patches with versions sent upstream
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45311 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: update legacy subtarget description
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45310 3c298f89-4303-0410-b956-a3cf2f4a3e73