openwrt.git
8 years agolinux: make IPv6 builtin if selected (saves >30KB)
cyrus [Wed, 9 Sep 2015 12:20:36 +0000 (12:20 +0000)]
linux: make IPv6 builtin if selected (saves >30KB)

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

8 years agobusybox: fix ip applet and netlink behavior
cyrus [Wed, 9 Sep 2015 10:38:16 +0000 (10:38 +0000)]
busybox: fix ip applet and netlink behavior

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

8 years agopackage: replace ifconfig-usage with ip
cyrus [Tue, 8 Sep 2015 17:44:24 +0000 (17:44 +0000)]
package: replace ifconfig-usage with ip

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

8 years agoiproute2: improve ip-full coexistence, remove rt_table
cyrus [Tue, 8 Sep 2015 17:44:17 +0000 (17:44 +0000)]
iproute2: improve ip-full coexistence, remove rt_table

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

8 years agobase-files: add /etc/iproute2/rt_tables, replace ifconfig-usage
cyrus [Tue, 8 Sep 2015 17:44:13 +0000 (17:44 +0000)]
base-files: add /etc/iproute2/rt_tables, replace ifconfig-usage

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

8 years agobusybox: improve applets & deprecate ifconfig, route
cyrus [Tue, 8 Sep 2015 17:44:10 +0000 (17:44 +0000)]
busybox: improve applets & deprecate ifconfig, route

added: ip addr, ip route, ip link, traceroute6
removed: hostid, devmem, vconfig, arping
deprecated (to be removed): ifconfig, route

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

8 years agokernel: describe bridge patch "multicast to unicast"
rmilecki [Tue, 8 Sep 2015 16:43:32 +0000 (16:43 +0000)]
kernel: describe bridge patch "multicast to unicast"

It was initially added in r41367 by nbd.

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

8 years agokernel: describe bridge patch "optimize netfilter hooks"
rmilecki [Tue, 8 Sep 2015 16:43:21 +0000 (16:43 +0000)]
kernel: describe bridge patch "optimize netfilter hooks"

It was initially added in r30917 by nbd.

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

8 years agokernel: describe bridge patch "remove IPv6 depependency of bridge in 2.6.38+"
rmilecki [Tue, 8 Sep 2015 16:43:10 +0000 (16:43 +0000)]
kernel: describe bridge patch "remove IPv6 depependency of bridge in 2.6.38+"

It was initially added in r27237 by jow as patch from Jonas.

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

8 years agokernel: describe bridge patch "port isolate"
rmilecki [Tue, 8 Sep 2015 16:43:04 +0000 (16:43 +0000)]
kernel: describe bridge patch "port isolate"

It was initially added in r25762 by nbd.

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

8 years agokernel: describe bridge patch "always accept EAP"
rmilecki [Tue, 8 Sep 2015 16:42:58 +0000 (16:42 +0000)]
kernel: describe bridge patch "always accept EAP"

It was initially added in r26015 by nbd.

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

8 years agokernel: describe bridge patch "no EAP forward"
rmilecki [Tue, 8 Sep 2015 16:42:50 +0000 (16:42 +0000)]
kernel: describe bridge patch "no EAP forward"

It was initially added in r25095 by nbd.

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

8 years agokernel: restore 640-bridge_no_eap_forward.patch to its original form
nbd [Tue, 8 Sep 2015 14:29:55 +0000 (14:29 +0000)]
kernel: restore 640-bridge_no_eap_forward.patch to its original form

It was corrupted in r38528. The most obvious symptom is repeated messages like this:

Tue Sep  8 08:25:18 2015 kern.warn kernel: [77141.972226] br-lan: received packet on wlan0 with own address as source address

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46821 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4
nbd [Tue, 8 Sep 2015 12:31:04 +0000 (12:31 +0000)]
kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4

Everything except for blkcipher was already built-in, so make blkcipher
built-in as well.

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

8 years agomap: be less restrictive when matching lw4over6 prefixes
cyrus [Tue, 8 Sep 2015 12:13:29 +0000 (12:13 +0000)]
map: be less restrictive when matching lw4over6 prefixes

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

8 years agoiw: reduce size even more (~12k after gzip)
nbd [Tue, 8 Sep 2015 11:48:48 +0000 (11:48 +0000)]
iw: reduce size even more (~12k after gzip)

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

8 years agomusl: add a hack to remove unused crypt() algorithms, saves ~14k after lzma
nbd [Tue, 8 Sep 2015 10:57:11 +0000 (10:57 +0000)]
musl: add a hack to remove unused crypt() algorithms, saves ~14k after lzma

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

