openwrt/svn-archive/archive.git
8 years agoCC: broadcom-wl: fix bash comparison error
Hauke Mehrtens [Sat, 29 Aug 2015 17:40:11 +0000 (17:40 +0000)]
CC: broadcom-wl: fix bash comparison error
Backport of r46746

This fixes #17495

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46748

8 years agoCC: broadcom-wl: fix section mismatches in broadcom-wl driver
Hauke Mehrtens [Sat, 29 Aug 2015 17:39:36 +0000 (17:39 +0000)]
CC: broadcom-wl: fix section mismatches in broadcom-wl driver
Backport of r46745

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

8 years agobrcm47xx: fix Linksys E1200 V2 image filename
Rafał Miłecki [Sat, 29 Aug 2015 09:28:31 +0000 (09:28 +0000)]
brcm47xx: fix Linksys E1200 V2 image filename

Drop unwanted suffix (copy & paste mistake).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46742

SVN-Revision: 46743

8 years agomac80211: add pending brcmfmac patch fixing warm reboots
Rafał Miłecki [Thu, 27 Aug 2015 14:58:00 +0000 (14:58 +0000)]
mac80211: add pending brcmfmac patch fixing warm reboots

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46739

SVN-Revision: 46740

8 years agomac80211: update brcmfmac to the latest version
Rafał Miłecki [Wed, 26 Aug 2015 22:57:54 +0000 (22:57 +0000)]
mac80211: update brcmfmac to the latest version

This also adds one patchset of pending changes that fix support for
multiple interfaces. It was somehow broken.
Driver couldn't correctly match firmware and system interfaces resulting
in not working APs and WARNINGs.

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

8 years agomac80211: group last brcmfmac changes into (half) patchset
Rafał Miłecki [Wed, 26 Aug 2015 22:57:29 +0000 (22:57 +0000)]
mac80211: group last brcmfmac changes into (half) patchset

This prepares some place for backporting extra patches.

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

8 years agobcm53xx: add support for Netgear R7000
Rafał Miłecki [Wed, 26 Aug 2015 16:20:39 +0000 (16:20 +0000)]
bcm53xx: add support for Netgear R7000

Backport of r46363 r46730 r46731 r46732.

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

8 years agoCC: brcm63xx: fix WAP-5813n default network config
Jonas Gorski [Wed, 26 Aug 2015 13:04:13 +0000 (13:04 +0000)]
CC: brcm63xx: fix WAP-5813n default network config
/etc/uci-defaults/02_network had a typo, making it generate the wrong
network config.

Closes #20407.

Backport of r46727.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46728

8 years agoCC: mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
Jonas Gorski [Sun, 23 Aug 2015 13:37:42 +0000 (13:37 +0000)]
CC: mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
Properly treat -ENOSYS as no PHY, else ehci-orion won't work without
generic phy support.

Backport of r46711.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46712

8 years agoCC: mac80211: disable ipw2x00 for big endian targets
Jonas Gorski [Sun, 23 Aug 2015 09:41:27 +0000 (09:41 +0000)]
CC: mac80211: disable ipw2x00 for big endian targets
The ipw2x00 drivers assume that the system they are running is little
endian, and access everything in native byte order. When run on a big
endian system, everything breaks apart.

Since fixing this is non trivial on a first glance, disable them for
big endian targets.

Backport of r46708.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46710

8 years agoCC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
Jonas Gorski [Sun, 23 Aug 2015 09:41:07 +0000 (09:41 +0000)]
CC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
Some CFEs seem to misconfigure the mapped memory flash access with
fast read but without a dummy byte, causing all accesses to be prefixed
with 0xff.
This of course breaks reading out the nvram, so do not just move back to
single i/o accessors, but also ensure that the dummy byte is correctly
set.

Backport of r46707.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46709

8 years agomvebu: fix cobra chainmask (backport of r46697)
Imre Kaloz [Fri, 21 Aug 2015 08:06:07 +0000 (08:06 +0000)]
mvebu: fix cobra chainmask (backport of r46697)

Thanks Sebastian for spotting it.

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

