openwrt/openwrt.git
8 years agoutil-linux: update to version 2.28
Hauke Mehrtens [Sun, 17 Apr 2016 15:16:12 +0000 (15:16 +0000)]
util-linux: update to version 2.28

The following patches were merged upstream:
* 0001-switch_root-improve-statfs-f_type-portability.patch
* 0002-lib-colors-use-static-buffers-when-parse-scheme.patch
* 002-mkostemp.patch

The following patch is not needed any more because all libc
implementations support alloc in sscanf:
* 001-no-printf-alloc.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49191

8 years agox86: fix platform_export_bootpart() for Xen virtual disks
Hauke Mehrtens [Sun, 17 Apr 2016 13:24:30 +0000 (13:24 +0000)]
x86: fix platform_export_bootpart() for Xen virtual disks

Virtual disk devices in a Xen virtual machine (DomU) can be /dev/xvda,
/dev/xvdb and so on with partitions like /dev/xdva1. Devices named like
this where not considered before. This resulted in a non working
sysupgrade, because the boot partition could not be found.

Signed-off-by: Alexander Dahl <alex@netz39.de>
Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49190

8 years agobusybox: update to 1.24.2
Hauke Mehrtens [Sun, 17 Apr 2016 12:53:31 +0000 (12:53 +0000)]
busybox: update to 1.24.2

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
[remove Kconfig changes]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49189

8 years agolibnl-tiny: backport 'gnet_stats_rate_est64' support
Hauke Mehrtens [Sun, 17 Apr 2016 12:53:11 +0000 (12:53 +0000)]
libnl-tiny: backport 'gnet_stats_rate_est64' support

This has been added to the kernel uapi for a while, and makes
sense to have it here too.
At the moment we're using it for query-ing qdisc via netlink
using libnl-tiny.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49188

8 years agodnsmasq: Add enable parameter in the UCI DHCP host section
Hauke Mehrtens [Sun, 17 Apr 2016 12:52:54 +0000 (12:52 +0000)]
dnsmasq: Add enable parameter in the UCI DHCP host section

Parameter allows to enable/disable static leases; by default the value is 1
to keep backwards compatibility

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49187

8 years agotools/cmake: update to 3.5.1
Hauke Mehrtens [Sun, 17 Apr 2016 12:52:37 +0000 (12:52 +0000)]
tools/cmake: update to 3.5.1

Update cmake to 3.5.1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49186

8 years agotools/mpfr: update to 3.1.4
Hauke Mehrtens [Sun, 17 Apr 2016 12:52:17 +0000 (12:52 +0000)]
tools/mpfr: update to 3.1.4

Update mpfr to 3.1.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49185

8 years agocurl: add flags to allow gc-sections to strip out unused code
Hauke Mehrtens [Sun, 17 Apr 2016 12:51:57 +0000 (12:51 +0000)]
curl: add flags to allow gc-sections to strip out unused code

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49184

8 years agocurl: add config option for NTLM support
Hauke Mehrtens [Sun, 17 Apr 2016 12:51:41 +0000 (12:51 +0000)]
curl: add config option for NTLM support

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49183

8 years agocurl: upstep to latest version 7.48.0
Hauke Mehrtens [Sun, 17 Apr 2016 12:51:19 +0000 (12:51 +0000)]
curl: upstep to latest version 7.48.0

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49182

8 years agohostapd.sh: Add support for "anonymous_identity" config field
Hauke Mehrtens [Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)]
hostapd.sh: Add support for "anonymous_identity" config field

The wpa_supplicant supports an "anonymous_identity" field, which some
EAP networks require.  From the documentation:

anonymous_identity: Anonymous identity string for EAP (to be used as the
    unencrypted identity with EAP types that support different tunnelled
    identity, e.g., EAP-TTLS).

This change modifies the hostapd.sh script to propagate this field
from the UCI config to the wpa_supplicant.conf file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Reviewed-by: Manuel Munz <freifunk@somakoma.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49181

8 years agopackage: remove .git files from images
Hauke Mehrtens [Sun, 17 Apr 2016 12:50:30 +0000 (12:50 +0000)]
package: remove .git files from images

If you have your ./files/ directory stored in a git repository,
the .git will be included into images using precious space.
This patch removes .git directories before packing images.

Signed-off-by: Joerg Jungermann <jj@borkum.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49180