8 years agodropbear: remove generation and configuration of DSS keys
cyrus [Tue, 8 Sep 2015 08:59:40 +0000 (08:59 +0000)]
dropbear: remove generation and configuration of DSS keys

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

8 years agodropbear: disable 3des, cbc mode, dss support, saves about 5k gzipped
nbd [Tue, 8 Sep 2015 08:55:10 +0000 (08:55 +0000)]
dropbear: disable 3des, cbc mode, dss support, saves about 5k gzipped

While technically required by the RFC, they are usually completely
unused (DSA), or have security issues (3DES, CBC)

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

8 years agoargp-standalone: fix build error with gcc 5.2 (#20460)
nbd [Tue, 8 Sep 2015 07:10:07 +0000 (07:10 +0000)]
argp-standalone: fix build error with gcc 5.2 (#20460)

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

8 years agobrcm47xx: apply serial flash size trick to Netgear WNR1000 V3
rmilecki [Tue, 8 Sep 2015 05:24:57 +0000 (05:24 +0000)]
brcm47xx: apply serial flash size trick to Netgear WNR1000 V3

It also uses different block size just like WGR614 V10.

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

8 years agoDisable telnet in favor of passwordless SSH
cyrus [Mon, 7 Sep 2015 19:29:25 +0000 (19:29 +0000)]
Disable telnet in favor of passwordless SSH

This enables passworldless login for root via SSH whenever no root
password is set (e.g. after reset, flashing without keeping config
or in failsafe) and removes telnet support alltogether.

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

8 years agouhttpd: update to the latest version, fixes deferred cgi script processing (#20458)
nbd [Mon, 7 Sep 2015 19:18:58 +0000 (19:18 +0000)]
uhttpd: update to the latest version, fixes deferred cgi script processing (#20458)

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

8 years agobrcm47xx: fix reading WGT634U CFE variables with 4.1
rmilecki [Mon, 7 Sep 2015 16:43:29 +0000 (16:43 +0000)]
brcm47xx: fix reading WGT634U CFE variables with 4.1

This ports fix from r46584 to the 4.1.

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

8 years agobrcm47xx: add Netgear WNR1000 V3 support in the Linux arch code
rmilecki [Mon, 7 Sep 2015 16:29:21 +0000 (16:29 +0000)]
brcm47xx: add Netgear WNR1000 V3 support in the Linux arch code

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

8 years agomap: ignore insignificant PSID bits
cyrus [Mon, 7 Sep 2015 16:21:15 +0000 (16:21 +0000)]
map: ignore insignificant PSID bits

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

8 years agoodhcpd: fix parsing of host entries without duid
cyrus [Mon, 7 Sep 2015 13:31:36 +0000 (13:31 +0000)]
odhcpd: fix parsing of host entries without duid

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

8 years agoodhcpd: various bugfixes
cyrus [Mon, 7 Sep 2015 09:49:35 +0000 (09:49 +0000)]
odhcpd: various bugfixes

* ra: don't announce as default router if we aren't (regression)
* ra: reduce maximum announced dns lifetimes due to buggy clients
* dhcpv6: fix mac-based lease-matching

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

8 years agonls.mk: add -rpath-link when needed for NLS support
cyrus [Mon, 7 Sep 2015 08:03:34 +0000 (08:03 +0000)]
nls.mk: add -rpath-link when needed for NLS support

When a package links to a shared library that depends on libiconv or
libintl shared libraries, specifying directory pathes to them via -L
switches is not enough, see "man 1 ld" -rpath-link description.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46801 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc: add missing powerpc patch for 5.2.0
nbd [Mon, 7 Sep 2015 06:59:56 +0000 (06:59 +0000)]
gcc: add missing powerpc patch for 5.2.0

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

8 years agogcc: remove 4.6.3 leftovers
nbd [Sun, 6 Sep 2015 10:07:07 +0000 (10:07 +0000)]
gcc: remove 4.6.3 leftovers

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

8 years agogcc: remove version 4.9-linaro
nbd [Sun, 6 Sep 2015 10:07:03 +0000 (10:07 +0000)]
gcc: remove version 4.9-linaro

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

8 years agouboot-ar71xx: fix gcc 5.2 compile errors
nbd [Sun, 6 Sep 2015 09:57:02 +0000 (09:57 +0000)]
uboot-ar71xx: fix gcc 5.2 compile errors

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

8 years agoipq806x: add support for Netgear Nighthawk X4 R7500
jogo [Fri, 4 Sep 2015 14:46:06 +0000 (14:46 +0000)]
ipq806x: add support for Netgear Nighthawk X4 R7500

Add support for the Netgear Nighthawk X4 R7500 and build
appropariate sysupgrade and factory images.

Known issues:
 * 5 GHz wifi not working - there is no quantenna driver
 * One of the USB ports is not working

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

8 years agoipq806x: enable ide led trigger
jogo [Fri, 4 Sep 2015 14:45:49 +0000 (14:45 +0000)]
ipq806x: enable ide led trigger

To use gpio leds as ide leds, we need to enable the trigger to be
included in the kernel.

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

8 years agobase-files: allow setting ide-disk led trigger
jogo [Fri, 4 Sep 2015 14:45:45 +0000 (14:45 +0000)]
base-files: allow setting ide-disk led trigger

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

8 years agoipq806x: add support for retrieving macs from mtd
jogo [Fri, 4 Sep 2015 14:45:40 +0000 (14:45 +0000)]
ipq806x: add support for retrieving macs from mtd

Add support for mtd-mac-address for stmac.

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

8 years agoimage: allow exactly KERNEL_SIZE sized kernels
jogo [Fri, 4 Sep 2015 14:45:16 +0000 (14:45 +0000)]
image: allow exactly KERNEL_SIZE sized kernels

The KERNEL_SIZE should be the maximum size, inclusive, so we need to
check for greater equal, not just greater.

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

8 years agoimage: move netgear-image to top and rename to -dni
jogo [Fri, 4 Sep 2015 14:45:09 +0000 (14:45 +0000)]
image: move netgear-image to top and rename to -dni

Use the same naming as netgear-chk.

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

8 years agoar71xx: rename NETGEAR_ variables to their netgear names
jogo [Fri, 4 Sep 2015 14:45:04 +0000 (14:45 +0000)]
ar71xx: rename NETGEAR_ variables to their netgear names

Netgear names them BOARD_ID and HW_ID, so we should do the same.

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

8 years agoipq806x: build images and add sysupgrade support for AP148
jogo [Fri, 4 Sep 2015 14:45:00 +0000 (14:45 +0000)]
ipq806x: build images and add sysupgrade support for AP148

Add full ubi and sysupgrade images for AP148 and add sysupgrade support
for ipq806x to allow updating the current installation.

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

8 years agoipq806x: clear IMAGES for devices
jogo [Fri, 4 Sep 2015 14:44:51 +0000 (14:44 +0000)]
ipq806x: clear IMAGES for devices

Ensure that IMAGE-less devices won't keep the IMAGES of any previous
devices.

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

8 years agoipq806x: wrap legacy image in uImage
jogo [Fri, 4 Sep 2015 14:44:48 +0000 (14:44 +0000)]
ipq806x: wrap legacy image in uImage

Wrap the zImage in a uImage header so we can easily boot it from legacy
u-boots.

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

8 years agoipq806x: rename "rootfs" to "ubi" on nand
jogo [Fri, 4 Sep 2015 14:44:44 +0000 (14:44 +0000)]
ipq806x: rename "rootfs" to "ubi" on nand

OpenWrt expects the ubi paritition to be named "ubi", not "rootfs".

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

8 years agoipq806x: enable smem-parser for nand on AP148
jogo [Fri, 4 Sep 2015 14:44:36 +0000 (14:44 +0000)]
ipq806x: enable smem-parser for nand on AP148

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

8 years agobuild: add a build step for generic sysupgrade nand image
jogo [Fri, 4 Sep 2015 14:44:27 +0000 (14:44 +0000)]
build: add a build step for generic sysupgrade nand image

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

8 years agoimage: add a build step for building and appending an ubinized rootfs
jogo [Fri, 4 Sep 2015 14:44:10 +0000 (14:44 +0000)]
image: add a build step for building and appending an ubinized rootfs

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

8 years agoipq806x: enable ubiblock support
jogo [Fri, 4 Sep 2015 14:44:04 +0000 (14:44 +0000)]
ipq806x: enable ubiblock support

To allow squashfs on ubi, enable ubiblock support in the kernel.

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

8 years agoodhcp6c: correctly extend prefix from RAs
cyrus [Fri, 4 Sep 2015 06:29:36 +0000 (06:29 +0000)]
odhcp6c: correctly extend prefix from RAs

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

8 years agocomgt/umbim/uqmi: enable RFC 7278 for 3g/4g by default
cyrus [Thu, 3 Sep 2015 15:53:40 +0000 (15:53 +0000)]
comgt/umbim/uqmi: enable RFC 7278 for 3g/4g by default

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

8 years agoodhcp6c: add RFC 7278 3gpp IPv6 prefix extension
cyrus [Thu, 3 Sep 2015 15:53:33 +0000 (15:53 +0000)]
odhcp6c: add RFC 7278 3gpp IPv6 prefix extension

Use option extendprefix 1 to enable

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

8 years agomdns: update to the latest version, fixes a spurious build error
nbd [Thu, 3 Sep 2015 13:15:19 +0000 (13:15 +0000)]
mdns: update to the latest version, fixes a spurious build error

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

8 years agouclibc++: fix build with gcc 5.2
nbd [Thu, 3 Sep 2015 13:15:05 +0000 (13:15 +0000)]
uclibc++: fix build with gcc 5.2

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

8 years agolibpcap: update to version 1.7.4
nbd [Thu, 3 Sep 2015 13:14:56 +0000 (13:14 +0000)]
libpcap: update to version 1.7.4

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

8 years agogdb: update to the latest version, fixes a build error with gcc 5.2
nbd [Thu, 3 Sep 2015 13:14:50 +0000 (13:14 +0000)]
gdb: update to the latest version, fixes a build error with gcc 5.2

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

8 years agogcc: add ARM codegen fix from PR 65932
nbd [Thu, 3 Sep 2015 13:14:44 +0000 (13:14 +0000)]
gcc: add ARM codegen fix from PR 65932

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

8 years agoar7: fix HIGHMEM_START (#20427)
nbd [Wed, 2 Sep 2015 16:22:44 +0000 (16:22 +0000)]
ar7: fix HIGHMEM_START (#20427)

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

8 years agomusl: update to version 1.1.11
nbd [Wed, 2 Sep 2015 15:44:17 +0000 (15:44 +0000)]
musl: update to version 1.1.11

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

8 years agobase-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2
jow [Wed, 2 Sep 2015 11:54:03 +0000 (11:54 +0000)]
base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2

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

8 years agodnsmasq: make /tmp/dnsmasq.d and /tmp/hosts preferred over UCI settings
cyrus [Wed, 2 Sep 2015 11:49:00 +0000 (11:49 +0000)]
dnsmasq: make /tmp/dnsmasq.d and /tmp/hosts preferred over UCI settings

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

8 years agodropbear: bump to 2015.68
cyrus [Wed, 2 Sep 2015 11:48:57 +0000 (11:48 +0000)]
dropbear: bump to 2015.68

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

8 years agokernel: update 3.18 to 3.18.21
jogo [Wed, 2 Sep 2015 10:18:15 +0000 (10:18 +0000)]
kernel: update 3.18 to 3.18.21

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21

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

8 years agoramips: fix devicetree corruption with some boot loaders if the caches are not ready...
nbd [Wed, 2 Sep 2015 09:24:05 +0000 (09:24 +0000)]
ramips: fix devicetree corruption with some boot loaders if the caches are not ready at boot

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

8 years agokernel: bridge, multicast-to-unicast: fix echoes on STA
nbd [Wed, 2 Sep 2015 09:23:59 +0000 (09:23 +0000)]
kernel: bridge, multicast-to-unicast: fix echoes on STA

Currently, multicast packets from an STA are sent to any according
multicast listener directly through the bridge multicast-to-unicast
feature. Unfortunately, so far this includes the originating STA, too,
resulting in multicast packets being echo'ed back to the originating STA
if it itself is a multicast listener for that group.

This behaviour breaks IPv6 duplicate address detection: An IPv6 Neighbor
Solicitation for IPv6 Duplicate Address Detection is being echo'ed back,
resulting in the host falsely detecting an address collision, which
makes the node unable to claim an IPv6 address and use IPv6 in general.

Mac80211 unfortunately only prevents the echoes for us for multicast
frames. For the multicast frames cast to a unicast destination we'll
need to take care of excluding the originator ourselves.

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

8 years agomdns: fix having mulitple network entries in uci
nbd [Wed, 2 Sep 2015 09:23:52 +0000 (09:23 +0000)]
mdns: fix having mulitple network entries in uci

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

8 years agomap: add debug-code for mapcalc
cyrus [Tue, 1 Sep 2015 18:48:22 +0000 (18:48 +0000)]
map: add debug-code for mapcalc

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

8 years agopolarssl: bump to 1.3.12
cyrus [Tue, 1 Sep 2015 18:48:15 +0000 (18:48 +0000)]
polarssl: bump to 1.3.12

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

8 years agoodhcpd: fix incorrect address assignment for DHCPv6
cyrus [Tue, 1 Sep 2015 13:31:00 +0000 (13:31 +0000)]
odhcpd: fix incorrect address assignment for DHCPv6

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

8 years agolantiq: remove dead EASY33016 image recipe
jogo [Sun, 30 Aug 2015 12:18:22 +0000 (12:18 +0000)]
lantiq: remove dead EASY33016 image recipe

Support for lantiq_svip_be has been removed a while ago, so EASY33016
images weren't buildable anymore. Remove the recipes as well as gzip
compressed kernel support, as EASY33016 was the last user of it.

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

8 years agoramips: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:18:14 +0000 (12:18 +0000)]
ramips: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agomalta: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:18:05 +0000 (12:18 +0000)]
malta: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agobrcm63xx: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:18:00 +0000 (12:18 +0000)]
brcm63xx: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agobrcm47xx: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:17:57 +0000 (12:17 +0000)]
brcm47xx: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agoath25: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:17:56 +0000 (12:17 +0000)]
ath25: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agoadm5120: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:17:54 +0000 (12:17 +0000)]
adm5120: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agobrcm63xx: remove legacy led/button related patches
jogo [Sun, 30 Aug 2015 12:17:52 +0000 (12:17 +0000)]
brcm63xx: remove legacy led/button related patches