8 years agomwlwifi: downgrade to 10.3.0.3-20150804
Imre Kaloz [Thu, 20 Aug 2015 20:45:16 +0000 (20:45 +0000)]
mwlwifi: downgrade to 10.3.0.3-20150804

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

8 years agomwlwifi: fix commit hash for 10.3.0.8
Imre Kaloz [Wed, 19 Aug 2015 08:44:26 +0000 (08:44 +0000)]
mwlwifi: fix commit hash for 10.3.0.8

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

8 years agomvebu: add support for the Linksys boot counter (backport of r46690)
Imre Kaloz [Wed, 19 Aug 2015 08:35:41 +0000 (08:35 +0000)]
mvebu: add support for the Linksys boot counter (backport of r46690)

The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46691

8 years agouhttpd: we don't know where the device is located, so reflect that in the cert
Imre Kaloz [Wed, 19 Aug 2015 08:21:20 +0000 (08:21 +0000)]
uhttpd: we don't know where the device is located, so reflect that in the cert

backport of r46688

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

8 years agomwlwifi: upgrade to 10.3.0.8-20150818
Imre Kaloz [Tue, 18 Aug 2015 11:20:59 +0000 (11:20 +0000)]
mwlwifi: upgrade to 10.3.0.8-20150818

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

8 years agoxz: update to version 5.2.1
Hauke Mehrtens [Mon, 17 Aug 2015 19:23:34 +0000 (19:23 +0000)]
xz: update to version 5.2.1

Backport of 46603.

This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix #20134.

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

8 years agoCC: kernel: update 3.18 to 3.18.20
Hauke Mehrtens [Mon, 17 Aug 2015 19:01:16 +0000 (19:01 +0000)]
CC: kernel: update 3.18 to 3.18.20
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20

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

8 years agoprocd: fix seccomp build on some architectures
Hauke Mehrtens [Mon, 17 Aug 2015 18:59:00 +0000 (18:59 +0000)]
procd: fix seccomp build on some architectures

Backport of r46612.

fix generating syscall-names.h

Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.

For example the bit/syscall.h from musl for i386 has this:

  #define __NR_timer_create     259
  #define __NR_timer_settime    (__NR_timer_create+1)

With this patch the resulting array looks like this:

 [259] = "timer_create",
 [(__NR_timer_create+1)] = "timer_settime",

This closes #20195.

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

8 years agoCC: uhttpd: pass X-HTTP-Method-Override header to cgi scripts
Jo-Philipp Wich [Mon, 17 Aug 2015 16:41:53 +0000 (16:41 +0000)]
CC: uhttpd: pass X-HTTP-Method-Override header to cgi scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46677

SVN-Revision: 46678

8 years agougps: update to latest git HEAD
John Crispin [Mon, 17 Aug 2015 13:19:01 +0000 (13:19 +0000)]
ugps: update to latest git HEAD

fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r46666

SVN-Revision: 46675

8 years agoar71xx: Add support for Black Swift
John Crispin [Mon, 17 Aug 2015 13:18:56 +0000 (13:18 +0000)]
ar71xx: Add support for Black Swift

Add support for the Black Swift board:
http://www.black-swift.com/

Took relevant parts and slightly adapted from:
https://github.com/blackswift/openwrt/blob/master/bsb.patch

Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 46674

8 years agoar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.
John Crispin [Mon, 17 Aug 2015 13:18:50 +0000 (13:18 +0000)]
ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.

Kinda-backport of r46415, though this patch uses the old-style calibration data loading.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46673

8 years agoimage: fix handling of per-device kernel build commands
Felix Fietkau [Thu, 13 Aug 2015 19:35:29 +0000 (19:35 +0000)]
image: fix handling of per-device kernel build commands

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46589

SVN-Revision: 46591

8 years agoimage: fix device variable exports for initramfs images
Felix Fietkau [Thu, 13 Aug 2015 19:35:26 +0000 (19:35 +0000)]
image: fix device variable exports for initramfs images

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46496

SVN-Revision: 46590

