openwrt.git
8 years agoarm64: enable new errata backported to 3.18
jogo [Fri, 22 May 2015 22:51:37 +0000 (22:51 +0000)]
arm64: enable new errata backported to 3.18

3.18.13 introduced a bunch of new errata, enable them to be on the
safe side.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45715 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing generic config symbol
jogo [Fri, 22 May 2015 22:51:34 +0000 (22:51 +0000)]
kernel: add missing generic config symbol

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45714 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools: gengetopt: Disable doc and tests builds
florian [Fri, 22 May 2015 22:33:41 +0000 (22:33 +0000)]
tools: gengetopt: Disable doc and tests builds

Simply disable the build of the "doc" and "tests" directories to speed up the
build and avoid the potential for errors coming from external tools being used
(e.g: source-highlight installed on a non-standard location).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45713 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agods-lite: fix resolve retry for fqdn peeraddrs
jogo [Fri, 22 May 2015 10:24:30 +0000 (10:24 +0000)]
ds-lite: fix resolve retry for fqdn peeraddrs

If the first resolveip call will fail, peeraddr will be now empty, and
the subsequent resolveip call will try to resolve an empty string.

Fix this by storing the result in a temporary variable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45712 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update 3.18 to 3.18.14
jogo [Thu, 21 May 2015 19:32:46 +0000 (19:32 +0000)]
kernel: update 3.18 to 3.18.14

Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: make it work with 3.18.12+
jogo [Thu, 21 May 2015 19:32:16 +0000 (19:32 +0000)]
mac80211: make it work with 3.18.12+