8 years agobase-files: allow to set arbitrary ip address and netmask
Hauke Mehrtens [Sun, 17 Apr 2016 12:49:54 +0000 (12:49 +0000)]
base-files: allow to set arbitrary ip address and netmask

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49179

8 years agotoolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL
Hauke Mehrtens [Sun, 17 Apr 2016 12:49:30 +0000 (12:49 +0000)]
toolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL

This is required to build net-snmp.

If that options is disabled in uClibc then net-snmp doesn't
detect sighold support on its configuration stage and so
defines HAVE_SIGHOLD as 0. That in its turn causes compilation of
the following branch of timerPause() in apps/snmpnetstat:
------------------>8----------------
    int             oldmask;
    oldmask = sigblock(sigmask(SIGALRM));
    if (!signalled) {
        sigpause(0);
    }
    sigsetmask(oldmask);
------------------>8----------------

Now in uClibc all 3 sigblock(), sigmask() and sigsetmask()
were removed back in 2005, see:
https://git.busybox.net/uClibc/commit/?id=5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594

And all that causes net-snmp linkage to fail this way:
------------------>8----------------
.libs/if.o: In function `intpr':
if.c:(.text+0x908): undefined reference to `sigmask'
if.c:(.text+0x90e): undefined reference to `sigblock'
if.c:(.text+0x924): undefined reference to `sigsetmask'
------------------>8----------------

If we enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL in uClibc then
branch with sighold is used in timerPause() and everything builds as
expected.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49178

8 years agokernel: update kernel 4.4 to version 4.4.7
Hauke Mehrtens [Sat, 16 Apr 2016 21:05:48 +0000 (21:05 +0000)]
kernel: update kernel 4.4 to version 4.4.7

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49176

8 years agosamba: fix some security problems
Hauke Mehrtens [Sat, 16 Apr 2016 20:06:34 +0000 (20:06 +0000)]
samba: fix some security problems

This fixes the following security problems:
* CVE-2015-7560
* CVE-2015-5370
* CVE-2016-2110
* CVE-2016-2111
* CVE-2016-2112
* CVE-2016-2115
* CVE-2016-2118

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49175

8 years agomac80211: update brcmfmac including missing boardrev workaround
Rafał Miłecki [Sat, 16 Apr 2016 08:48:43 +0000 (08:48 +0000)]
mac80211: update brcmfmac including missing boardrev workaround

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49174

8 years agokernel: backport patch making bcm47xxsflash arch independent
Rafał Miłecki [Fri, 15 Apr 2016 10:11:44 +0000 (10:11 +0000)]
kernel: backport patch making bcm47xxsflash arch independent

This will be needed to use bcm47xxsflash on ARM for BCM53573.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49168

8 years agokernel: use upstream fixes for bgmac and BCM4709(4)
Rafał Miłecki [Fri, 15 Apr 2016 10:11:31 +0000 (10:11 +0000)]
kernel: use upstream fixes for bgmac and BCM4709(4)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49167

8 years agobcm53xx: backport BCM5301X earlycon and USB VCC patches
Rafał Miłecki [Thu, 14 Apr 2016 05:54:20 +0000 (05:54 +0000)]
bcm53xx: backport BCM5301X earlycon and USB VCC patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49166

8 years agoscripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository
Vasilis Tsiligiannis [Wed, 13 Apr 2016 20:52:26 +0000 (20:52 +0000)]
scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository

Path to the Git repository directory can be overriden by using the '$GIT_DIR'
environment variable. This patch improves detection of Git repository by using
'git-rev-parse', which respects '$GIT_DIR' environment variable, instead of just
checking the existence of '.git' directory.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 49165

8 years agoinclude/cmake.mk: Add helper macro to handle conditionals for CMake boolean type...
Vasilis Tsiligiannis [Wed, 13 Apr 2016 20:21:38 +0000 (20:21 +0000)]
include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type variables

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 49164

8 years agorpcd: update to latest version
Luka Perkov [Wed, 13 Apr 2016 07:33:24 +0000 (07:33 +0000)]
rpcd: update to latest version

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49162

8 years agoramips: remove accidentally comitted code
John Crispin [Sat, 9 Apr 2016 14:47:35 +0000 (14:47 +0000)]
ramips: remove accidentally comitted code

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 49161

8 years agobcm53xx: add switch config workaround for R8500 and DIR-885L
Rafał Miłecki [Sat, 9 Apr 2016 13:23:25 +0000 (13:23 +0000)]
bcm53xx: add switch config workaround for R8500 and DIR-885L

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49160

