openwrt/openwrt.git
9 years agobuild: set CCACHE_DIR for host builds
Felix Fietkau [Tue, 14 Apr 2015 00:00:55 +0000 (00:00 +0000)]
build: set CCACHE_DIR for host builds

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

9 years agobcm53xx: refresh kernel patches
Felix Fietkau [Mon, 13 Apr 2015 22:23:37 +0000 (22:23 +0000)]
bcm53xx: refresh kernel patches

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

9 years agoqos-scripts: remove layer7 support
Felix Fietkau [Mon, 13 Apr 2015 22:23:26 +0000 (22:23 +0000)]
qos-scripts: remove layer7 support

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

9 years agoiptables: remove layer7 support
Felix Fietkau [Mon, 13 Apr 2015 22:23:19 +0000 (22:23 +0000)]
iptables: remove layer7 support

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

9 years agokernel: finally remove layer7 filter support
Felix Fietkau [Mon, 13 Apr 2015 22:23:14 +0000 (22:23 +0000)]
kernel: finally remove layer7 filter support

it has been non-functional for years and caused numerous memleaks and
crashes for people that tried to enable it.
it has no maintained upstream source, and it does not look like it's
going to be fixed any time soon

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

9 years agokernel: fix more bgmac dma init/cleanup issues
Felix Fietkau [Mon, 13 Apr 2015 20:08:30 +0000 (20:08 +0000)]
kernel: fix more bgmac dma init/cleanup issues

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

9 years agomvebu: copy the initramfs files to the bin dir
Imre Kaloz [Mon, 13 Apr 2015 20:06:47 +0000 (20:06 +0000)]
mvebu: copy the initramfs files to the bin dir

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

9 years agokernel: sync bgmac changes with latest upstream submission
Felix Fietkau [Mon, 13 Apr 2015 17:32:33 +0000 (17:32 +0000)]
kernel: sync bgmac changes with latest upstream submission

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

9 years agobcm53xx: add support for the Buffalo WXR-1900DHP
Felix Fietkau [Mon, 13 Apr 2015 17:32:25 +0000 (17:32 +0000)]
bcm53xx: add support for the Buffalo WXR-1900DHP

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

9 years agobcm53xx: fix GPIO pins > 16
Felix Fietkau [Mon, 13 Apr 2015 17:32:18 +0000 (17:32 +0000)]
bcm53xx: fix GPIO pins > 16

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

9 years agokernel: add bgmac fixes for bcm53xx (fix ethernet bringup on a bcm4709 based device)
Felix Fietkau [Mon, 13 Apr 2015 17:32:12 +0000 (17:32 +0000)]
kernel: add bgmac fixes for bcm53xx (fix ethernet bringup on a bcm4709 based device)

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

9 years agobcm53xx: add missing l2 cache controller AUXCTL bit
Felix Fietkau [Mon, 13 Apr 2015 17:32:05 +0000 (17:32 +0000)]
bcm53xx: add missing l2 cache controller AUXCTL bit

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

9 years agomvebu: add support for the in-CPU RTC on the Armada 38x
Imre Kaloz [Mon, 13 Apr 2015 13:06:34 +0000 (13:06 +0000)]
mvebu: add support for the in-CPU RTC on the Armada 38x

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

9 years agomvebu: add comments to image generation
Imre Kaloz [Mon, 13 Apr 2015 12:15:40 +0000 (12:15 +0000)]
mvebu: add comments to image generation

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

9 years agomvebu: stop legacy image generation
Imre Kaloz [Mon, 13 Apr 2015 12:08:42 +0000 (12:08 +0000)]
mvebu: stop legacy image generation

If you can't find the firmware for you board, send proper patches.

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

9 years agomvebu: generate a single firmware for the 385-db-ap
Imre Kaloz [Mon, 13 Apr 2015 12:06:56 +0000 (12:06 +0000)]
mvebu: generate a single firmware for the 385-db-ap

This has been done without having a board, but should work.

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

9 years agomvebu: reflect Armada 38x support in the name
Imre Kaloz [Mon, 13 Apr 2015 11:30:39 +0000 (11:30 +0000)]
mvebu: reflect Armada 38x support in the name

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

9 years agodnsmasq: fix dnssec timestamp logic, backport crashfix
Steven Barth [Mon, 13 Apr 2015 07:49:29 +0000 (07:49 +0000)]
dnsmasq: fix dnssec timestamp logic, backport crashfix

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

9 years agowpan: remove duplicate DEPENDS
Luka Perkov [Mon, 13 Apr 2015 07:01:32 +0000 (07:01 +0000)]
wpan: remove duplicate DEPENDS

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

9 years agobcm53xx: add a comment about the gpio base patch
Felix Fietkau [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>
SVN-Revision: 45408

9 years agokernel: bgmac: add more DMA related fixes
Felix Fietkau [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>
SVN-Revision: 45407

9 years agoppc40x: upgrade to 3.18
Imre 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>
SVN-Revision: 45406

9 years agoorion: upgrade to 3.18 (compile tested only)
Imre 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>
SVN-Revision: 45405

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