8 years agobcm53xx: add workaround for Netgear R8000 network
Rafał Miłecki [Wed, 12 Aug 2015 15:26:18 +0000 (15:26 +0000)]
bcm53xx: add workaround for Netgear R8000 network

According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

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

8 years agobrcm47xx: fix reading WGT634U CFE variables
Rafał Miłecki [Wed, 12 Aug 2015 13:30:34 +0000 (13:30 +0000)]
brcm47xx: fix reading WGT634U CFE variables

We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46584

SVN-Revision: 46585

8 years agobase-files: buttons: make power script return 0
Rafał Miłecki [Wed, 12 Aug 2015 00:58:41 +0000 (00:58 +0000)]
base-files: buttons: make power script return 0

It was missed in the r46471.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46582

SVN-Revision: 46583

8 years agobuttons: make all button handler scripts return 0
Rafał Miłecki [Mon, 10 Aug 2015 23:58:15 +0000 (23:58 +0000)]
buttons: make all button handler scripts return 0

this is required by the new button timeout feature

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r46471

SVN-Revision: 46581

8 years agoprocd: update to the latest version, add "button" hotplug handler
Rafał Miłecki [Mon, 10 Aug 2015 22:29:46 +0000 (22:29 +0000)]
procd: update to the latest version, add "button" hotplug handler

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
In 15.05-rc2 we got support for "set-interval" and "clear-interval"
which got dropped with the update of procd done in r46257. This new
"button" action provides similar functionality so it makes sense to
backport it to 15.05.

Backport of r46578

SVN-Revision: 46579

8 years agoCC: kernel: crypto: fix module loading of aead.ko
Hauke Mehrtens [Sun, 9 Aug 2015 17:19:00 +0000 (17:19 +0000)]
CC: kernel: crypto: fix module loading of aead.ko
The name of the module was wrong before.

This should fix #20283.

backport of r46574.

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

8 years agoar71xx: use automatic firmware partition splitting for devolo dLAN devices
John Crispin [Mon, 3 Aug 2015 10:22:38 +0000 (10:22 +0000)]
ar71xx: use automatic firmware partition splitting for devolo dLAN devices

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
Backport of r46414

SVN-Revision: 46549

8 years agoar71xx: Backport support for Onion Omega
John Crispin [Mon, 3 Aug 2015 10:22:33 +0000 (10:22 +0000)]
ar71xx: Backport support for Onion Omega

Backport of r46458 to CC

https://onion.io/omega

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Boken Lin <bl@onion.io>
Tested-by: Jacky Huang <huangfangcheng@163.com>
SVN-Revision: 46548

8 years agoramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500
Felix Fietkau [Sun, 2 Aug 2015 15:08:27 +0000 (15:08 +0000)]
ramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500

This patch fixes weak radio signal reported by nikola.georgiev

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Backport of r46545

SVN-Revision: 46546