8 years agobcm53xx: fix regression in generating network config
Rafał Miłecki [Sat, 9 Apr 2016 13:20:19 +0000 (13:20 +0000)]
bcm53xx: fix regression in generating network config

Syntax error was added in r49122.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49159

8 years agoar71xx: add TP-Link TL-WA901ND-v4 support
John Crispin [Sat, 9 Apr 2016 10:26:46 +0000 (10:26 +0000)]
ar71xx: add TP-Link TL-WA901ND-v4 support

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
SVN-Revision: 49158

8 years agoar71xx: add support for Compex WPJ342
John Crispin [Sat, 9 Apr 2016 10:26:41 +0000 (10:26 +0000)]
ar71xx: add support for Compex WPJ342

OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
SVN-Revision: 49157

8 years agoar71xx: fix nondeterministic hangs during bootconsole/console handover
John Crispin [Sat, 9 Apr 2016 10:26:37 +0000 (10:26 +0000)]
ar71xx: fix nondeterministic hangs during bootconsole/console handover

Reconfiguring the UART when the FIFO is not empty may cause the boot to
hang. This hang is extremely suspectible to timing differences; recompiling
the kernel with the same configuration, but different UTS_VERSION
timestamps can yield images that hang more or less often. Sometimes images
are produced that hang reproducibly.

This patch should also make it into one of the next linux-stable releases,
but it's better to get this fixed as soon as possible.

Fixes #21773, #21857.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49156

8 years agoar71xx: add OM5P-ACv2 to the OM5P-AC profile
John Crispin [Sat, 9 Apr 2016 10:26:34 +0000 (10:26 +0000)]
ar71xx: add OM5P-ACv2 to the OM5P-AC profile

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49155

