openwrt.git
8 years agotools/make-ext4fs: prefer static linking
jow [Mon, 14 Sep 2015 15:15:15 +0000 (15:15 +0000)]
tools/make-ext4fs: prefer static linking

Link zlib statically on Linux systems.

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

8 years agotools/mtd-utils: prefer static linking
jow [Mon, 14 Sep 2015 14:51:07 +0000 (14:51 +0000)]
tools/mtd-utils: prefer static linking

 - Add patch for optional static linking preference
 - Prefer static linking on Linux systems
 - Enable verbose compiler messages when building with V=c

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

8 years agotools/xz: disable shared library
jow [Mon, 14 Sep 2015 14:03:21 +0000 (14:03 +0000)]
tools/xz: disable shared library

Force a static build of the xz utilities in order to avoid the dependency on a
shared liblzma.so which might collide with the distro version.

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

8 years agoinclude: toplevel: drop unused OPENWRTVERSION variable
rmilecki [Mon, 14 Sep 2015 07:40:40 +0000 (07:40 +0000)]
include: toplevel: drop unused OPENWRTVERSION variable

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

8 years agoramips: fix chunked-io support for big flash chips (#20504)
nbd [Mon, 14 Sep 2015 06:54:15 +0000 (06:54 +0000)]
ramips: fix chunked-io support for big flash chips (#20504)

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

8 years agomac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers...
nbd [Mon, 14 Sep 2015 06:51:10 +0000 (06:51 +0000)]
mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile

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

8 years agoath10k: reduce dma burst size on newer firmware to fix crashes
nbd [Sun, 13 Sep 2015 20:44:09 +0000 (20:44 +0000)]
ath10k: reduce dma burst size on newer firmware to fix crashes

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

8 years agotoplevel: fix release name
cyrus [Sun, 13 Sep 2015 18:02:54 +0000 (18:02 +0000)]
toplevel: fix release name

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

8 years agoRevert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)
nbd [Sun, 13 Sep 2015 17:39:24 +0000 (17:39 +0000)]
Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)

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

8 years agogcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)
nbd [Sun, 13 Sep 2015 17:38:55 +0000 (17:38 +0000)]
gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)

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

8 years agomusl: fix termios struct c_ispeed/c_ospeed field names
nbd [Sun, 13 Sep 2015 17:38:49 +0000 (17:38 +0000)]
musl: fix termios struct c_ispeed/c_ospeed field names

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

8 years agoath10k: make title for the old firmware config option more meaningful
nbd [Sun, 13 Sep 2015 17:38:42 +0000 (17:38 +0000)]
ath10k: make title for the old firmware config option more meaningful

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

8 years agopackages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.
wigyori [Sun, 13 Sep 2015 15:11:27 +0000 (15:11 +0000)]
packages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.

This should fix a issue reported in ticket #20387.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46894 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix build of lzma-loader with binutils 2.25.1
hauke [Sat, 12 Sep 2015 18:57:37 +0000 (18:57 +0000)]
ar71xx: fix build of lzma-loader with binutils 2.25.1

To make the lzma-loader build with binutils 2.25.1 it is needed to
remove the .MIPS.abiflags section otherwise I get the following compile
error:

mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin
mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000.
mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated

This should close #20487.

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

8 years agobcm53xx: add NAND flash chip description for Asus RT-AC87U
hauke [Sat, 12 Sep 2015 11:10:34 +0000 (11:10 +0000)]
bcm53xx: add NAND flash chip description for Asus RT-AC87U

This should fix #20492.

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

8 years agoramips: enable external amplifier for Xiaomi MiWiFi Mini
nbd [Sat, 12 Sep 2015 10:22:41 +0000 (10:22 +0000)]
ramips: enable external amplifier for Xiaomi MiWiFi Mini

Attempt to boost the 2.4 GHz signal, currently very low.