8 years agoar71xx: fix mr3220 device profile (#19990)
Felix Fietkau [Sat, 1 Aug 2015 15:52:54 +0000 (15:52 +0000)]
ar71xx: fix mr3220 device profile (#19990)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46541

SVN-Revision: 46542

8 years agosunxi: CC: fix networking on Olimex A20 Micro
Zoltan Herpai [Fri, 31 Jul 2015 19:57:10 +0000 (19:57 +0000)]
sunxi: CC: fix networking on Olimex A20 Micro

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

8 years agomvebu: update dts files for mamba / WRT1900AC (backport of r46530)
Imre Kaloz [Fri, 31 Jul 2015 18:25:03 +0000 (18:25 +0000)]
mvebu: update dts files for mamba / WRT1900AC (backport of r46530)

Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
SVN-Revision: 46531

8 years agomvebu: fix gpio config on the WRT1200AC (backport of r46527)
Imre Kaloz [Fri, 31 Jul 2015 18:08:51 +0000 (18:08 +0000)]
mvebu: fix gpio config on the WRT1200AC (backport of r46527)

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

8 years agomwlwifi: upgrade to latest rev with fixed firmware (backport of r46520)
Imre Kaloz [Thu, 30 Jul 2015 06:41:43 +0000 (06:41 +0000)]
mwlwifi: upgrade to latest rev with fixed firmware (backport of r46520)

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

8 years agoCC: sdk: provide explicit CONFIG_MODULES kconfig symbol
Jo-Philipp Wich [Mon, 27 Jul 2015 23:49:48 +0000 (23:49 +0000)]
CC: sdk: provide explicit CONFIG_MODULES kconfig symbol
Extend the SDK Config.in file to explicitely declare a MODULES symbol with
the "option modules" flag set in order to prevent a kconfig segmentation fault
whenever a "depends m" dependency is encountered.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46514

SVN-Revision: 46515

8 years agoCC: dnsmasq: add some missing files to the jail
Jo-Philipp Wich [Mon, 27 Jul 2015 11:49:48 +0000 (11:49 +0000)]
CC: dnsmasq: add some missing files to the jail
found with strace, not sure we got all of them though

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46467

SVN-Revision: 46511

8 years agoCC: base-files: fix /tmp/.jail permissions
Jo-Philipp Wich [Mon, 27 Jul 2015 11:49:43 +0000 (11:49 +0000)]
CC: base-files: fix /tmp/.jail permissions
We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)

This partly fixes jailed dnsmasq

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46466

SVN-Revision: 46510

8 years agoCC: procd: update to latest git HEAD
Jo-Philipp Wich [Mon, 27 Jul 2015 11:49:39 +0000 (11:49 +0000)]
CC: procd: update to latest git HEAD
fixes http://patchwork.ozlabs.org/patch/497899/

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r46465

SVN-Revision: 46509

8 years agofirewall: fix typo in ESP rule
Steven Barth [Mon, 27 Jul 2015 11:48:00 +0000 (11:48 +0000)]
firewall: fix typo in ESP rule

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46508

8 years agofirewall: comply with REC-22, REC-24 of RFC 6092
Steven Barth [Mon, 27 Jul 2015 11:47:56 +0000 (11:47 +0000)]
firewall: comply with REC-22, REC-24 of RFC 6092

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46507

8 years agoramips: swap radio calibration data pointers for DIR-860L
Felix Fietkau [Sun, 26 Jul 2015 13:02:37 +0000 (13:02 +0000)]
ramips: swap radio calibration data pointers for DIR-860L

Fixes low 5 GHz tx power issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46497

SVN-Revision: 46499

8 years agotools: drop circular dependency between patch and ccache, build patch without ccache...
Felix Fietkau [Sun, 26 Jul 2015 13:02:35 +0000 (13:02 +0000)]
tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46434

SVN-Revision: 46498

8 years agoCC: ar71xx: EPG5000 requires ATH79_NVRAM
Hauke Mehrtens [Sat, 25 Jul 2015 13:54:15 +0000 (13:54 +0000)]
CC: ar71xx: EPG5000 requires ATH79_NVRAM
EPG5000 uses ath79 nvram functions, but does not select it. This breaks
build if no other board support enabling nvram support is selected.

Closes #19952.

Backport of r46190.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46494

8 years agoCC: kernel: update 3.18 to 3.18.19
Jonas Gorski [Sat, 25 Jul 2015 10:02:47 +0000 (10:02 +0000)]
CC: kernel: update 3.18 to 3.18.19
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19

Backport of r46439.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46487

8 years agoCC: brcm63xx: HG553 buttons support
Jonas Gorski [Sat, 25 Jul 2015 10:02:44 +0000 (10:02 +0000)]
CC: brcm63xx: HG553 buttons support
This patch adds buttons support for Huawei EchoLife HG553.

Backport of r46388.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46486

8 years agoCC: ar71xx: add LED defaults for the EnGenius EPG5000
John Crispin [Fri, 24 Jul 2015 08:58:57 +0000 (08:58 +0000)]
CC: ar71xx: add LED defaults for the EnGenius EPG5000
NB that wlan5g is phy0tpt and wlan2g phy1tpt.

Backport of r46226.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46450

8 years agoCC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
John Crispin [Fri, 24 Jul 2015 08:58:45 +0000 (08:58 +0000)]
CC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
The designated blue WAN port on both devices has index 5, not 1.

Backport of r46227.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46449

8 years agoCC: ar71xx: add profile and build image for EnGenius EPG5000.
John Crispin [Fri, 24 Jul 2015 08:58:40 +0000 (08:58 +0000)]
CC: ar71xx: add profile and build image for EnGenius EPG5000.
Backport of r46049.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46448

8 years agoCC: ar71xx: add user-space support for EnGenius EPG5000.
John Crispin [Fri, 24 Jul 2015 08:58:33 +0000 (08:58 +0000)]
CC: ar71xx: add user-space support for EnGenius EPG5000.
Backport of r46048.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46447

8 years agoCC: ar71xx: add kernel support for EnGenius EPG5000.
John Crispin [Fri, 24 Jul 2015 08:58:27 +0000 (08:58 +0000)]
CC: ar71xx: add kernel support for EnGenius EPG5000.
Backport of r46047.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46446

8 years agov3: CC : ar71xx: Backport Support for the Bitmain Antminer S3
John Crispin [Fri, 24 Jul 2015 08:58:20 +0000 (08:58 +0000)]
v3: CC : ar71xx: Backport Support for the Bitmain Antminer S3

Backport of r46236 to CC : add support for the Bitmain Antminer S3

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 46445

8 years agoar71xx: add support for the devolo dLAN pro 1200+ WiFi ac
John Crispin [Fri, 24 Jul 2015 08:58:12 +0000 (08:58 +0000)]
ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

Backport of r46342

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46444

8 years agomac80211: make ath10k firmware v2 selectable
John Crispin [Fri, 24 Jul 2015 08:58:07 +0000 (08:58 +0000)]
mac80211: make ath10k firmware v2 selectable

Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.

Backport of r46340

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46443

8 years agoar71xx: add support for the devolo dLAN pro 500 Wireless+
John Crispin [Fri, 24 Jul 2015 08:58:03 +0000 (08:58 +0000)]
ar71xx: add support for the devolo dLAN pro 500 Wireless+

Backport of r46338

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46442

8 years agoat91: add Device Tree based board detection
Florian Fainelli [Sat, 18 Jul 2015 22:36:18 +0000 (22:36 +0000)]
at91: add Device Tree based board detection

Set up eth0 as LAN interface by default.

Backport of r46174

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 46419

8 years agoat91: sama5d3: enable USB2 by default
Florian Fainelli [Sat, 18 Jul 2015 22:35:36 +0000 (22:35 +0000)]
at91: sama5d3: enable USB2 by default

Backport of r46173

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 46418

8 years agokernel: fix OHCI and EHCI modules for AT91
Florian Fainelli [Sat, 18 Jul 2015 22:34:58 +0000 (22:34 +0000)]
kernel: fix OHCI and EHCI modules for AT91

We were not copying the additional files needed to get USB to work on
the AT91 platforms, make sure we do this.

Backport of r46172

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 46417

8 years agoat91: enable Micrel PHY driver
Florian Fainelli [Sat, 18 Jul 2015 22:33:08 +0000 (22:33 +0000)]
at91: enable Micrel PHY driver

The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.

Backport of r46171

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 46416

8 years agomt76: backport rx buffer allocation fix from r46409
Felix Fietkau [Sat, 18 Jul 2015 16:56:28 +0000 (16:56 +0000)]
mt76: backport rx buffer allocation fix from r46409

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46412

8 years agoramips: enable mt76 by default for mt7621
Felix Fietkau [Sat, 18 Jul 2015 16:56:25 +0000 (16:56 +0000)]
ramips: enable mt76 by default for mt7621

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46410

SVN-Revision: 46411

8 years agoCC: toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Jo-Philipp Wich [Fri, 17 Jul 2015 11:37:47 +0000 (11:37 +0000)]
CC: toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46394

SVN-Revision: 46395

8 years agoubox: update to latest git HEAD
Rafał Miłecki [Tue, 14 Jul 2015 10:32:51 +0000 (10:32 +0000)]
ubox: update to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
This adds support for filtering messages
Backport of r46356

SVN-Revision: 46365

8 years agoodhcp6c: fix some more compatibility issues
Steven Barth [Mon, 13 Jul 2015 21:52:25 +0000 (21:52 +0000)]
odhcp6c: fix some more compatibility issues

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46337

8 years agoodhcp6c: work-around more ISP DHCPv6-PD issues
Steven Barth [Mon, 13 Jul 2015 21:52:14 +0000 (21:52 +0000)]
odhcp6c: work-around more ISP DHCPv6-PD issues

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46336

8 years agoCC: curl: fix some security vulnerabilities
Hauke Mehrtens [Sun, 12 Jul 2015 16:03:51 +0000 (16:03 +0000)]
CC: curl: fix some security vulnerabilities
This fixes the following security vulnerabilities in curl:
* CVE-2015-3143
* CVE-2015-3144
* CVE-2015-3145
* CVE-2015-3148
* CVE-2015-3153
* CVE-2015-3236
* CVE-2015-3237

This was fixed in trunk with update to version 7.43.0 in r46169.

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

8 years agoCC: kernel: fix loading bluetooth_6lowpan
Hauke Mehrtens [Sun, 12 Jul 2015 16:03:09 +0000 (16:03 +0000)]
CC: kernel: fix loading bluetooth_6lowpan
Backprot of r46179

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

8 years agoCC: kernel: add missing config option
Hauke Mehrtens [Sun, 12 Jul 2015 16:02:47 +0000 (16:02 +0000)]
CC: kernel: add missing config option
This should fix build of sunxi.

Backport of r46304

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

8 years agoCC: kernel: update 3.18 to 3.18.18
Hauke Mehrtens [Sun, 12 Jul 2015 16:02:34 +0000 (16:02 +0000)]
CC: kernel: update 3.18 to 3.18.18
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18

Backport of r46299, r46303 and r46308.

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

8 years agoebtables: remove partially broken musl fix
Felix Fietkau [Fri, 10 Jul 2015 11:37:36 +0000 (11:37 +0000)]
ebtables: remove partially broken musl fix

See http://patchwork.ozlabs.org/patch/493573/ for more information

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46293

8 years agotoolchain: mark musl as broken for the chaos_calmer branch
Felix Fietkau [Fri, 10 Jul 2015 11:28:44 +0000 (11:28 +0000)]
toolchain: mark musl as broken for the chaos_calmer branch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46291

8 years agomac80211: add brcmfmac patch fixing user space picked MACs
Rafał Miłecki [Thu, 9 Jul 2015 18:23:41 +0000 (18:23 +0000)]
mac80211: add brcmfmac patch fixing user space picked MACs

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46288

SVN-Revision: 46290

8 years agomac80211: try to workaround some brcmfmac bug with handling interfaces
Rafał Miłecki [Thu, 9 Jul 2015 18:23:35 +0000 (18:23 +0000)]
mac80211: try to workaround some brcmfmac bug with handling interfaces

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46278

SVN-Revision: 46289

8 years agoCC: openssl: update to v1.0.2d (CVE-2015-1793)
Jo-Philipp Wich [Thu, 9 Jul 2015 13:15:19 +0000 (13:15 +0000)]
CC: openssl: update to v1.0.2d (CVE-2015-1793)
During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
attempt to build such a chain fails. An error in the implementation of this
logic can mean that an attacker could cause certain checks on untrusted
certificates to be bypassed, such as the CA flag, enabling them to use a valid
leaf certificate to act as a CA and "issue" an invalid certificate.

This issue will impact any application that verifies certificates including
SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46285

SVN-Revision: 46286

8 years agox86/xen_domu: enable image generation
John Crispin [Thu, 9 Jul 2015 05:29:25 +0000 (05:29 +0000)]
x86/xen_domu: enable image generation

Add features ext4 targz to target x86/xen_domu in order to
generate images in defconfig.

This fixes #18074.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Backport of r46233

SVN-Revision: 46277

8 years agonvram: get rid of NVRAM_SPACE
Rafał Miłecki [Wed, 8 Jul 2015 06:06:07 +0000 (06:06 +0000)]
nvram: get rid of NVRAM_SPACE

Now we support NVRAM whatever its size is.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46262

SVN-Revision: 46263

8 years agonvram: fix displayed info about NVRAM size
Rafał Miłecki [Wed, 8 Jul 2015 05:45:09 +0000 (05:45 +0000)]
nvram: fix displayed info about NVRAM size

Use actual partition size and content offset to calculate it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46260

SVN-Revision: 46261

8 years agoRevert "Revert "nvram: increase NVRAM size to 64 KiB""
Rafał Miłecki [Wed, 8 Jul 2015 04:55:10 +0000 (04:55 +0000)]
Revert "Revert "nvram: increase NVRAM size to 64 KiB""

This reverts commit r45579.

With the latest change r46251 ("nvram: fix "Segmentation fault" caused
by setting memory out of buffer") nvram utility shouldn't crash anymore.

It was tested on 3 brcm47xx devices:
1) Unknown with 0x10000 NVRAM size (0x8000 offset)
2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset)
3) Linksys WRT300N V1 with 0x10000 (0x8000 offset)