We register all gpio buttons and leds through DT, so no need to keep
fixes/additions for the platform data based bay.

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

8 years agobrcm63xx: add Comtrend VR-3026e support
jogo [Sun, 30 Aug 2015 12:17:46 +0000 (12:17 +0000)]
brcm63xx: add Comtrend VR-3026e support

Add support for Comtrend VR-3026e v1.
The device is almost identical to the Comtrend VR-3025un.

Signed-off-by: Martin Tesar <tesarmar@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46752 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-wl: add interface after bridge is up
hauke [Sat, 29 Aug 2015 20:05:04 +0000 (20:05 +0000)]
broadcom-wl: add interface after bridge is up

Without this patch adding the wifi device to the bridge may fail
because the bridge is not already configured when the wifi device gets
configured. This patch makes broadcom-wl wait till the bridge is ready.

This fixes #17262

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

8 years agobroadcom-wl: fix bash comparison error
hauke [Sat, 29 Aug 2015 17:38:15 +0000 (17:38 +0000)]
broadcom-wl: fix bash comparison error

This fixes #17495

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

8 years agobroadcom-wl: fix section mismatches in broadcom-wl driver
hauke [Sat, 29 Aug 2015 17:37:41 +0000 (17:37 +0000)]
broadcom-wl: fix section mismatches in broadcom-wl driver

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