8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board
John Crispin [Sat, 9 Apr 2016 10:26:31 +0000 (10:26 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49154

8 years agouboot-envtools: add OpenMesh OM5P-ACv2 support
John Crispin [Sat, 9 Apr 2016 10:26:28 +0000 (10:26 +0000)]
uboot-envtools: add OpenMesh OM5P-ACv2 support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49153

8 years agoom-watchdog: add OpenMesh OM5P-ACv2 support
John Crispin [Sat, 9 Apr 2016 10:26:25 +0000 (10:26 +0000)]
om-watchdog: add OpenMesh OM5P-ACv2 support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49152

8 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2
John Crispin [Sat, 9 Apr 2016 10:26:22 +0000 (10:26 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49151

8 years agoar71xx: add user-space support for the OpenMesh OM5P-ACv2
John Crispin [Sat, 9 Apr 2016 10:26:18 +0000 (10:26 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P-ACv2

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49150

8 years agoar71xx: add kernel support for the OpenMesh OM5P-ACv2 board
John Crispin [Sat, 9 Apr 2016 10:26:15 +0000 (10:26 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P-ACv2 board

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49149

8 years agoar71xx: create profile and build image for the OpenMesh OM5P-AC board
John Crispin [Sat, 9 Apr 2016 10:26:11 +0000 (10:26 +0000)]
ar71xx: create profile and build image for the OpenMesh OM5P-AC board

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49148

8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
John Crispin [Sat, 9 Apr 2016 10:26:08 +0000 (10:26 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49147

8 years agouboot-envtools: add OpenMesh OM5P-AC support
John Crispin [Sat, 9 Apr 2016 10:26:04 +0000 (10:26 +0000)]
uboot-envtools: add OpenMesh OM5P-AC support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49146

8 years agoom-watchdog: add OpenMesh OM5P-AC support
John Crispin [Sat, 9 Apr 2016 10:26:01 +0000 (10:26 +0000)]
om-watchdog: add OpenMesh OM5P-AC support

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49145

8 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-AC
John Crispin [Sat, 9 Apr 2016 10:25:57 +0000 (10:25 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P-AC

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49144

8 years agoscripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
John Crispin [Sat, 9 Apr 2016 10:25:54 +0000 (10:25 +0000)]
scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49143

8 years agoar71xx: add user-space support for the OpenMesh OM5P-AC
John Crispin [Sat, 9 Apr 2016 10:25:51 +0000 (10:25 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P-AC

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49142

8 years agoar71xx: add kernel support for the OpenMesh OM5P-AC board
John Crispin [Sat, 9 Apr 2016 10:25:47 +0000 (10:25 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P-AC board

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49141

8 years agoscripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification
John Crispin [Sat, 9 Apr 2016 10:25:42 +0000 (10:25 +0000)]
scripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification

Future Open Mesh u-boot versions are changing the check of the image files
(vmlinux, rootfs) from md5 to sha256. Having both in them should be enough
to ensure backward and forward compatibility.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49140

8 years agobrcmfmac43430-firmware: switch to @GITHUB download alias
John Crispin [Sat, 9 Apr 2016 10:25:38 +0000 (10:25 +0000)]
brcmfmac43430-firmware: switch to @GITHUB download alias

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 49139

8 years agodownload: add @GITHUB download facility
John Crispin [Sat, 9 Apr 2016 10:25:34 +0000 (10:25 +0000)]
download: add @GITHUB download facility

Define a new alias (@GITHUB) for downloading raw github repository files

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 49138

8 years agolantiq-dsl: add missing blank in dsl output
John Crispin [Sat, 9 Apr 2016 10:25:29 +0000 (10:25 +0000)]
lantiq-dsl: add missing blank in dsl output

blank inserted before ACTATP

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 49137

8 years agolantiq-dsl: bugfix latency values swapped for lucistat
John Crispin [Sat, 9 Apr 2016 10:25:24 +0000 (10:25 +0000)]
lantiq-dsl: bugfix latency values swapped for lucistat

swapped wrong latency output

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 49136

8 years agolantiq-dsl: bugfix db negative sign after comma
John Crispin [Sat, 9 Apr 2016 10:25:20 +0000 (10:25 +0000)]
lantiq-dsl: bugfix db negative sign after comma

If db is negative minus sign was shown after comma

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 49135

8 years agoarc770: enable unaligned access handling simulation in software
John Crispin [Sat, 9 Apr 2016 10:25:16 +0000 (10:25 +0000)]
arc770: enable unaligned access handling simulation in software

This enables misaligned access handling by software in Linux kernel.

With some wireless drivers (ath9k-htc and mt7601u for example) we see
misaligned accesses here and there and to cope with that without
fixing stuff in the drivers we're just gracefully handling it on ARC.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 49134

8 years agoarc770: build kmod-ath9k-htc wpad-mini by default
John Crispin [Sat, 9 Apr 2016 10:25:13 +0000 (10:25 +0000)]
arc770: build kmod-ath9k-htc wpad-mini by default

AXS101 beind a development board lacks built-in wireles inerfaces.
So we have to use external USB dongles to turn the board into
wireless router.

The best USB Wi-Fi dongles to work in AP-mode seem to be based on
ath9k-htc chipset.

And so with that change we add support of mentioned dongles in
default and axs101 builds.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 49133

8 years agomediatek: update patches
John Crispin [Sat, 9 Apr 2016 10:25:08 +0000 (10:25 +0000)]
mediatek: update patches

adds a few ethernet fixes

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 49132

8 years agoramips: Disable the SD driver by default on MT7621
John Crispin [Sat, 9 Apr 2016 10:25:03 +0000 (10:25 +0000)]
ramips: Disable the SD driver by default on MT7621

The SD driver has been a long and dragging issue on the MT7621 platforms as it hasn't worked for
months resulting in unbootable devices. Until it's fixed, disable it in the default profiles.

Reports / Discussed here:

https://dev.openwrt.org/ticket/21392
https://dev.openwrt.org/ticket/21834
https://dev.openwrt.org/ticket/21995
https://forum.openwrt.org/viewtopic.php?id=59092

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49131

8 years agoramips: Fixes for LinkIt 7688
John Crispin [Sat, 9 Apr 2016 10:24:58 +0000 (10:24 +0000)]
ramips: Fixes for LinkIt 7688

Misc fixes for LinkIt 7688 board:

- Copy the right wireless firmware for the mt7688
- Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4.
- Remove SPI_DEV from linux config which otherwise causes a massive warning
- Add wmac to LINKIT7688.dts so wireless works

Signed-off-by: Adam Kent <adam@semicircular.net>
SVN-Revision: 49130

8 years agoramips: Adjust image size limit for the D-Link DIR-860L B1
John Crispin [Sat, 9 Apr 2016 10:24:55 +0000 (10:24 +0000)]
ramips: Adjust image size limit for the D-Link DIR-860L B1

Currently the maximum image size defaults to 8Mbyte even though this model has 16Mbyte of flash memory.

Tested and works on my device.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49129

8 years agoramips: fix for Planex MZK-WDPR (lcd control gpio).
John Crispin [Sat, 9 Apr 2016 10:24:52 +0000 (10:24 +0000)]
ramips: fix for Planex MZK-WDPR (lcd control gpio).

add lcd control gpio pin for Planex MZK-WDPR.
LCD board initial timming is GPIO control.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49128

8 years agoramips: mt7621: fix Ubiquiti EdgeRouter X profile
John Crispin [Sat, 9 Apr 2016 10:24:47 +0000 (10:24 +0000)]
ramips: mt7621: fix Ubiquiti EdgeRouter X profile

Remove unnecessary packages to reduce image size so it fits in initramfs (to enable upgrading from factory firmware).

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49127

8 years agoramips: mt7621: sync MQmaker WiTi profile name to dts name
John Crispin [Sat, 9 Apr 2016 10:24:44 +0000 (10:24 +0000)]
ramips: mt7621: sync MQmaker WiTi profile name to dts name

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49126

8 years agoramips: enable device profiling by dts
John Crispin [Sat, 9 Apr 2016 10:24:40 +0000 (10:24 +0000)]
ramips: enable device profiling by dts

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49125

8 years agoramips: mt7621: add a device to TARGET_DEVICES after it's definition
John Crispin [Sat, 9 Apr 2016 10:24:36 +0000 (10:24 +0000)]
ramips: mt7621: add a device to TARGET_DEVICES after it's definition

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49124

8 years agoramips: mt7621: fix initramfs image for ubnt-erx
John Crispin [Sat, 9 Apr 2016 10:24:29 +0000 (10:24 +0000)]
ramips: mt7621: fix initramfs image for ubnt-erx

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49123

8 years agobcm53xx: add basic support for Netgear R7900
Rafał Miłecki [Sat, 9 Apr 2016 09:59:21 +0000 (09:59 +0000)]
bcm53xx: add basic support for Netgear R7900

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49122

8 years agobcm53xx: add PCI iproc patch adding abort handler
Rafał Miłecki [Fri, 8 Apr 2016 20:37:14 +0000 (20:37 +0000)]
bcm53xx: add PCI iproc patch adding abort handler

This prevents die() during PCI bus probe.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49121

8 years agoRevert "bcm53xx: revert patch removing imprecise abort workaround"
Rafał Miłecki [Fri, 8 Apr 2016 20:36:57 +0000 (20:36 +0000)]
Revert "bcm53xx: revert patch removing imprecise abort workaround"

This reverts commit r48961. It didn't fix PCIe host driver issue as
there are more aborts triggered by it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49120

8 years agomwlwifi: upgrade to 10.3.0.17-20160324
Imre Kaloz [Wed, 6 Apr 2016 08:30:28 +0000 (08:30 +0000)]
mwlwifi: upgrade to 10.3.0.17-20160324

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

8 years agobcm53xx: use the final fix for iproc bcma regression
Rafał Miłecki [Fri, 1 Apr 2016 16:49:50 +0000 (16:49 +0000)]
bcm53xx: use the final fix for iproc bcma regression

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49114

8 years agobcm53xx: drop unneeded 4.3 SPROM patch
Rafał Miłecki [Fri, 1 Apr 2016 16:49:34 +0000 (16:49 +0000)]
bcm53xx: drop unneeded 4.3 SPROM patch

4.3 isn't oficially used anymore but it may be useful for debugging PCI
host driver regression. SPROM driver doesn't seem to work correctly with
4.3:
[    2.336686] bcma: bus0: Using fallback SPROM failed (err -2)
[    2.342366] bcma: bus0: No SPROM available
but it at least compiles now.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49113

8 years agopackage/utils/usbutils: Update USB IDs list to snapshot 2015-12-17
John Crispin [Fri, 1 Apr 2016 07:12:17 +0000 (07:12 +0000)]
package/utils/usbutils: Update USB IDs list to snapshot 2015-12-17

Updates USB IDs list to snapshot 2015-12-17 and changes copyright to
2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49112

8 years agopackage/libs/libusb: Update to 1.0.20
John Crispin [Fri, 1 Apr 2016 07:12:14 +0000 (07:12 +0000)]
package/libs/libusb: Update to 1.0.20

Updates libusb to version 1.0.20 and changes copyright to 2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49111

8 years agopackage/libs/lzo: update version to 2.09
John Crispin [Fri, 1 Apr 2016 07:12:11 +0000 (07:12 +0000)]
package/libs/lzo: update version to 2.09

Updates lzo to version 2.09 and changes copyright to 2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49110

8 years agoar71xx: WPN824N: enable buttons
John Crispin [Fri, 1 Apr 2016 07:12:07 +0000 (07:12 +0000)]
ar71xx: WPN824N: enable buttons

Enable buttons connected to the GPIOs of the AR9285.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
SVN-Revision: 49109

8 years agoar71xx: WPN824N: set WLAN LED name
John Crispin [Fri, 1 Apr 2016 07:12:03 +0000 (07:12 +0000)]
ar71xx: WPN824N: set WLAN LED name

Make use of ap9x_pci_setup_wmac_led_name() to set the name of the WLAN
LED.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
SVN-Revision: 49108

8 years agoar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels...
John Crispin [Fri, 1 Apr 2016 07:12:00 +0000 (07:12 +0000)]
ar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels/image names

Let's not confuse users about the revisions of their devices when we can
easily avoid it.

Not tested on real hardware.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49107

8 years agoar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices
John Crispin [Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)]
ar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices

Instead of adding the space when combining $model and $hwver, add the space
to the beginning of $hwver, so the resulting string won't end with a space
when $hwver is set to the empty string.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49106

8 years agoar71xx: check both HWID and HWREV on upgrades of TP-LINK devices
John Crispin [Fri, 1 Apr 2016 07:11:53 +0000 (07:11 +0000)]
ar71xx: check both HWID and HWREV on upgrades of TP-LINK devices

There's no reason for us to be more lenient than the stock firmware, so
better check the HWREV as well to avoid bricked devices.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49105

8 years agoramips: move different subtarget image generation to separate makefiles to improve...
John Crispin [Fri, 1 Apr 2016 07:11:48 +0000 (07:11 +0000)]
ramips: move different subtarget image generation to separate makefiles to improve maintainability

- all subtarget specific defines are in their own files
- common defines left in main Makefile
- each subtarget makefile idefed with SUBTARGET
- all subtargets compile tested
- few seems to be broken/unneeded things marked with FIXME

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49104

8 years agobrcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3
John Crispin [Fri, 1 Apr 2016 07:11:43 +0000 (07:11 +0000)]
brcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 49103

8 years agobrcmfmac43430-firmware: add new package
John Crispin [Fri, 1 Apr 2016 07:11:39 +0000 (07:11 +0000)]
brcmfmac43430-firmware: add new package

This adds the firmware needed for the BCM43438 included in Raspberry Pi 3.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 49102

8 years agoar71xx: WNR2200: enable control of all LEDs and buttons
John Crispin [Fri, 1 Apr 2016 07:11:34 +0000 (07:11 +0000)]
ar71xx: WNR2200: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR2200 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49101

8 years agoar71xx: WNR2200: fix for random WLAN MAC
John Crispin [Fri, 1 Apr 2016 07:11:27 +0000 (07:11 +0000)]
ar71xx: WNR2200: fix for random WLAN MAC

Fix for invalid/random/duplicate WLAN MAC address in WNR2200.
Permanent platform MAC is calculated and assigned during system startup.
WLAN MAC follows wired Ethernet interface addresses.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49100

8 years agoar71xx: Add TL-WR841N/ND v11 support
John Crispin [Fri, 1 Apr 2016 07:11:23 +0000 (07:11 +0000)]
ar71xx: Add TL-WR841N/ND v11 support

This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is
similar to the already supported v10 - see [1]. I have added support
based on that topic; in the meantime it has been confirmed working
(see the forum thread, and also [2]).

Signed-off by Stijn Segers <francesco.borromini@inventati.org>

[1]: https://forum.openwrt.org/viewtopic.php?id=61309
[2]: https://forum.openwrt.org/viewtopic.php?id=63657

SVN-Revision: 49099

8 years agomediatek: update patches
John Crispin [Fri, 1 Apr 2016 07:11:18 +0000 (07:11 +0000)]
mediatek: update patches

add fixes for
* ethernet
* cpufreq
* nand
* a7-timer

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 49098

8 years agokernel: update kernel 3.18 to version 3.18.29
Rafał Miłecki [Wed, 30 Mar 2016 16:41:26 +0000 (16:41 +0000)]
kernel: update kernel 3.18 to version 3.18.29

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49096

8 years agobcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094
Rafał Miłecki [Wed, 30 Mar 2016 12:26:24 +0000 (12:26 +0000)]
bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49094

8 years agobcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094
Rafał Miłecki [Wed, 30 Mar 2016 10:23:02 +0000 (10:23 +0000)]
bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49091

8 years agobcm53xx: simpify USB 3.0 PHY initialization
Rafał Miłecki [Wed, 30 Mar 2016 10:22:57 +0000 (10:22 +0000)]
bcm53xx: simpify USB 3.0 PHY initialization

We can use one code path for BCM4707 rev. 4 and BCM53018.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49090

8 years agopackage: uboot-sunxi: various changes - bump to 2016.03 - add bugfixes related to...
Zoltan Herpai [Tue, 29 Mar 2016 11:42:14 +0000 (11:42 +0000)]
package: uboot-sunxi: various changes - bump to 2016.03 - add bugfixes related to 2016.03 update - sync DTS files with mainline - add support for non-standard uEnv.txt - add initial support for Theobroma A31-yQ7 devboard

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 49089

8 years agouboot-mvebu: add package
Luka Perkov [Fri, 25 Mar 2016 12:07:03 +0000 (12:07 +0000)]
uboot-mvebu: add package

Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
SVN-Revision: 49088

8 years agoar71xx: cosmetic fix of alfa ap120c/ap96 ordering
Luka Perkov [Thu, 24 Mar 2016 21:09:34 +0000 (21:09 +0000)]
ar71xx: cosmetic fix of alfa ap120c/ap96 ordering

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49086

8 years agouboot-envtools: add support for ap120c
Luka Perkov [Wed, 23 Mar 2016 22:31:41 +0000 (22:31 +0000)]
uboot-envtools: add support for ap120c

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49083

8 years agoar71xx: add support for ap120c
Luka Perkov [Wed, 23 Mar 2016 22:31:38 +0000 (22:31 +0000)]
ar71xx: add support for ap120c

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 49082

8 years agoar71xx: migrate tplink cpe510 to new build steps
John Crispin [Wed, 23 Mar 2016 12:52:50 +0000 (12:52 +0000)]
ar71xx: migrate tplink cpe510 to new build steps

cpe510: Tested sysupgrade and initramfs.
Untested: webIf w/ factory.bin & recovery.bin

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49081

8 years agoar71xx/image: allow builds of loader without cmdline injecting
John Crispin [Wed, 23 Mar 2016 12:52:47 +0000 (12:52 +0000)]
ar71xx/image: allow builds of loader without cmdline injecting

On most platforms the cmdline is supplied by the loader to the kernel.
When using an elf loader with cmdline the size is bloated by 512k.
For loader-elf platforms like the cpe510 better use loader-elf but patch
the cmdline into the kernel.

wdr1043: Tested loader still works using sysupgade image.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49080

8 years agoar71xx/image: introduce LOADER_TYPE to support elf loaders
John Crispin [Wed, 23 Mar 2016 12:52:44 +0000 (12:52 +0000)]
ar71xx/image: introduce LOADER_TYPE to support elf loaders

The loader decompress a lzma compressed kernel. Some bootloaders
only support elf files like the tplink cpe510

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49079

8 years agouboot-zynq: Update to U-Boot 2016.03 release
John Crispin [Wed, 23 Mar 2016 12:52:41 +0000 (12:52 +0000)]
uboot-zynq: Update to U-Boot 2016.03 release

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49078

8 years agozynq: Simplify boot-img build
John Crispin [Wed, 23 Mar 2016 12:52:38 +0000 (12:52 +0000)]
zynq: Simplify boot-img build

by adding Device/DefaultConfig macro to define the dts and device in
lower case.

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49077

8 years agoar71xx: WNR1000v2: enable control of all LEDs and buttons
John Crispin [Wed, 23 Mar 2016 12:52:35 +0000 (12:52 +0000)]
ar71xx: WNR1000v2: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR1000v2 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49076

8 years agoar71xx: Add QCA955X GPIO mux and function definitions
John Crispin [Wed, 23 Mar 2016 12:52:31 +0000 (12:52 +0000)]
ar71xx: Add QCA955X GPIO mux and function definitions

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49075

8 years agoar71xx: Add support for ath79_gpio_function_* on QCA955X
John Crispin [Wed, 23 Mar 2016 12:52:27 +0000 (12:52 +0000)]
ar71xx: Add support for ath79_gpio_function_* on QCA955X

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49074