And 3 bcm53xx devices:
1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size
2) Buffalo WZR-1750DHP with 0x10000 NVRAM size
3) Netgear R6250 V1 with 0x180000 NVRAM size
(all using 0 offset)

This is an important change as it allows reading whole NVRAM. This may
critical when reading some basic configuration (e.g. switch ports).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46253

SVN-Revision: 46259

8 years agonvram: fix "Segmentation fault" caused by setting memory out of buffer
Rafał Miłecki [Wed, 8 Jul 2015 04:55:04 +0000 (04:55 +0000)]
nvram: fix "Segmentation fault" caused by setting memory out of buffer

Some MTD partitions with NVRAM have content starting in the middle. In
such case offset is set and nvram_header returns pointer to the middle.
It means we have to respect offset when calculating remaining space.

By the way use real MTD partition size (nvram_part_size variable) as we
may want to bump NVRAM_SPACE in the (very near) future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46251

SVN-Revision: 46258

8 years agoprocd: update to the latest version, fix stdout logging
Rafał Miłecki [Wed, 8 Jul 2015 04:54:57 +0000 (04:54 +0000)]
procd: update to the latest version, fix stdout logging

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46212

SVN-Revision: 46257

8 years agoar71xx: fix kernel Oops in at803x_link_change_notify
Felix Fietkau [Tue, 7 Jul 2015 21:52:29 +0000 (21:52 +0000)]
ar71xx: fix kernel Oops in at803x_link_change_notify