8 years agobroadcom-wl: fix build with kernel 4.1
hauke [Sat, 29 Aug 2015 17:37:09 +0000 (17:37 +0000)]
broadcom-wl: fix build with kernel 4.1

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

8 years agobrcm47xx: fix Linksys E1200 V2 image filename
rmilecki [Sat, 29 Aug 2015 09:23:19 +0000 (09:23 +0000)]
brcm47xx: fix Linksys E1200 V2 image filename

Drop unwanted suffix (copy & paste mistake).

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

8 years agomt76: update to the latest version, fixes some tx power issues
nbd [Fri, 28 Aug 2015 07:05:41 +0000 (07:05 +0000)]
mt76: update to the latest version, fixes some tx power issues

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

8 years agomac80211: add pending brcmfmac patch fixing warm reboots
rmilecki [Thu, 27 Aug 2015 14:39:30 +0000 (14:39 +0000)]
mac80211: add pending brcmfmac patch fixing warm reboots

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

8 years agouci: update to the latest version, adds various fixes
nbd [Thu, 27 Aug 2015 12:43:27 +0000 (12:43 +0000)]
uci: update to the latest version, adds various fixes

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

8 years agohostapd: properly enable 802.11w support
nbd [Thu, 27 Aug 2015 12:43:22 +0000 (12:43 +0000)]
hostapd: properly enable 802.11w support

