openwrt.git
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

8 years agoopenvpn: replace polarssl run-time version check with a compile-time one
nbd [Tue, 5 May 2015 10:09:16 +0000 (10:09 +0000)]
openvpn: 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@45608 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopolarssl: disable runtime version checks to save some space
nbd [Tue, 5 May 2015 10:00:49 +0000 (10:00 +0000)]
polarssl: disable runtime version checks to save some space

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

8 years agopolarssl: disable an unused random number generator
nbd [Tue, 5 May 2015 10:00:36 +0000 (10:00 +0000)]
polarssl: disable an unused random number generator

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

8 years agotools/pkg-config: fix compile on musl hosts
kaloz [Mon, 4 May 2015 13:22:54 +0000 (13:22 +0000)]
tools/pkg-config: fix compile on musl hosts

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

8 years agotools/autoconf: fix compile on musl hosts
kaloz [Mon, 4 May 2015 13:22:36 +0000 (13:22 +0000)]
tools/autoconf: fix compile on musl hosts

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

8 years agotools/sed: fix compile on musl hosts
kaloz [Mon, 4 May 2015 13:22:17 +0000 (13:22 +0000)]
tools/sed: fix compile on musl hosts

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

8 years agoopenvpn: disable CBC record splitting in PolarSSL/mbedTLS (#19101)
jow [Mon, 4 May 2015 08:49:21 +0000 (08:49 +0000)]
openvpn: disable CBC record splitting in PolarSSL/mbedTLS (#19101)

OpenVPN assumes that its control channel messages are sent and received
unfragmented, this assumption is broken when CBC record splitting is
enabled in mbedTLS.

The record splitting is intended as countermeasure against BEAST attacks
which do not apply to OpenVPN, therefore we simply disable it until
upstream OpenVPN gains the ability to process fragmented control
messages.

Disabling the splitting also works around a (not remotely triggerable)
segmentation fault in mbedTLS.

References:

 * https://dev.openwrt.org/ticket/19101
 * https://community.openvpn.net/openvpn/ticket/524
 * https://github.com/ARMmbed/mbedtls/pull/185

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

8 years agogeneric/4.0: update to 4.0.1
kaloz [Sun, 3 May 2015 18:04:46 +0000 (18:04 +0000)]
generic/4.0: update to 4.0.1

Also refresh one patch.

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

8 years agobase-files: fix logic error in led default handling (patch from #19593)
nbd [Sun, 3 May 2015 18:04:27 +0000 (18:04 +0000)]
base-files: fix logic error in led default handling (patch from #19593)

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

8 years agompc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entry
kaloz [Sun, 3 May 2015 18:00:47 +0000 (18:00 +0000)]
mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entry

This also changes the MAC address to one of the adresses actually used by the
stock firmware on one of the ethernet interfaces.

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

8 years agompc85xx: gianfar: add mtd-mac-address support
kaloz [Sun, 3 May 2015 17:59:46 +0000 (17:59 +0000)]
mpc85xx: gianfar: add mtd-mac-address support

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

8 years agompc85xx: move newly created files from patch files to files directory
kaloz [Sun, 3 May 2015 17:58:45 +0000 (17:58 +0000)]
mpc85xx: move newly created files from patch files to files directory

This will make these files much more maintainable.

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

8 years agoThe ability to read MAC addresses from MTD is useful for other targets besides
kaloz [Sun, 3 May 2015 17:56:32 +0000 (17:56 +0000)]
The ability to read MAC addresses from MTD is useful for other targets besides
ramips and lantiq as well.

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

8 years agonettle: bump to 3.1.1
cyrus [Sun, 3 May 2015 11:19:42 +0000 (11:19 +0000)]
nettle: bump to 3.1.1

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

8 years agodhcp: add option specifying overriding custom-routes
cyrus [Sat, 2 May 2015 07:44:55 +0000 (07:44 +0000)]
dhcp: add option specifying overriding custom-routes

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

8 years agonetsupport: package L2TPv3 over IPv6 as well
cyrus [Sat, 2 May 2015 07:44:47 +0000 (07:44 +0000)]
netsupport: package L2TPv3 over IPv6 as well

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

8 years agoenv: allow passing a commit message on save
jow [Fri, 1 May 2015 17:23:15 +0000 (17:23 +0000)]
env: allow passing a commit message on save

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

8 years agomake-ext4fs: avoid using libc internal declarations
jow [Fri, 1 May 2015 16:18:25 +0000 (16:18 +0000)]
make-ext4fs: avoid using libc internal declarations

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

8 years agomap: shorten autogenerated sub-interface names to account for limits
cyrus [Thu, 30 Apr 2015 12:43:46 +0000 (12:43 +0000)]
map: shorten autogenerated sub-interface names to account for limits

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

8 years agoar71xx: fix leds and gpio on wpj344
luka [Wed, 29 Apr 2015 20:04:46 +0000 (20:04 +0000)]
ar71xx: fix leds and gpio on wpj344

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

8 years agoar71xx: fix sysupgrade for compex-wpj344
luka [Wed, 29 Apr 2015 13:52:34 +0000 (13:52 +0000)]
ar71xx: fix sysupgrade for compex-wpj344

Moved board to the right magic case.

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

8 years agodnsmasq: bump to 2.73rc7
cyrus [Wed, 29 Apr 2015 07:19:24 +0000 (07:19 +0000)]
dnsmasq: bump to 2.73rc7

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

8 years agoodhcpd: Remove prefix class config option as not supported anymore by odhcpd
cyrus [Tue, 28 Apr 2015 14:58:54 +0000 (14:58 +0000)]
odhcpd: Remove prefix class config option as not supported anymore by odhcpd

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45586 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcp6c: Fix white space errors
cyrus [Tue, 28 Apr 2015 14:57:52 +0000 (14:57 +0000)]
odhcp6c: Fix white space errors

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45585 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: disable INET_LRO by default
jogo [Tue, 28 Apr 2015 13:31:08 +0000 (13:31 +0000)]
kernel: disable INET_LRO by default

INET_LRO deprecated and there are exactly two drivers using it, neither
being included in any of the targets enabling INET_LRO. At the same time
both drivers needing it select it.

So just disable it for everyone.

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

8 years agobrcm63xx: fix bcm6348 ext irqc compatible name
jogo [Mon, 27 Apr 2015 11:06:05 +0000 (11:06 +0000)]
brcm63xx: fix bcm6348 ext irqc compatible name

This was a remnant of an old version.

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

8 years agobrcm63xx: fix bcm3368.dtsi typo.
jogo [Mon, 27 Apr 2015 11:06:00 +0000 (11:06 +0000)]
brcm63xx: fix bcm3368.dtsi typo.

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

8 years agosdk: filter out CONFIG_SIGNED_PACKAGES for generated config
nbd [Sat, 25 Apr 2015 12:39:02 +0000 (12:39 +0000)]
sdk: filter out CONFIG_SIGNED_PACKAGES for generated config

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

8 years agokernel: implement RENAME_EXCHANGE support for jffs2 - overlayfs requires it
nbd [Sat, 25 Apr 2015 10:47:18 +0000 (10:47 +0000)]
kernel: implement RENAME_EXCHANGE support for jffs2 - overlayfs requires it

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

8 years agoRevert "nvram: increase NVRAM size to 64 KiB"
rmilecki [Fri, 24 Apr 2015 15:38:38 +0000 (15:38 +0000)]
Revert "nvram: increase NVRAM size to 64 KiB"

This reverts commit ff84c27a281bc19df19bc62ee8688cca5586f6e3.
This tool has really broken size handling (many values hardcoded), it
crashes right now in case of NVRAM not filling whole MTD partition.

Conflicts:
package/utils/nvram/src/nvram.h

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

8 years agonvram: fix regression in finding NVRAM beginning
rmilecki [Fri, 24 Apr 2015 14:28:57 +0000 (14:28 +0000)]
nvram: fix regression in finding NVRAM beginning

The loop was giving up too early as it never expected NVRAM smaller
than 0x10000.

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

8 years agomac80211: backport brcmfmac to support multiple devices NVRAM
rmilecki [Fri, 24 Apr 2015 10:53:11 +0000 (10:53 +0000)]
mac80211: backport brcmfmac to support multiple devices NVRAM

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

8 years agomac80211: update brcmfmac to the wireless-drivers-next-for-davem-2015-04-09
rmilecki [Fri, 24 Apr 2015 10:45:33 +0000 (10:45 +0000)]
mac80211: update brcmfmac to the wireless-drivers-next-for-davem-2015-04-09

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

8 years agobcm53xx: sort ports from NVRAM entries before matching them
rmilecki [Fri, 24 Apr 2015 07:47:25 +0000 (07:47 +0000)]
bcm53xx: sort ports from NVRAM entries before matching them

Some devices have unsorted ports which may lead to broken config.

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

8 years agonetlogic: copy initramfs image to $(BIN_DIR)
florian [Thu, 23 Apr 2015 22:31:36 +0000 (22:31 +0000)]
netlogic: copy initramfs image to $(BIN_DIR)

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

8 years agokernel: backport rest of bgmac patches to 4.0
rmilecki [Thu, 23 Apr 2015 19:11:11 +0000 (19:11 +0000)]
kernel: backport rest of bgmac patches to 4.0

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

8 years agodnsmasq: bump to 2.73rc6
cyrus [Thu, 23 Apr 2015 13:05:15 +0000 (13:05 +0000)]
dnsmasq: bump to 2.73rc6

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

8 years agokernel: backport few bgmac patches to 4.0
rmilecki [Thu, 23 Apr 2015 12:30:51 +0000 (12:30 +0000)]
kernel: backport few bgmac patches to 4.0

I still need to test following patch before backporting:
bgmac: leave interrupts disabled as long as there is work to do

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

8 years agobrcm47xx: add patches for kernel 4.0
rmilecki [Thu, 23 Apr 2015 11:31:54 +0000 (11:31 +0000)]
brcm47xx: add patches for kernel 4.0

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

8 years agoRevert "ncurses: cleanup InstallDev"
nbd [Thu, 23 Apr 2015 11:06:15 +0000 (11:06 +0000)]
Revert "ncurses: cleanup InstallDev"

This reverts r43204. The symlinks are faulty, as they point to a
temporary staging dir

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

8 years agopackage-ipkg.mk: fix typo (patch from #19540)
nbd [Thu, 23 Apr 2015 08:27:22 +0000 (08:27 +0000)]
package-ipkg.mk: fix typo (patch from #19540)

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

8 years agohostapd: backport fix for CVE-2015-1863, refresh patches
nbd [Thu, 23 Apr 2015 08:01:51 +0000 (08:01 +0000)]
hostapd: backport fix for CVE-2015-1863, refresh patches

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

8 years agonvram: increase NVRAM size to 64 KiB
rmilecki [Wed, 22 Apr 2015 19:07:24 +0000 (19:07 +0000)]
nvram: increase NVRAM size to 64 KiB

For years Broadcom devices use 64 KiB NVRAM partition size and some of
them indeed have it filled in more than 50%. This change allows handling
whole NVRAM e.g. on Netgear WNDR4500 and Netgear R8000.

The same fix was applied to kernel in upstream commit 6ab7c29.

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

8 years agonvram: refuse to open NVRAM for writing if it's too big to be handled
rmilecki [Wed, 22 Apr 2015 19:07:19 +0000 (19:07 +0000)]
nvram: refuse to open NVRAM for writing if it's too big to be handled

Otherwise writing anything will result in loosing data.

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

8 years agonvram: drop check for WGT634U using /proc/diag/model
rmilecki [Wed, 22 Apr 2015 19:07:12 +0000 (19:07 +0000)]
nvram: drop check for WGT634U using /proc/diag/model

We don't have broadcom-diag for months or years now and the correct
solution is to simply don't have "nvram" partition on WGT634U anyway.

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

8 years agonvram: use correct variable name for MTD partition size
rmilecki [Wed, 22 Apr 2015 19:07:06 +0000 (19:07 +0000)]
nvram: use correct variable name for MTD partition size

Sytax of /proc/mtd is following:
dev:    size   erasesize  name
which means that sscanf "mtd%d: %08x" reads size, not erasesize.

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

8 years agonvram: drop support for ancient /dev/mtdblock/%d
rmilecki [Wed, 22 Apr 2015 19:06:58 +0000 (19:06 +0000)]
nvram: drop support for ancient /dev/mtdblock/%d

Path /dev/mtdblock%d is used for years now.

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

8 years agohostapd: mark wpa-supplicant & wpad-mesh as broken on uml
nico [Wed, 22 Apr 2015 15:36:00 +0000 (15:36 +0000)]
hostapd: mark wpa-supplicant & wpad-mesh as broken on uml

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45561 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: upgrade to the latest revision
kaloz [Wed, 22 Apr 2015 09:57:32 +0000 (09:57 +0000)]
mwlwifi: upgrade to the latest revision

New revision adds transmit frame rate info

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

8 years agogeneric/4.0: bump to final version
kaloz [Wed, 22 Apr 2015 09:35:36 +0000 (09:35 +0000)]
generic/4.0: bump to final version

Linux 4.0 was released on 2014-04-12

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

9 years agobrcm63xx: fix leds bcm963269bhr
jogo [Tue, 21 Apr 2015 17:00:39 +0000 (17:00 +0000)]
brcm63xx: fix leds bcm963269bhr

Fix the led naming and gpios.

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

9 years agobrcm63xx: add missing bcm96329bhr profile and dts
jogo [Tue, 21 Apr 2015 16:43:46 +0000 (16:43 +0000)]
brcm63xx: add missing bcm96329bhr profile and dts

Hopefully the last missing board.

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

9 years agouqmi: auto retry when bringup fails
blogic [Tue, 21 Apr 2015 13:18:46 +0000 (13:18 +0000)]
uqmi: auto retry when bringup fails

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

9 years agoumbim: auto retry when bringup fails
blogic [Tue, 21 Apr 2015 13:18:40 +0000 (13:18 +0000)]
umbim: auto retry when bringup fails

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

9 years agoralink: the systick clocksource was calculating a bad bogo mips value
blogic [Tue, 21 Apr 2015 12:42:42 +0000 (12:42 +0000)]
ralink: the systick clocksource was calculating a bad bogo mips value

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

9 years agoAdd support for Ubiquiti Rocket M XW devices
blogic [Tue, 21 Apr 2015 12:42:13 +0000 (12:42 +0000)]
Add support for Ubiquiti Rocket M XW devices

This patch adds support for the XW version of the Rocket M series devices
manufactured by Ubiquiti, based on the Atheros AR9342 SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45553 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: spi cleanup for ap121, db120, ubnt-xm and ap136
blogic [Tue, 21 Apr 2015 12:42:05 +0000 (12:42 +0000)]
ar71xx: spi cleanup for ap121, db120, ubnt-xm and ap136

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45552 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: merge ap81 patches into one
blogic [Tue, 21 Apr 2015 12:41:55 +0000 (12:41 +0000)]
ar71xx: merge ap81 patches into one

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45551 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, fixes retry when proto handlers exit without...
nbd [Tue, 21 Apr 2015 12:11:07 +0000 (12:11 +0000)]
netifd: update to the latest version, fixes retry when proto handlers exit without changing the state

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

9 years agomt76: remove specific firmware versions from makefile
nbd [Tue, 21 Apr 2015 12:10:44 +0000 (12:10 +0000)]
mt76: remove specific firmware versions from makefile

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

9 years agokernel: backport an upstream PPPoE shutdown fix
nbd [Tue, 21 Apr 2015 11:24:46 +0000 (11:24 +0000)]
kernel: backport an upstream PPPoE shutdown fix

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

9 years agobcm53xx: sysupgrade: check if new kernel fits partition size
rmilecki [Tue, 21 Apr 2015 11:21:34 +0000 (11:21 +0000)]
bcm53xx: sysupgrade: check if new kernel fits partition size

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

9 years agobcm53xx: sysupgrade: improve NAND warnings
rmilecki [Tue, 21 Apr 2015 11:04:38 +0000 (11:04 +0000)]
bcm53xx: sysupgrade: improve NAND warnings

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

9 years agobcm53xx: image: prepare for generating serial flash images
rmilecki [Tue, 21 Apr 2015 08:42:41 +0000 (08:42 +0000)]
bcm53xx: image: prepare for generating serial flash images

There are some rare devices without NAND, like Netgear EX6200 or
TP-LINK Archer C8.

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

9 years agobcm53xx: sysupgrade: drop some debugging message
rmilecki [Tue, 21 Apr 2015 08:34:25 +0000 (08:34 +0000)]
bcm53xx: sysupgrade: drop some debugging message

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

9 years agobcm53xx: sysupgrade: allow flashing NAND devices without --force
rmilecki [Tue, 21 Apr 2015 08:32:59 +0000 (08:32 +0000)]
bcm53xx: sysupgrade: allow flashing NAND devices without --force

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

9 years agobcm53xx: sysupgrade: support flashing TRX with UBI image
rmilecki [Tue, 21 Apr 2015 08:20:06 +0000 (08:20 +0000)]
bcm53xx: sysupgrade: support flashing TRX with UBI image

Signed-off-by: Dan Haab <dhaab@luxul.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45542 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: append only 1 block (with erasing mark) to UBI
rmilecki [Tue, 21 Apr 2015 08:20:00 +0000 (08:20 +0000)]
bcm53xx: append only 1 block (with erasing mark) to UBI

This is needed as prepare_generic_squashfs generates more data (in our
case 0x40004 B) and it's complex for sysupgrade to extract UBI image out
of TRX.

Signed-off-by: Dan Haab <dhaab@luxul.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45541 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
rmilecki [Tue, 21 Apr 2015 08:19:53 +0000 (08:19 +0000)]
bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades

Signed-off-by: Dan Haab <dhaab@luxul.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45540 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: minor fixes
cyrus [Tue, 21 Apr 2015 07:45:49 +0000 (07:45 +0000)]
odhcpd: minor fixes

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

9 years agoar71xx: add TP-LINK TL-WR710N v2
blogic [Tue, 21 Apr 2015 07:15:55 +0000 (07:15 +0000)]
ar71xx: add TP-LINK TL-WR710N v2

TP-Link TL-WR710n v2 looks like v1, but has less memory (4MB).

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45538 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: add db149 support to OpenWrt init scripts
blogic [Tue, 21 Apr 2015 07:15:47 +0000 (07:15 +0000)]
ipq806x: add db149 support to OpenWrt init scripts

DB149 is a IPQ8064 based platform. This patch adds the init scripts to
detect it, configure the network accordingly, and generate a flashable
image for it.

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

9 years agoipq806x: add db149 dts files
blogic [Tue, 21 Apr 2015 07:15:37 +0000 (07:15 +0000)]
ipq806x: add db149 dts files

DB149 is an IPQ806x based development platform. This patch adds the dts
files to support it.

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

9 years agoipq806x: enable AT803x driver
blogic [Tue, 21 Apr 2015 07:15:30 +0000 (07:15 +0000)]
ipq806x: enable AT803x driver

Certain IPQ806x based platforms are making use of this PHY. So we'll
enable it so it gets detected as such.

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

9 years agokernel: remove module checks for 3.15/3.16/3.17
blogic [Tue, 21 Apr 2015 06:59:41 +0000 (06:59 +0000)]
kernel: remove module checks for 3.15/3.16/3.17

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

9 years agokernel: remove usb-serial-motorola-phone
blogic [Tue, 21 Apr 2015 06:59:35 +0000 (06:59 +0000)]
kernel: remove usb-serial-motorola-phone

replaced by usb-serial-simple (see r45233)

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

9 years agowpan: remove duplicate DEPENDS
blogic [Tue, 21 Apr 2015 06:59:29 +0000 (06:59 +0000)]
wpan: remove duplicate DEPENDS

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

9 years agokernel: add bluetooth symbols from Kernel 4.0
blogic [Tue, 21 Apr 2015 06:59:23 +0000 (06:59 +0000)]
kernel: add bluetooth symbols from Kernel 4.0

upstream commit: Bluetooth: Introduce BT_BREDR and BT_LE config options
id: 65efd2bf4885312b42de9829159789199221cc60

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

9 years agokernel: fix generic/3.18 wpan symbols
blogic [Tue, 21 Apr 2015 06:59:18 +0000 (06:59 +0000)]
kernel: fix generic/3.18 wpan symbols

-removed symbol because it should be handled by wpan.mk
-add missing FAKEHARD symbol (this symbol is removed in Kernel 4.0)

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

9 years agowpan: rework bluetooth / wpan and 6lowpan dependencies
blogic [Tue, 21 Apr 2015 06:59:10 +0000 (06:59 +0000)]
wpan: rework bluetooth / wpan and 6lowpan dependencies

- remove/rename of 6lowpan-iphc
upstream change in 3.17: 6lowpan: introduce new net/6lowpan directory
id: 2c6bed7cfcd3f594ed9e4d6919fa2ebea2243d19

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

9 years agoar71xx: refresh patches
luka [Mon, 20 Apr 2015 20:47:53 +0000 (20:47 +0000)]
ar71xx: refresh patches

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

9 years agoar71xx: add support for compex wpj344
luka [Mon, 20 Apr 2015 20:47:48 +0000 (20:47 +0000)]
ar71xx: add support for compex wpj344

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45527 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonettle: bump to 3.1
cyrus [Mon, 20 Apr 2015 20:47:42 +0000 (20:47 +0000)]
nettle: bump to 3.1

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

9 years agobinutils/oprofile: disable mips16 to fix build errors (#19522)
nbd [Mon, 20 Apr 2015 15:01:21 +0000 (15:01 +0000)]
binutils/oprofile: disable mips16 to fix build errors (#19522)

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

9 years agoar71xx: Increase RXD/RDV to 2 on OM5P-AN
nbd [Mon, 20 Apr 2015 15:01:00 +0000 (15:01 +0000)]
ar71xx: Increase RXD/RDV to 2 on OM5P-AN

It was reported that OM5P-AN needs not only a delay setting of 1 for RXD/RDV
but 2. These was found when testing with a NetGear GS752TP POE switch with a
cable length of 50ft and 250ft.

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

9 years agoar71xx: add a helper function to set RXDV/RXD of ETH_CFG on AR934x
nbd [Mon, 20 Apr 2015 15:00:52 +0000 (15:00 +0000)]
ar71xx: add a helper function to set RXDV/RXD of ETH_CFG on AR934x

The ETH_RXDV_DELAY (17:16) and ETH_RXD_DELAY (15:14) are currently not cleared
by the function ath79_setup_ar934x_eth_cfg. Clearing these in the
ath79_setup_ar934x_eth_cfg may cause problems on some hardware because they
rely on the preset value by the bootloader.

Instead another function is introduced which also works on ETH_CFG on AR934x.
It can be used to safely clear and set ETH_RXDV_DELAY and ETH_RXD_DELAY on
machines which require special settings.

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

9 years agoar71xx: add mask and shift for RXD/RDV bits in AR934X register file
nbd [Mon, 20 Apr 2015 15:00:41 +0000 (15:00 +0000)]
ar71xx: add mask and shift for RXD/RDV bits in AR934X register file

The commit r38948 ("ag71xx: add F1E specific feature bit definitions to AR934X
register file") introduced definitions for some bits in the RDV/RXD part of the
ETH_CFG register of AR934x. These are incomplete because ETH_RXDV_DELAY is
specified as 17:16 and ETH_RXD_DELAY is specified 15:14. The original commit
only specified the lower bits. The upper bits also have to be unset when the
lower bits should only be set.

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

9 years agoar71xx: Remove TX/RX delay from pll_1000 for OM5P-AN
nbd [Mon, 20 Apr 2015 15:00:20 +0000 (15:00 +0000)]
ar71xx: Remove TX/RX delay from pll_1000 for OM5P-AN

The tx/rx delay bits in the ETH_XMII_CONTROL register have to be unset when the
enable_rgmii_rx_delay/enable_rgmii_tx_delay will be set in the AT803x PHY.
Othwise the throughput in gigabit mode is heavily reduced.

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

9 years agomac80211: fallback to wpa_supplicant to setup encrypted mesh
nbd [Mon, 20 Apr 2015 15:00:13 +0000 (15:00 +0000)]
mac80211: fallback to wpa_supplicant to setup encrypted mesh

instead of failing when authsae is not installed, also try using
wpa_supplicant as the newly added -mesh variants support mesh mode
and SAE encryption.

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

9 years agohostapd/netifd: encrypted mesh with wpa_supplicant
nbd [Mon, 20 Apr 2015 15:00:07 +0000 (15:00 +0000)]
hostapd/netifd: encrypted mesh with wpa_supplicant

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

9 years agotools: drop unused genext2fs
jow [Mon, 20 Apr 2015 13:58:22 +0000 (13:58 +0000)]
tools: drop unused genext2fs

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

9 years agoall: replace genext2fs with make_ext4fs
jow [Mon, 20 Apr 2015 13:57:43 +0000 (13:57 +0000)]
all: replace genext2fs with make_ext4fs

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

9 years agonetfilter.mk: remove obsolete ip_nat_ftp related line
nbd [Mon, 20 Apr 2015 13:36:25 +0000 (13:36 +0000)]
netfilter.mk: remove obsolete ip_nat_ftp related line

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