r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range
extender") introduced a pdata based modification of the tx_clk_dly. But it
was not checked if pdata actually existed. This caused a page fault on all
devices which didn't have at803x_platform_data specified for an at803x
based device.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Backport of r46200

SVN-Revision: 46252

8 years agoscripts/feeds: observe -p flag for preferential feeds
Steven Barth [Tue, 7 Jul 2015 11:30:39 +0000 (11:30 +0000)]
scripts/feeds: observe -p flag for preferential feeds

lookup_target was trampling the $feed variable, resulting in the -p flag
no longer preferentially installing from the named feed.

Make sure to use a local variable for this instead.

Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 46213

8 years agoCC: kernel: kmod-scsi-core: fix load on install
Jonas Gorski [Sat, 4 Jul 2015 12:53:57 +0000 (12:53 +0000)]
CC: kernel: kmod-scsi-core: fix load on install
sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

Backport of r46176.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46177

8 years agoCC: uclibc++: make g++-uc* wrappers relocatable
Jo-Philipp Wich [Fri, 3 Jul 2015 13:38:12 +0000 (13:38 +0000)]
CC: uclibc++: make g++-uc* wrappers relocatable
The g++-uc wrapper hardcodes $(STAGING_DIR) and $(TOOLCHAIN_DIR) paths which
will not work outside of the original build environment.