Add CONFIG_IEEE80211W variable to DRIVER_MAKEOPTS so that 802.11w
support is properly compiled in full variant.

This fixes #20179

Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46737 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add pending brcmfmac patches fixing multiple interfaces
rmilecki [Wed, 26 Aug 2015 22:10:14 +0000 (22:10 +0000)]
mac80211: add pending brcmfmac patches fixing multiple interfaces

So far support for multiple interface was somehow broken in brcmfmac.
Driver couldn't correctly match firmware and system interfaces resulting
in not working APs and WARNINGs. This pending patches fixes that :)

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

8 years agobcm53xx: support sysupgrade with Netgear R7000 original firmware
rmilecki [Wed, 26 Aug 2015 15:21:14 +0000 (15:21 +0000)]
bcm53xx: support sysupgrade with Netgear R7000 original firmware

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

8 years agobcm53xx: add OpenWrt specific stuff for Netgear R7000
rmilecki [Wed, 26 Aug 2015 15:21:07 +0000 (15:21 +0000)]
bcm53xx: add OpenWrt specific stuff for Netgear R7000

This adds DT things that couldn't be upstreamed yet.

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

8 years agobcm53xx: use pending Netgear R7000 patch
rmilecki [Wed, 26 Aug 2015 14:51:47 +0000 (14:51 +0000)]
bcm53xx: use pending Netgear R7000 patch