Signed-off-by: D. Andrei Măceș <dmaces@nd.edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46891 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: fix typo in core dump pattern sysctl entry (fixes #20489)
nbd [Sat, 12 Sep 2015 08:57:59 +0000 (08:57 +0000)]
base-files: fix typo in core dump pattern sysctl entry (fixes #20489)

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

8 years agobcm53xx: reorder some arch patches
rmilecki [Fri, 11 Sep 2015 22:36:05 +0000 (22:36 +0000)]
bcm53xx: reorder some arch patches

This moves arch patches affecting many DTS files. Thanks to this change
we can put some ready-to-mainline patches at 300-319 and simplify
backporting process.

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

8 years agowpan-tools: bump to wpan-tools-0.5
hauke [Fri, 11 Sep 2015 20:52:35 +0000 (20:52 +0000)]
wpan-tools: bump to wpan-tools-0.5

Signed-off-by: Varka Bhadram <varkabhadram@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46888 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: use wl18xx-fw-4.bin
hauke [Fri, 11 Sep 2015 20:37:47 +0000 (20:37 +0000)]
mac80211: use wl18xx-fw-4.bin

The driver only supports wl18xx-fw-4.bin and does not support the old
firmware wl18xx-fw-3.bin and more.

The wl18xx-conf.bin file was removed upstream it does not fit all
devices any more, see this on how to generate one:
http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_wlconf

If someone has a config file for the common platforms with the wifi nic
OpenWrt uses please send a patch.

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

8 years agomac80211: add iwlagn debug options
hauke [Fri, 11 Sep 2015 20:37:23 +0000 (20:37 +0000)]
mac80211: add iwlagn debug options

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

8 years agomac80211: refresh Intel firmware
hauke [Fri, 11 Sep 2015 20:36:35 +0000 (20:36 +0000)]
mac80211: refresh Intel firmware

- sort firmware
- add newer firmware for Intel chipsets
- newer Intel MVM require firmware

only compile tested

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

8 years agomac80211: iwlagn: enable iwlmvm
hauke [Fri, 11 Sep 2015 20:36:11 +0000 (20:36 +0000)]
mac80211: iwlagn: enable iwlmvm

- reported in forums
- Intel 7260 and 3160 need IWLMVM drivers/firmware

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

8 years agomac80211: update linux-firmware to 2014-09-03
hauke [Fri, 11 Sep 2015 20:35:11 +0000 (20:35 +0000)]
mac80211: update linux-firmware to 2014-09-03

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
[update to 2014-09-03 and change to xz]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46883 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: rt2800-usb: enable "unknown" USB IDs
hauke [Fri, 11 Sep 2015 20:31:58 +0000 (20:31 +0000)]
mac80211: rt2800-usb: enable "unknown" USB IDs

- should fix issue: https://forum.openwrt.org/viewtopic.php?id=57315
- enable support of more USB stick with rt28xx chipsets
- experimental: USB-IDs not in vendor linux driver
- experimental: "exact chipset is unknown"
- experimental: "enabling these devices may or may not work"

only compile tested

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

8 years agokernel: add CONFIG_MIPS_CDMM config option
hauke [Fri, 11 Sep 2015 20:31:32 +0000 (20:31 +0000)]
kernel: add CONFIG_MIPS_CDMM config option

This driver was added in kernel 4.1.

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

8 years agobrcm47xx: detect Netgear R6300 V1 & support reset button
rmilecki [Fri, 11 Sep 2015 20:00:02 +0000 (20:00 +0000)]
brcm47xx: detect Netgear R6300 V1 & support reset button

It's still far from complete support.

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

8 years agokernel: Added missing symbols into 4.1 & 4.0 kernel default .config
hauke [Fri, 11 Sep 2015 19:02:53 +0000 (19:02 +0000)]
kernel: Added missing symbols into 4.1 & 4.0 kernel default .config

As requested here #20432 I've
tried to fix the missing symbols from the specified default kernel
config files.
I ran into this problem trying to build an image for x86_64 target
with a custom kernel configuration.

Signed-off-by: Manganini Mirko <mmanganini@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46879 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: update to kernel 4.1
hauke [Fri, 11 Sep 2015 18:52:42 +0000 (18:52 +0000)]
brcm47xx: update to kernel 4.1

This makes bcm53xx use kernel 4.1 by default now.

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

8 years agobcm53xx: update to kernel 4.1
hauke [Fri, 11 Sep 2015 18:52:18 +0000 (18:52 +0000)]
bcm53xx: update to kernel 4.1

This makes bcm53xx use kernel 4.1 by default now.

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

8 years agotools: add tar host build, required for --sort=name which was only added in the lates...
nbd [Fri, 11 Sep 2015 18:38:02 +0000 (18:38 +0000)]
tools: add tar host build, required for --sort=name which was only added in the latest version

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

8 years agoscript: downlaod: change mirror for kernel.org
hauke [Fri, 11 Sep 2015 17:59:12 +0000 (17:59 +0000)]
script: downlaod: change mirror for kernel.org

kernel.org now suggests a different mirror address. this one also
support IPv6 connections and was faster for me.

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

8 years agobinutils: add binutils 2.25.1
hauke [Fri, 11 Sep 2015 17:58:39 +0000 (17:58 +0000)]
binutils: add binutils 2.25.1

This adds binutils 2.25.1 as an option to OpenWrt.

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

8 years agogcc: update gcc 5.x musl patches
hauke [Fri, 11 Sep 2015 17:57:39 +0000 (17:57 +0000)]
gcc: update gcc 5.x musl patches

This replaces the musl patches for gcc with the versions which are in
gcc trunk.

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

8 years agobrcm47xx: increase max image size
hauke [Fri, 11 Sep 2015 17:55:28 +0000 (17:55 +0000)]
brcm47xx: increase max image size

the trx utile uses a maximum image size of 7.2MB. There are brcm47xx
devices even with serial flash with bigger flash chips, but OpenWrt was
not able to create images for these devices. This patch provides an
additional parameter which increases this limit to 32 MB. There is a
warning in the trx utile code which suggests that bigger images could
overwrite the nvram partition on some devices, but normally the program
writing the image should make sure that it is safe to write it to the
flash.

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

8 years agobrcm47xx: break long lines in image Makefile
hauke [Fri, 11 Sep 2015 17:54:55 +0000 (17:54 +0000)]
brcm47xx: break long lines in image Makefile

This patch changes nothing on the behaviour, it just breaks long lines
with bin/trx to make it easier to add additional parameters.

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

8 years agobrcm2708: remove linux 3.18 support
nbd [Fri, 11 Sep 2015 17:17:30 +0000 (17:17 +0000)]
brcm2708: remove linux 3.18 support

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

8 years agolantiq: Use the BAR0 base address in the ath PCI fixup code
nbd [Fri, 11 Sep 2015 16:35:46 +0000 (16:35 +0000)]
lantiq: Use the BAR0 base address in the ath PCI fixup code

Fixes support for AR9287 on TP-Link TD-W8980 and possibly other devices
which have an ath wifi chip at a PCI address other than 0xb8000000
(TD-W8980 for example has it's wifi chip at 0xbc000000).

Signed-off-by: Geoffrey McRae <geoff@spacevs.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46869 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agougps: fix filename to eliminate build problems
nbd [Fri, 11 Sep 2015 16:35:32 +0000 (16:35 +0000)]
ugps: fix filename to eliminate build problems

due to ordering PKG_SOURCE_VERSION is not defined leading
to a filename "ugps-.tar.bz2"
This errors out when an older version is in the dl/ dir (or LOCALMIRROR)

fix order and use uhttpd file naming scheme to visibly include date

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

8 years agobase-files: set kernel.core_pattern in sysctl.conf
nbd [Fri, 11 Sep 2015 16:35:17 +0000 (16:35 +0000)]
base-files: set kernel.core_pattern in sysctl.conf

Move the pattern setting from netifd's service script to
/etc/sysctl.conf.  Put the timestamp component '%t' just after
executable name '%e' for more natural order from output of ls command.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46867 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoutil-linux: add prlimit command.
nbd [Fri, 11 Sep 2015 16:35:02 +0000 (16:35 +0000)]
util-linux: add prlimit command.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46866 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvsw61xx: match swconfig function names
nbd [Fri, 11 Sep 2015 16:34:49 +0000 (16:34 +0000)]
mvsw61xx: match swconfig function names

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46865 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvsw61xx: use standard swconfig get_port_link
nbd [Fri, 11 Sep 2015 16:34:35 +0000 (16:34 +0000)]
mvsw61xx: use standard swconfig get_port_link

The previous "link" and "status" functions were non-standard,
and thus less useful for parsing.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46864 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipkg-build: add ogargs to outer tar/ipk
nbd [Fri, 11 Sep 2015 16:34:22 +0000 (16:34 +0000)]
ipkg-build: add ogargs to outer tar/ipk

prevent name:uid leaks of build system

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

8 years agoar71xx: Restore buildability of the AP121 target
nbd [Fri, 11 Sep 2015 16:34:08 +0000 (16:34 +0000)]
ar71xx: Restore buildability of the AP121 target

Increase space for kernel and also introduce a 8M flash target into the
Makefile.

Signed-off-by: Attila Lendvai <attila@lendvai.name>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46862 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd: Add eapol_version config option
nbd [Fri, 11 Sep 2015 16:33:54 +0000 (16:33 +0000)]
hostapd: Add eapol_version config option

Add eapol_version to the openwrt wireless config ssid section.
Only eapol_version=1 and 2 will get passed to hostapd, the default
in hostapd is 2.

This is only useful for really old client devices that don't
accept eapol_version=2.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46861 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenvpn: remove __DATE__ from options output
nbd [Fri, 11 Sep 2015 16:33:39 +0000 (16:33 +0000)]
openvpn: remove __DATE__ from options output

reported by:
https://reproducible.debian.net/openwrt/dbd/ar71xx/base/openvpn-nossl_2.3.7-1_ar71xx.ipk.html

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

8 years agoinclude/image.mk: make tar reproducible
nbd [Fri, 11 Sep 2015 16:33:26 +0000 (16:33 +0000)]
include/image.mk: make tar reproducible

several packages reported different file order between builds
make binutils, kmod-sched reproducible

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

8 years agoyaffs2: remove __TIME__ __DATE__ macros
nbd [Fri, 11 Sep 2015 16:33:12 +0000 (16:33 +0000)]
yaffs2: remove __TIME__ __DATE__ macros

prevent compiler errors with gcc 4.9
increase reproducibility

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

8 years agoramips: Enable RTC support for PBR-M1
nbd [Fri, 11 Sep 2015 16:32:58 +0000 (16:32 +0000)]
ramips: Enable RTC support for PBR-M1

The PBR-M1 and other upcoming MT7621 boards have RTC chips on them. The
PBR-M1 also selects the kmod-rtc-pcf8563 by default. But the module itself
will not be build because CONFIG_RTC_CLASS is currently not enabled for its
kernel.

Enabling this option should fix the problem of the missing rtc device on
these boards.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46857 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix ar724x clock calculation
nbd [Fri, 11 Sep 2015 16:32:45 +0000 (16:32 +0000)]
ar71xx: fix ar724x clock calculation

According to the AR7242 datasheet section 2.8, AR724X CPUs use a 40MHz
input clock as the REF_CLK instead of 5MHz.

The correct CPU PLL calculation procedure is as follows:
CPU_PLL = (DIV * REF_CLK) / REF_DIV / 2.

This patch is compatible with the current calculation procedure with default
DIV and REF_DIV values.

Test on both AR7240, AR7241 and AR7242.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46856 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708-gpu-fw: update to latest version
nbd [Fri, 11 Sep 2015 16:32:28 +0000 (16:32 +0000)]
brcm2708-gpu-fw: update to latest version

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

8 years agobrcm2708: add kmod-sound-soc-raspidac3
nbd [Fri, 11 Sep 2015 16:32:15 +0000 (16:32 +0000)]
brcm2708: add kmod-sound-soc-raspidac3

This adds support for RaspiDAC Rev.3x

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

8 years agobrcm2708: update 4.1 patches
nbd [Fri, 11 Sep 2015 16:32:00 +0000 (16:32 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

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

8 years agotarget: ar71xx: add support for COMFAST CF-E316N v2 board
nbd [Fri, 11 Sep 2015 16:31:35 +0000 (16:31 +0000)]
target: ar71xx: add support for COMFAST CF-E316N v2 board

This adds full support (sans sysupgrading from vendor firmware) for the COMFAST
CF-E316N v2 (aka CF-E316V2, CF-E316N-V2 and CF-E316Nv2.0, no FCC ID) by
Shenzhen Four Seas Global Link Network Technology Co., Ltd (this company is
actively refusing to provide GPL'd sources for the OpenWrt version they ship
with the device, damn them).

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

8 years agohostapd: work around unconditional libopenssl build dependency
nbd [Fri, 11 Sep 2015 16:31:18 +0000 (16:31 +0000)]
hostapd: work around unconditional libopenssl build dependency

As the OpenWrt build system only resolves build dependencies per directory,
all hostapd variants were causing libopenssl to be downloaded and built,
not only wpad-mesh. Fix this by applying the same workaround as in
ustream-ssl.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46851 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopkg: work around unconditional libopenssl build dependency
nbd [Fri, 11 Sep 2015 16:31:01 +0000 (16:31 +0000)]
opkg: work around unconditional libopenssl build dependency

As the OpenWrt build system only resolves build dependencies per directory,
all opkg variants were causing libopenssl to be downloaded and built,
not only opkg-smime. Fix this by applying the same workaround as in
ustream-ssl.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46850 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: change banner to Designated Driver release
rmilecki [Fri, 11 Sep 2015 08:56:37 +0000 (08:56 +0000)]
base-files: change banner to Designated Driver release

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

8 years agocomgt-ncm: Add possibility to choose PDP context type
cyrus [Fri, 11 Sep 2015 06:46:42 +0000 (06:46 +0000)]
comgt-ncm: Add possibility to choose PDP context type

By setting the option pdptype to IP, IPV6 or IPV4V6 the user can
choose the context type between IPv4, IPv6 and dual stack,
respectively. The default setting is dual stack, except if option
ipv6=0 is specified, in which case IPv4 context is the default.
This allows for an out-of-the-box IPv6 support with modems
utilizing NCM-like protocols.

While we are at it, also add commands for Sierra DirectIP modems
(currently untested), which will allow us to drop the separate
comgt-directip package (once tested and verified working).

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46844 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouqmi: Add proper IPv6 support
cyrus [Fri, 11 Sep 2015 06:46:40 +0000 (06:46 +0000)]
uqmi: Add proper IPv6 support

Use the new --ip-family option to start both IPv4 and IPv6 sessions
by default. Autoconnect can't be used when starting two sessions,
so revert back to using the client IDs and packet data handles for
handling the network connection.

Some modem firmwares do not implement a RA server, therefore by
default use outband IP configuration and static addressing. Some
other firmwares report bogus IP configuration with the WDS get
current settings command. In this case inband configuration with
DHCP/RA can be optionally enabled by setting option dhcp to 1.

Per 3GPP standard a /64 prefix is served to all clients, which is
extended to LAN as specified in RFC 7278.

v2: Restrict the IPv6 gateway route source address
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46843 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: Remove src_port from firewall.config to receive dhcpv6 replies
cyrus [Fri, 11 Sep 2015 06:46:35 +0000 (06:46 +0000)]
firewall: Remove src_port from firewall.config to receive dhcpv6 replies

Seems like my second try was again whitespace broken. Sorry for the noise.

Remove src_port from firewall.config to receive dhcpv6 replies. Fixes #20295.

Signed-off-by: Anselm Eberhardt <a.eberhardt@cygnusnetworks.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46842 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: update to the latest version, fixes a WDS STA mode regression caused by multi...
nbd [Thu, 10 Sep 2015 21:00:19 +0000 (21:00 +0000)]
netifd: update to the latest version, fixes a WDS STA mode regression caused by multicast-to-unicast handling (#20466)

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

8 years agoimagebuilder: run build prereq checks before building image to set up host commands...
nbd [Thu, 10 Sep 2015 11:06:42 +0000 (11:06 +0000)]
imagebuilder: run build prereq checks before building image to set up host commands properly

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

8 years agoipq806x: fix uninitialized variable usage in cpufreq-krait
jogo [Thu, 10 Sep 2015 10:09:42 +0000 (10:09 +0000)]
ipq806x: fix uninitialized variable usage in cpufreq-krait

In krait_cpufreq_probe, both freq and max_cpu_freq are never
initialized, so the max_cpu_freq will have a random value at the end.
Fix this by properly initializing max_cpu_freq to 0 and storing the clk
frequency in freq as well, to make it similar to how it's calculated in
krait_set_target.

Fixes the following warnings:

In file included from include/linux/clk.h:16:0,
                 from drivers/cpufreq/cpufreq-krait.c:13:
drivers/cpufreq/cpufreq-krait.c: In function 'krait_cpufreq_probe':
include/linux/kernel.h:714:24: warning: 'freq' may be used uninitialized in this function [-Wmaybe-uninitialized]
  _max1 > _max2 ? _max1 : _max2; })
                        ^
drivers/cpufreq/cpufreq-krait.c:217:25: note: 'freq' was declared here
  unsigned long freq_Hz, freq, max_cpu_freq;
                         ^
In file included from include/linux/clk.h:16:0,
                 from drivers/cpufreq/cpufreq-krait.c:13:
include/linux/kernel.h:714:24: warning: 'max_cpu_freq' may be used uninitialized in this function [-Wmaybe-uninitialized]
  _max1 > _max2 ? _max1 : _max2; })
                        ^
drivers/cpufreq/cpufreq-krait.c:217:31: note: 'max_cpu_freq' was declared here
  unsigned long freq_Hz, freq, max_cpu_freq;

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

8 years agoipq806x: modules: fix typo in usb-dwc3-qcom dependencies
jogo [Thu, 10 Sep 2015 10:09:36 +0000 (10:09 +0000)]
ipq806x: modules: fix typo in usb-dwc3-qcom dependencies

The phy driver has its qcom-dwc3 order switched in contrast to the usb
controller driver.

Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46838 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: fix R7500 kernel generation
jogo [Thu, 10 Sep 2015 10:09:26 +0000 (10:09 +0000)]
ipq806x: fix R7500 kernel generation

Obviously the dummy rootfs must be after the kernel (uImage), not
included in it.

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

8 years agobusybox: lock: implement -n "Fail rather than wait"
nbd [Wed, 9 Sep 2015 20:36:10 +0000 (20:36 +0000)]
busybox: lock: implement -n "Fail rather than wait"

lock -n is similiar to flock -n. If the lock was already taken,
fail with exit code = 1 and write error message to stderr.

example:
if ! lock -n /tmp/foo ; then
echo lock exits.
else
echo lock was free. But is locked now.
fi
> lock was free. But is locked now.
> lock exists.

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

8 years agogeneric: Fix per interface nf_call_iptables setting
nbd [Wed, 9 Sep 2015 18:40:15 +0000 (18:40 +0000)]
generic: Fix per interface nf_call_iptables setting

commit r30917 ("kernel: bypass all netfilter hooks if the sysctls for that
functionality have been disabled - eliminates the overhead of enabling
CONFIG_BRIDGE_NETFILTER in the kernel config") introduced an optimization
which should reduce/eliminate the overhead for traffic send over bridges on
kernels compiled with CONFIG_BRIDGE_NETFILTER=y. But this optimization
breaks the nf_call_iptables per bridge setting which is more fine grained
than the global sysctl net.bridge.bridge-nf-call-iptables setting.

A test reflecting a real world setup was created to identify if this really
eliminates the overhead and if per-bridge nf_call_iptables could be used in
some setups to increase the throughput. A Qualcomm Atheros QCA9558 based
system with one ethernet and an ath9k wifi 3x3 in HT40 mode was used.
Cables from the AP to the wifi station were used to reduce interference
problems during the tests.

The wlan interface was put in one bridge interface called br-wlan. This
bridge usually contains some more wlan interfaces. The eth0 was put in a
second bridge called br-lan. This usually contains some other privileged
wlan or mesh interfaces. Routing was added between br-lan and br-wlan.

Three kernels were tested:

 * (default) OpenWrt kernel for this device
 * (brfilter-global) OpenWrt kernel with CONFIG_BRIDGE_NETFILTER=y
 * (brfilter-local)  OpenWrt kernel with CONFIG_BRIDGE_NETFILTER=y and
    without 644-bridge_optimize_netfilter_hooks.patch

The changes to the the netfilter settings of the bridge were done via:

 * (brfilter-global) /sbin/sysctl -w net.bridge.bridge-nf-call-iptables=1
 * (brfilter-lobal) echo 1 > /sys/class/net/br-lan/bridge/nf_call_iptables
   and/or echo 1 > /sys/class/net/br-wan/bridge/nf_call_iptables

A station connected to the wlan0 (AP) interface was used to send traffic to
a PC connected via ethernet. iperf with 3 concurrent transmissions was used
to generate the traffic.

| kernel          | br-nf-* global | nf-call* iface | download | upload   |
|-----------------|----------------|----------------|----------|----------|
| default         | 0              | -              |      209 |      268 |
| brfilter-global | 0              | -              |      185 |      243 |
| brfilter-local  | 0              | -              |      187 |      243 |
| brfilter-local  | 0              | br-lan         |      157 |      226 |
| brfilter-local  | 0              | br-lan br-wlan |      139 |      161 |
| brfilter-global | 1              | -              |      136 |      162 |

Download/upload results in Mibit/s

It can be seen that the patch doesn't eliminate the overhead. It can also
be seen that the throughput of brfilter-global and brfilter-local with
disabled filtering is the roughly the same. Also the throughput for
brfilter-global and brfilter-local for enabled filtering on all bridges is
roughly the same.

But also the brfilter-local throughput is higher when only br-lan requires
the filtering. This setting would not be possible with
644-bridge_optimize_netfilter_hooks.patch applied and thus can only be
compared with brfilter-global and filtering enabled for all interfaces.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46835 3c298f89-4303-0410-b956-a3cf2f4a3e73

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