Replace the hardcoded staging_dir occurences with paths relative to the
$STAGING_DIR environment variable to make the g++-uc* wrappers usable in an
SDK environment.

Fixes the libdb47 build failure reported at
  https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032455.html

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46162

SVN-Revision: 46163

8 years agoath9k: make DMA stop related messages debug-only (#11862, #9654)
Felix Fietkau [Thu, 2 Jul 2015 11:45:39 +0000 (11:45 +0000)]
ath9k: make DMA stop related messages debug-only (#11862, #9654)

A long time ago, ath9k had issues during reset where the DMA engine
would stay active and could potentially corrupt memory.
To debug those issues, the driver would print warnings whenever they
occur.

Nowadays, these issues are gone and the primary cause of these messages
is if the MAC is stuck during reset or busy processing a long
transmission. This is fairly harmless, yet these messages continue to
worry users.

To reduce the number of bogus bug reports, turn these messages into
debug messages and count their occurence in the "reset" debugfs file.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46158

SVN-Revision: 46159

8 years agomdns: fix ubus wait_for command
Felix Fietkau [Thu, 2 Jul 2015 11:26:28 +0000 (11:26 +0000)]
mdns: fix ubus wait_for command

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46156

SVN-Revision: 46157

8 years agoCC: kernel: update 3.18 to 3.18.17
Jonas Gorski [Wed, 1 Jul 2015 00:32:10 +0000 (00:32 +0000)]
CC: kernel: update 3.18 to 3.18.17
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17

Backport of r46150.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46155

8 years agoCC: brcm63xx: swap a4001n power leds again
Jonas Gorski [Wed, 1 Jul 2015 00:32:03 +0000 (00:32 +0000)]
CC: brcm63xx: swap a4001n power leds again
This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons").

Fixes #19858.

Backport of r46149.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46154

8 years agoCC: brcm63xx: unbreak board_probe_switch again
Jonas Gorski [Wed, 1 Jul 2015 00:32:01 +0000 (00:32 +0000)]
CC: brcm63xx: unbreak board_probe_switch again
Also move it to an earlier place so new boards added are less likely
to confuse quilt.

Fixes #19965.

Backport of r46148.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46153

8 years agoRevert "ar71xx: add profile and build image for EnGenius EPG5000."
John Crispin [Mon, 29 Jun 2015 08:24:13 +0000 (08:24 +0000)]
Revert "ar71xx: add profile and build image for EnGenius EPG5000."

This reverts commit ac3184da4138c54b8a2c1be637be7cf78fc40fce.

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

8 years agoRevert "ar71xx: add user-space support for EnGenius EPG5000."
John Crispin [Mon, 29 Jun 2015 08:24:07 +0000 (08:24 +0000)]
Revert "ar71xx: add user-space support for EnGenius EPG5000."

This reverts commit e3326c4473bc6b7b5fd899ac955af974ebc64b92.

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

8 years agoRevert "ar71xx: add kernel support for EnGenius EPG5000."
John Crispin [Mon, 29 Jun 2015 08:24:03 +0000 (08:24 +0000)]
Revert "ar71xx: add kernel support for EnGenius EPG5000."

This reverts commit 27386b74adfe868f693176f55861984432afd2ce.

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

8 years agob53: Allow using all 8 ports on BCM53011
Rafał Miłecki [Mon, 22 Jun 2015 07:59:09 +0000 (07:59 +0000)]
b53: Allow using all 8 ports on BCM53011

On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000
(BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port
5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and
usually 3 of them are connected to the SoC.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46104

SVN-Revision: 46107

8 years agobcm53xx: respect ACTIVE_LOW when powering USB using GPIO
Rafał Miłecki [Sun, 21 Jun 2015 20:08:32 +0000 (20:08 +0000)]
bcm53xx: respect ACTIVE_LOW when powering USB using GPIO

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46088

SVN-Revision: 46103

8 years agobcm53xx: enable USB power on Buffalo WZR-1750DHP
Rafał Miłecki [Sun, 21 Jun 2015 20:08:27 +0000 (20:08 +0000)]
bcm53xx: enable USB power on Buffalo WZR-1750DHP

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46087

SVN-Revision: 46102