It includes support for LEDs and buttons.

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

8 years agobcm53xx: use backported patches for UART0 and profiling
rmilecki [Wed, 26 Aug 2015 14:39:06 +0000 (14:39 +0000)]
bcm53xx: use backported patches for UART0 and profiling

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

8 years agobrcm63xx: fix WAP-5813n default network config
jogo [Wed, 26 Aug 2015 13:03:09 +0000 (13:03 +0000)]
brcm63xx: fix WAP-5813n default network config

/etc/uci-defaults/02_network had a typo, making it generate the wrong
network config.

Closes #20407.

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

8 years agolinux: fix off-by-one in handling in /proc/net/route
jogo [Wed, 26 Aug 2015 10:11:41 +0000 (10:11 +0000)]
linux: fix off-by-one in handling in /proc/net/route

Add an upstream fix for /proc/net/route causing missing routes doing
several continued reads from it.

Only 4.1+ is affected.

Closes #20403.

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

8 years agobrcm63xx: enable dual rx/tx spi support for hsspi
jogo [Tue, 25 Aug 2015 22:04:53 +0000 (22:04 +0000)]
brcm63xx: enable dual rx/tx spi support for hsspi

should improve flash access times. Should be harmless to gnerally
enable regardless if a flash supporting dual reads is attached. In
doubt, spi-nor will just fall back to serial reads.

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

8 years agomac80211: backport latest patches except for NVRAM support
rmilecki [Tue, 25 Aug 2015 15:20:48 +0000 (15:20 +0000)]
mac80211: backport latest patches except for NVRAM support

We sill don't use kernel 4.2 which is required for backporting using
upstream NVRAM support patch.

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

8 years agoscripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches
nbd [Tue, 25 Aug 2015 07:46:32 +0000 (07:46 +0000)]
scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches

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

8 years agorules.mk: remove GCC 4.4 and GCC 4.5 conditional
nbd [Tue, 25 Aug 2015 07:45:42 +0000 (07:45 +0000)]
rules.mk: remove GCC 4.4 and GCC 4.5 conditional

gcc 4.4 was removed in r44957 gcc: remove 4.4.7 (only used by avr32)
gcc 4.5 was removed in r36149

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

8 years agokernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()
nbd [Tue, 25 Aug 2015 07:25:20 +0000 (07:25 +0000)]
kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

A call to pskb_may_pull() might reallocate skb->data. Therefore we
should only assign the src-pointer after any potential reallocations.

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

8 years agoRevert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitati...
nbd [Tue, 25 Aug 2015 07:25:10 +0000 (07:25 +0000)]
Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

This reverts commit a080e8e1943156168913d0353a2e99d1151102aa.

It did not fix the problem but just hid some symptom. The real issue was
that IGMP/MLD report suppression was not considered for the
multicast-to-unicast feature. A recent netifd which isolates IGMP/MLD
reports between STAs by utilizing AP-isolation and bridge-hairpinning
should have fixed this.

It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor
Solicitations, too (once that feature is configured correctly).

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

8 years agonetifd: update to the latest version, adds multicast-to-unicast fixes
nbd [Tue, 25 Aug 2015 07:24:53 +0000 (07:24 +0000)]
netifd: update to the latest version, adds multicast-to-unicast fixes

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