3.18.12 backported 61ada528dea028331e99e8ceaed87c683ad25de2 ("sched/wait:
Provide infrastructure to deal with nested blocking") from 3.19, causing
the following error on load:

[   13.588000] compat: exports duplicate symbol woken_wake_function (owned by kernel)

Fix this by guarding it with a check for 3.18.11 or earlier instead of
3.19.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45710 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1
jogo [Thu, 21 May 2015 19:32:00 +0000 (19:32 +0000)]
brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1

Add it to the appropriate places so the power led properly works
and ethernet is properly configured for failsafe.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45709 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add Huawei HG655b support
jogo [Thu, 21 May 2015 19:31:54 +0000 (19:31 +0000)]
brcm63xx: Add Huawei HG655b support

This patch adds support for the Huawei HG655b.

Nothing much special in this router, it's just another BCM6368 with
a Ralink RT3062 wifi chip and the calibration data embedded in the
main flash chip at offset 0x7c0000. There is also configuration data
used by the OEM firmware before the cal_data partition, this area is
protected by the board_data partition in this patch.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45708 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: fix DHCPv6 downstream PD
cyrus [Thu, 21 May 2015 15:07:54 +0000 (15:07 +0000)]
odhcpd: fix DHCPv6 downstream PD

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45707 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric/4.0: fix error during kernel patch application
cyrus [Wed, 20 May 2015 19:23:33 +0000 (19:23 +0000)]
generic/4.0: fix error during kernel patch application

Commit 5168c9a5702648eb690d32ec821647aca80aeba9 introduced a regression
during patch application on the 4.0 kernel. Some of the patched content
doesn't match the actual code, therefore leading to the following error:
  Applying patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch
  patching file net/ipv6/ip6_output.c
  Hunk #1 FAILED at 886.
  1 out of 1 hunk FAILED -- rejects in file net/ipv6/ip6_output.c
  patching file net/ipv6/route.c
  Hunk #1 succeeded at 2247 (offset 2 lines).
  Patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch does not apply (enforce with -f)

This change just adapts the actual patch to fix what is in kernel 4.0
and make it apply cleanly.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45705 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: supress useless in-cpu rtc init on the Mamba
kaloz [Tue, 19 May 2015 22:54:05 +0000 (22:54 +0000)]
mvebu: supress useless in-cpu rtc init on the Mamba

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

8 years agotools/mkimage: backport gcc5 compatibility, patch
hauke [Tue, 19 May 2015 22:17:16 +0000 (22:17 +0000)]
tools/mkimage: backport gcc5 compatibility, patch

Fedora 22 includes gcc5 by default
build leads to error:
include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No such file or directory

backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5"
id: 478b02f1a7043b673565075ea5016376f3293b23

Issue was reported at
https://forum.openwrt.org/viewtopic.php?id=56853
& replicated in a VM

created, flashed and tested ar71xx image successfully
as test

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45703 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: fix default pre-/postrm for packages with a dot
jogo [Tue, 19 May 2015 09:13:17 +0000 (09:13 +0000)]
base-files: fix default pre-/postrm for packages with a dot

Instead of stripping everything after the first dot, strip everything
after the last dot.
This fixes pre-/postrm actions for packages with a dot in their name,
like libusb-1.0.

Fixes #19668.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45702 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: improve IPv6 onlink-route handling
cyrus [Tue, 19 May 2015 09:01:34 +0000 (09:01 +0000)]
netifd: improve IPv6 onlink-route handling

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45701 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipv6: remove now unneeded source-dest-routing workarounds
cyrus [Tue, 19 May 2015 07:53:08 +0000 (07:53 +0000)]
ipv6: remove now unneeded source-dest-routing workarounds

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45700 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolinux: backport IPv6 SAS fixes for source-specific routes
cyrus [Tue, 19 May 2015 07:43:59 +0000 (07:43 +0000)]
linux: backport IPv6 SAS fixes for source-specific routes

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45699 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agorpcd: unload package after uci reverts
jow [Sun, 17 May 2015 12:16:27 +0000 (12:16 +0000)]
rpcd: unload package after uci reverts

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45695 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add Asus RT-AC87U partitioning hacky workaround
rmilecki [Sun, 17 May 2015 12:10:38 +0000 (12:10 +0000)]
bcm53xx: add Asus RT-AC87U partitioning hacky workaround

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45694 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: bump to dnsmasq2.73rc8 Important.
cyrus [Sun, 17 May 2015 08:06:45 +0000 (08:06 +0000)]
dnsmasq: bump to dnsmasq2.73rc8 Important.

Bump dnsmasq to v2.73rc8

Important - fixes remotely exploitable buffer overflow introduced in all v2.73 test/release candidates.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45693 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: try to fix network on Asus RT-AC87U
rmilecki [Sat, 16 May 2015 17:14:25 +0000 (17:14 +0000)]
bcm53xx: try to fix network on Asus RT-AC87U

This device seems to have switch port 7 connected to the CPU:
vlan1ports=1 2 3 5 7*
vlan2ports=0 7u
it should be handled by eth1 and NVRAM seems to confirm that (no
et0macaddr entry, existing et1macaddr & et1phyaddr entries).

One of the remaining ports (4/8?) may be connected to the Quantenna SoC.
Original firmware boot log contains following messages:
(0x00,0x5d)Port 5 States Override: 0xfb
(0x00,0x5f)Port 7 States Override: 0xfb
(0x00,0x0e)Port 8 States Override: 0x0a
(why does it force port 5 state?!)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45692 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: use backported Asus RT-AC87U DT patch
rmilecki [Sat, 16 May 2015 15:44:00 +0000 (15:44 +0000)]
bcm53xx: use backported Asus RT-AC87U DT patch

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45691 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: enable RT-AC87U UART console
rmilecki [Sat, 16 May 2015 11:45:52 +0000 (11:45 +0000)]
bcm53xx: enable RT-AC87U UART console

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45690 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomap: set ealen to psidlen for lw4over6
cyrus [Sat, 16 May 2015 10:12:15 +0000 (10:12 +0000)]
map: set ealen to psidlen for lw4over6

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45689 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcp6c: fix parsing of LW4over6 parameters
cyrus [Sat, 16 May 2015 07:29:42 +0000 (07:29 +0000)]
odhcp6c: fix parsing of LW4over6 parameters

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45688 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add support for SmartRG SR400ac
rmilecki [Wed, 13 May 2015 20:01:15 +0000 (20:01 +0000)]
bcm53xx: add support for SmartRG SR400ac

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45686 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: replace DT patches with backports from stblinux
rmilecki [Wed, 13 May 2015 20:01:03 +0000 (20:01 +0000)]
bcm53xx: replace DT patches with backports from stblinux

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45685 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: use of_machine_is_compatible helper in b53 fix
rmilecki [Wed, 13 May 2015 14:34:23 +0000 (14:34 +0000)]
bcm53xx: use of_machine_is_compatible helper in b53 fix

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45684 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: fix "typo" in b53 patch fixing R8000 CPU port
rmilecki [Wed, 13 May 2015 13:12:57 +0000 (13:12 +0000)]
bcm53xx: fix "typo" in b53 patch fixing R8000 CPU port

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45683 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add b53 hacky workaround for Netgear R8000 CPU port
rmilecki [Wed, 13 May 2015 13:11:17 +0000 (13:11 +0000)]
bcm53xx: add b53 hacky workaround for Netgear R8000 CPU port

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45682 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: fix default network interface on Netgear R8000
rmilecki [Wed, 13 May 2015 13:11:04 +0000 (13:11 +0000)]
bcm53xx: fix default network interface on Netgear R8000

It has 3 Ethernet interfaces, each of them connected to separated switch
port. Default NVRAM uses switch port 8 as CPU which is connected to the
3rd interface (eth2).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45681 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: bgmac: add support for the 3rd core
rmilecki [Wed, 13 May 2015 13:11:00 +0000 (13:11 +0000)]
bcm53xx: bgmac: add support for the 3rd core

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45680 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: ignore /64 on interface when doing PD
cyrus [Wed, 13 May 2015 12:31:06 +0000 (12:31 +0000)]
odhcpd: ignore /64 on interface when doing PD

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45679 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: sync NVRAM and SPROM drivers with upstream version
rmilecki [Wed, 13 May 2015 08:30:45 +0000 (08:30 +0000)]
bcm53xx: sync NVRAM and SPROM drivers with upstream version

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45678 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: backport struct ssb_sprom changes submitted by MIPS tree
rmilecki [Wed, 13 May 2015 07:52:43 +0000 (07:52 +0000)]
kernel: backport struct ssb_sprom changes submitted by MIPS tree

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45677 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agob53: Allow using all ports on BCM53012
rmilecki [Tue, 12 May 2015 13:18:53 +0000 (13:18 +0000)]
b53: Allow using all ports on BCM53012

This chipset has at least 8 usable ports, e.g. Netgear R8000 has ports
5, 7 and 8 connected to Ethernet interfaces:
vlan1ports=0 1 2 3 5 7 8*
vlan2ports=4 8u
Port 6 seems to be always disabled.

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@45676 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: remove invalid call to free()
cyrus [Mon, 11 May 2015 19:49:03 +0000 (19:49 +0000)]
odhcpd: remove invalid call to free()

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45675 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage: disable compile target within image builder
nbd [Mon, 11 May 2015 09:17:51 +0000 (09:17 +0000)]
image: disable compile target within image builder

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

8 years agobuild: disable initramfs build within image builder
nbd [Mon, 11 May 2015 09:17:39 +0000 (09:17 +0000)]
build: disable initramfs build within image builder

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

8 years agoar71xx: convert tl-wr741nd v1/v2 to new image building code, add infrastructure for...
nbd [Mon, 11 May 2015 09:08:33 +0000 (09:08 +0000)]
ar71xx: convert tl-wr741nd v1/v2 to new image building code, add infrastructure for building the loader

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

8 years agobuild: make initramfs kernel builds depend on the image prepare step
nbd [Mon, 11 May 2015 09:07:58 +0000 (09:07 +0000)]
build: make initramfs kernel builds depend on the image prepare step

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

8 years agobuild: add support for adding a per-device compile step in the new image building...
nbd [Mon, 11 May 2015 09:07:21 +0000 (09:07 +0000)]
build: add support for adding a per-device compile step in the new image building code

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

8 years agomtd: remove the warning about read-only caused by size vs. block boundary mismatch
nbd [Sun, 10 May 2015 16:09:58 +0000 (16:09 +0000)]
mtd: remove the warning about read-only caused by size vs. block boundary mismatch

Since the kernel/rootfs split handling was modified 2 years ago by r37283 (
https://dev.openwrt.org/changeset/37283 ) and by the subsequent checkins,
users have seen rather scary mtd errors in the log at every boot. The message
ends "-- forcing read-only", which looks a bit error-like. That error has
been mentioned in some forum threads, when users have noticed this message
instead of some actual error.

[    2.940000] 0x000000070000-0x000000ff0000 : "firmware"
[    2.970000] 2 netgear-fw partitions found on MTD device firmware
[    2.970000] 0x000000070000-0x000000188440 : "kernel"
[    2.980000] mtd: partition "kernel" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[    2.990000] 0x000000188440-0x000000ff0000 : "rootfs"

The patch removes the rather useless warning message.

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45669 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/feeds: add support for optionally using a full clone of git repositories
nbd [Sun, 10 May 2015 15:51:19 +0000 (15:51 +0000)]
scripts/feeds: add support for optionally using a full clone of git repositories

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

8 years agoar71xx: add platform_pre_upgrade for sysupgrade
nbd [Sun, 10 May 2015 13:54:25 +0000 (13:54 +0000)]
ar71xx: add platform_pre_upgrade for sysupgrade

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45667 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: change default emulation for mips64 (octeon) to n64
nbd [Sun, 10 May 2015 13:54:20 +0000 (13:54 +0000)]
toolchain: change default emulation for mips64 (octeon) to n64

fixes several ld errors reported by buildbot:
http://buildbot.openwrt.org:8010/broken_packages/octeon/mdnsresponder/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/luasocket/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/luasec/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/openvswitch/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/prosody/compile.txt

link error:
 ABI is incompatible with that of the selected emulation

found at OE toolchain for bintils 2.22:
http://patchwork.openembedded.org/patch/28033/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45666 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix regression in backtrace module info change (#19631)
nbd [Sun, 10 May 2015 13:16:40 +0000 (13:16 +0000)]
kernel: fix regression in backtrace module info change (#19631)

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

8 years agogcc: add some size optimization patches
nbd [Sun, 10 May 2015 13:16:35 +0000 (13:16 +0000)]
gcc: add some size optimization patches

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

8 years agoipq806x: add pcie support to ipq806x based platforms
nbd [Sun, 10 May 2015 11:47:09 +0000 (11:47 +0000)]
ipq806x: add pcie support to ipq806x based platforms

This change adds PCIe support to IPQ806x based platforms. The driver is
actually cherry-picked from the following LKML thread:
*https://lwn.net/Articles/643086/ (patches 110-111)

We also add here an additional fix to support multiple PCI controllers
on the same platform (patch 112), and to patch the ap148 & dbs149 DTS
files (patch 113).

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45663 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: add support for zImage kernel
nbd [Sun, 10 May 2015 11:47:02 +0000 (11:47 +0000)]
ipq806x: add support for zImage kernel

This change enable zImage+appended dtb support in ipq806x kernel
options. The zImage will now be generated as part of the kernel
binaries. Platforms which do not have DT support enabled in U-boot
can now make use of it by generating zImage files and appending dtb
to it.

It is not used yet but it is done as a stepping stone for early IPQ806x
platforms, which did not include DT support in U-boot.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45662 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: fix boot freeze on zImage kernel
nbd [Sun, 10 May 2015 11:46:56 +0000 (11:46 +0000)]
ipq806x: fix boot freeze on zImage kernel

ARCH_QCOM is using the ARCH_MULTIPLATFORM option, as now recommended
on most ARM architectures. This automatically calculate ZRELADDR by
masking PHYS_OFFSET with 0xf8000000.

On IPQ806x though, the first ~20MB of RAM is reserved for the hardware.
In newer bootloader, when DT is used, this is not a problem, we just
reserve this memory in the device tree. But if the bootloader doesn't
have DT support, then ATAGS have to be used. In this case, the ARM
decompressor will position the kernel in this low mem, which will not be
in the RAM section mapped by the bootloader, which means the kernel will
freeze in the middle of the boot process trying to map the memory.

As a work around, this patch allows disabling AUTO_ZRELADDR when
ARCH_QCOM is selected. It makes the zImage usage possible on bootloaders
which don't support device-tree, which is the case on certain early
IPQ806x based designs.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45661 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: make dtb argument optional in MkFIT
nbd [Sun, 10 May 2015 11:46:50 +0000 (11:46 +0000)]
include: make dtb argument optional in MkFIT

As mkits.sh makes the -d argument optional, we'll make this same
argument optional in the MkFIT function as well.

With this change, MkFIT can be used both to generate FIT images with DT,
and without DT.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45660 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: make device-tree arg optional in mkits.sh
nbd [Sun, 10 May 2015 11:46:45 +0000 (11:46 +0000)]
build: make device-tree arg optional in mkits.sh

mkits.sh help currently shows dtb file as optional, but generates an
invalid its file when this option is unspecified.

We're fixing this problem by removing the use of the sed command and
just including variables instead.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45659 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: add CRYPTO_DEV_QCE option to default config
nbd [Sun, 10 May 2015 11:46:41 +0000 (11:46 +0000)]
generic: add CRYPTO_DEV_QCE option to default config

This option has been added in kernel 3.17. It shows-up only when both
ARCH_QCOM and CRYPTO are enabled. So we'll disable these two by default
to avoid stalling the build when these conditions are met.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45658 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: don't call prereq for any package/symlinks rules
nbd [Sun, 10 May 2015 11:17:29 +0000 (11:17 +0000)]
build: don't call prereq for any package/symlinks rules

Most of the time, we want to make sure OpenWrt has been configured and
setup before start running make. However, in case of package/symlinks,
forcing prereq as a dependency creates multiple issues:
*when executed on a clean workspace, it will prompt for user input
 and open a menuconfig window before executing the feeds command
*the only way around that is to provide a .config. However, the "prereq"
 target would then run a "make defconfig", which will remove all the
 packages in the .config but from external feeds, as feeds have not been
 installed yet.

The only way to currently work around this, is to generate a fake config
by running "make defconfig", then "make package/symlinks", copy the real
config (which at this point disregards the previously generated config),
and run make defconfig again. Something like this:

make defconfig
make package/symlinks
cp real.config .config
make defconfig

This change is removing the need for the first defconfig, making the
process more logical for OpenWrt users using the package/symlinks target.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45657 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add status led found on ew-dorin boards
luka [Sun, 10 May 2015 07:47:04 +0000 (07:47 +0000)]
ar71xx: add status led found on ew-dorin boards

Signed-off-by: Catrinel Catrinescu <cc@80211.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45656 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: when KALLSYMS is disabled, print module address + size for matching backtrace...
nbd [Sun, 10 May 2015 00:02:18 +0000 (00:02 +0000)]
kernel: when KALLSYMS is disabled, print module address + size for matching backtrace entries

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

8 years agoppp: remove the persist option, netifd handles reconnects
nbd [Sat, 9 May 2015 21:14:46 +0000 (21:14 +0000)]
ppp: remove the persist option, netifd handles reconnects

Significantly reduces reconnect delay

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

8 years agokernel: fix pppoe disconnect issues
nbd [Sat, 9 May 2015 21:14:41 +0000 (21:14 +0000)]
kernel: fix pppoe disconnect issues

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

8 years agokernel: backport first bcma patches from 4.2
rmilecki [Sat, 9 May 2015 17:38:48 +0000 (17:38 +0000)]
kernel: backport first bcma patches from 4.2

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45652 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: apply mesh parameters after starting authsae/wpa_supplicant (#16697)
nbd [Sat, 9 May 2015 08:58:12 +0000 (08:58 +0000)]
mac80211: apply mesh parameters after starting authsae/wpa_supplicant (#16697)

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

8 years agokernel: add accidentally left out fib trie backport patch
nbd [Fri, 8 May 2015 21:46:51 +0000 (21:46 +0000)]
kernel: add accidentally left out fib trie backport patch

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

8 years agomt76: include generated mac80211 config file and add an appropriate define for mesh...
nbd [Fri, 8 May 2015 21:46:42 +0000 (21:46 +0000)]
mt76: include generated mac80211 config file and add an appropriate define for mesh support (fixes #19474)

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

8 years agogeneric: refresh patches
luka [Fri, 8 May 2015 20:12:42 +0000 (20:12 +0000)]
generic: refresh patches

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

8 years agokirkwood: add support for the Seagate GoflexHome
luka [Fri, 8 May 2015 20:12:39 +0000 (20:12 +0000)]
kirkwood: add support for the Seagate GoflexHome

Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome>

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45647 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized...
nbd [Fri, 8 May 2015 14:02:50 +0000 (14:02 +0000)]
ar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized images)

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

8 years agoar71xx: allow tp-link initramfs images to exceed size limits
nbd [Fri, 8 May 2015 14:02:43 +0000 (14:02 +0000)]
ar71xx: allow tp-link initramfs images to exceed size limits

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

8 years agomktplinkfw: add flag to ignore size limit (used for initramfs images)
nbd [Fri, 8 May 2015 14:02:33 +0000 (14:02 +0000)]
mktplinkfw: add flag to ignore size limit (used for initramfs images)

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

8 years agoar71xx/image: move TPLINK-LZMA image to new build code
nbd [Fri, 8 May 2015 14:02:23 +0000 (14:02 +0000)]
ar71xx/image: move TPLINK-LZMA image to new build code

There are 2 images missing: TLWR2543 TLWR1043V2 which have special properties.
v2: set correct DEVICE_PROFILES for all images.
v2: migrate TP-LINK TL-WR710N v2 which was committed after v1.
v2: split very very long line `TARGET_DEVICES +=` into smaller parts

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45643 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agousign: update to the latest version, use libubox base64 code
nbd [Fri, 8 May 2015 12:37:26 +0000 (12:37 +0000)]
usign: update to the latest version, use libubox base64 code

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

8 years agolibubox: update to the latest version, adds a base64 implementation
nbd [Fri, 8 May 2015 12:35:41 +0000 (12:35 +0000)]
libubox: update to the latest version, adds a base64 implementation

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

8 years agoar71xx: do general formatting on wnr2000-v4
nbd [Fri, 8 May 2015 12:24:30 +0000 (12:24 +0000)]
ar71xx: do general formatting on wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45640 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix spelling, add copyright on wnr2000-v4
nbd [Fri, 8 May 2015 12:24:23 +0000 (12:24 +0000)]
ar71xx: fix spelling, add copyright on wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45639 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for Green WAN LED on wnr2000-v4
nbd [Fri, 8 May 2015 12:24:17 +0000 (12:24 +0000)]
ar71xx: add support for Green WAN LED on wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45638 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for green LAN LEDS for wnr2000-v4
nbd [Fri, 8 May 2015 12:24:11 +0000 (12:24 +0000)]
ar71xx: add support for green LAN LEDS for wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45637 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix amber WAN LED setting for wnr2000-v4
nbd [Fri, 8 May 2015 12:24:03 +0000 (12:24 +0000)]
ar71xx: fix amber WAN LED setting for wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45636 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: make WLAN button RFKILL on wnr2000-v4
nbd [Fri, 8 May 2015 12:23:58 +0000 (12:23 +0000)]
ar71xx: make WLAN button RFKILL on wnr2000-v4

Users will now be provided with the inherent wifi toggle functionality
of /etc/rc.button/rfkill

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45635 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: set all buttons to be active_low on wnr2000-v4
nbd [Fri, 8 May 2015 12:23:53 +0000 (12:23 +0000)]
ar71xx: set all buttons to be active_low on wnr2000-v4

Originally pressing a button would trigger a release state and vice-versa,
as observed from hotplug.d.

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45634 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix ethernet on wnr2000-v4
nbd [Fri, 8 May 2015 12:23:45 +0000 (12:23 +0000)]
ar71xx: fix ethernet on wnr2000-v4

Most people report broken ethernet with upstream. Last year, user "franz.flasch"
authored a working mach-file. His patch is outdated so I modernized it. Original
patch and user commentary on page 1:
https://forum.openwrt.org/viewtopic.php?pid=260861#p260861

I have figured out what the critical differences are between the two that caused
upstream ethernet to break.
  1) Both ath79_init_mac() functions calls must be invocated before any GMAC init
  2) must init GMAC0 before GMAC1

That was enough to get upstream to function, but I wanted to enjoy my confidence
having tested franz's patch for a week sucessfully, so I put his whole
function in, which only features more differences in order of function calls.

An expert should consider these changes, which could pose potential bugs/issues:
1) No longer using the flag AR934X_ETH_CFG_SW_PHY_SWAP in the
ath79_setup_ar934x_eth_cfg() call.

2) Possible consequence of no longer explicitly setting ethernet duplex/speed.

Review: With this patch, my ethernet and wireless works.

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45633 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: track the correct WAN interface on wnr2000-v4
nbd [Fri, 8 May 2015 12:23:40 +0000 (12:23 +0000)]
ar71xx: track the correct WAN interface on wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45632 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix LAN portmasks on wnr2000-v4
nbd [Fri, 8 May 2015 12:23:35 +0000 (12:23 +0000)]
ar71xx: fix LAN portmasks on wnr2000-v4

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45631 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: use a common naming scheme for LEDS on wnr2000-v4
nbd [Fri, 8 May 2015 12:23:27 +0000 (12:23 +0000)]
ar71xx: use a common naming scheme for LEDS on wnr2000-v4

It is common that the router provider be used rather than product name.
One can see this in target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45630 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: add xhci phy support
kaloz [Fri, 8 May 2015 12:12:20 +0000 (12:12 +0000)]
mvebu: add xhci phy support

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

8 years agotools: host/include/getline.h: fix FreeBSD 8.0+ support
kaloz [Fri, 8 May 2015 12:09:26 +0000 (12:09 +0000)]
tools: host/include/getline.h: fix FreeBSD 8.0+ support

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

8 years agoar71xx: make art partition read only on 16MB ew-dorin board
luka [Fri, 8 May 2015 10:45:26 +0000 (10:45 +0000)]
ar71xx: make art partition read only on 16MB ew-dorin board

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

8 years agonetifd-dhcp: supply parameters to user-script
nbd [Fri, 8 May 2015 10:44:19 +0000 (10:44 +0000)]
netifd-dhcp: supply parameters to user-script

hand over parameters to user-script e.g. $1=deconfig

Signed-off-by: Leon George <leon@georgemail.de>
Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45626 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotrace-cmd: update to 2.4.2
nbd [Fri, 8 May 2015 10:44:08 +0000 (10:44 +0000)]
trace-cmd: update to 2.4.2

fixes compile error:
(observed w. target arm64, all kernel build opts enabled)
error: call to '__open_missing_mode' declared with attribute
error: open with O_CREAT in second argument needs 3 arguments

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45625 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix 82_patch_ath10k
nbd [Fri, 8 May 2015 10:43:55 +0000 (10:43 +0000)]
ar71xx: fix 82_patch_ath10k

It has been broken since the new ath10k firmware introduced in r44656.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45624 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoustream-ssl: correct year in PKG_VERSION string
nbd [Fri, 8 May 2015 10:43:48 +0000 (10:43 +0000)]
ustream-ssl: correct year in PKG_VERSION string

ustream-ssl: correct the year in the PKG_VERSION string, as both r45157 and
r45441 left the old year 2014 there. For a casual user it may seem that the
current code is from April 2014, although
a4ca61527236e89eb9efb782fd9bfd04796144e3 is from April 2015.

http://nbd.name/gitweb.cgi?p=ustream-ssl.git;a=commit;h=a4ca61527236e89eb9efb782fd9bfd04796144e3
https://dev.openwrt.org/changeset/45441/
https://dev.openwrt.org/changeset/45157/

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45623 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: backport upstream usbnet fix (fixes #19455)
nbd [Wed, 6 May 2015 10:19:22 +0000 (10:19 +0000)]
kernel: backport upstream usbnet fix (fixes #19455)

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

8 years agohostapd: fix remote denial of service vulnerability in WMM action frame parsing
nbd [Wed, 6 May 2015 09:45:39 +0000 (09:45 +0000)]
hostapd: fix remote denial of service vulnerability in WMM action frame parsing

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

8 years agobrcm47xx: fix regression in NVRAM support for WGT634U
rmilecki [Wed, 6 May 2015 05:54:19 +0000 (05:54 +0000)]
brcm47xx: fix regression in NVRAM support for WGT634U

We were calculating wrong offset, NVRAM wasn't found and OpenWrt didn't
boot.

Fixes: 9019803 ("brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45618 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiptables: disable unused xml support to save some space
nbd [Wed, 6 May 2015 00:59:41 +0000 (00:59 +0000)]
iptables: disable unused xml support to save some space

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

8 years agohostapd: enable 802.11w only for the full variants
nbd [Wed, 6 May 2015 00:59:36 +0000 (00:59 +0000)]
hostapd: enable 802.11w only for the full variants

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

8 years agouboot-envtools: disable AES support, reduces code size
nbd [Wed, 6 May 2015 00:59:28 +0000 (00:59 +0000)]
uboot-envtools: disable AES support, reduces code size

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

8 years agobuild: enable package list signing by default
nbd [Tue, 5 May 2015 21:16:13 +0000 (21:16 +0000)]
build: enable package list signing by default

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

8 years agofirewall: Allow IGMP and MLD input on WAN
cyrus [Tue, 5 May 2015 13:22:41 +0000 (13:22 +0000)]
firewall: Allow IGMP and MLD input on WAN

The WAN port should at least respond to IGMP and MLD queries as
otherwise a snooping bridge/switch might drop traffic.

RFC4890 recommends to leave IGMP and MLD unfiltered as they are always
link-scoped anyways.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45613 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetsupport: l2tp-ip: only depend on IPv6 if IPv6 support is enabled
cyrus [Tue, 5 May 2015 13:22:33 +0000 (13:22 +0000)]
netsupport: l2tp-ip: only depend on IPv6 if IPv6 support is enabled

Before r45593 kmod-l2tp-ip did not depend on kmod-ipv6.
With r45593 support for L2TP IPv6 encapsulation was added and
included in the kmod-l2tp-ip package. This change also
added the dependency to kmod-ipv6 to kmod-l2tp-ip, regardless
of whether the user chose to generally include IPv6 support
or not.
Change this so L2TP over IPv6 and the resulting dependency
to kmod-ipv6 is only included in kmod-l2tp-ip if IPv6 support
is enabled.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45612 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: fix uid/gid changing for service instances
jow [Tue, 5 May 2015 11:00:53 +0000 (11:00 +0000)]
procd: fix uid/gid changing for service instances

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45611 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopolarssl: include PKG_RELEASE in ABI_VERSION
nbd [Tue, 5 May 2015 10:14:04 +0000 (10:14 +0000)]
polarssl: include PKG_RELEASE in ABI_VERSION

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

8 years agocurl: replace polarssl run-time version check with a compile-time one
nbd [Tue, 5 May 2015 10:12:49 +0000 (10:12 +0000)]
curl: replace polarssl run-time version check with a compile-time one

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