Rafał Miłecki [Thu, 4 Feb 2016 09:23:05 +0000 (09:23 +0000)]
bcm53xx: use proper CPU port in b53 for Netgear R8500
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r48571
SVN-Revision: 48627
Felix Fietkau [Thu, 28 Jan 2016 18:26:18 +0000 (18:26 +0000)]
openssl: update to 1.0.2f (fixes CVE-2016-0701, CVE-2015-3197)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48531
SVN-Revision: 48532
John Crispin [Thu, 21 Jan 2016 14:17:54 +0000 (14:17 +0000)]
ramips: HiLink HLK-RM04 image name typo (RM02 -> RM04)
The image name for the HiLink HLK-RM04 module has a typo and should read "RM04" rather than "RM02"
Backport of r48355
Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48430
Felix Fietkau [Wed, 20 Jan 2016 20:27:08 +0000 (20:27 +0000)]
kernel: fix module load issue in the dma-buf debloat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48409
SVN-Revision: 48411
Rafał Miłecki [Wed, 20 Jan 2016 19:32:04 +0000 (19:32 +0000)]
mac80211: fix brcmfmac picking wrong channel when using 80 MHz
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48404
Felix Fietkau [Wed, 20 Jan 2016 10:32:18 +0000 (10:32 +0000)]
kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48371
SVN-Revision: 48392
Felix Fietkau [Tue, 19 Jan 2016 21:09:59 +0000 (21:09 +0000)]
kernel: fix keyring reference leak (CVE-2016-0728)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48372
SVN-Revision: 48373
Felix Fietkau [Tue, 19 Jan 2016 15:15:11 +0000 (15:15 +0000)]
kernel: disable AFS support by default
This pulls in CONFIG_KEYS, which bloats up the kernel size and is thus
very undesirable. It also currently exposes the kernel to a local root
vulnerability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48364
SVN-Revision: 48365
Felix Fietkau [Fri, 15 Jan 2016 12:59:30 +0000 (12:59 +0000)]
ar71xx: fix ethernet MAC reset on DMA hang
Fully reset the chip like on a full up/down, but without the PHY
statemachine restart.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48228
SVN-Revision: 48246
Felix Fietkau [Fri, 15 Jan 2016 12:59:26 +0000 (12:59 +0000)]
ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48227
SVN-Revision: 48245
Jo-Philipp Wich [Thu, 14 Jan 2016 14:27:23 +0000 (14:27 +0000)]
CC: base-files: use the correct path in case of modified preinit options
If the user sets any preinit options in .config, the wrong path may get
applied due to wrong default value in image-config.in and due to Makefile
writing also the unchanged options into 00_preinit.conf
Modify the default path in image-config.in to match the current default
path set by r47080. Also modify the fall-back default in Makefile.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Backport of r47590
SVN-Revision: 48238
Jo-Philipp Wich [Thu, 14 Jan 2016 14:27:20 +0000 (14:27 +0000)]
CC: base-files: sanitize and unify $PATH
Previously init and hotplug paths were different from console.
Signed-off-by: Steven Barth <steven@midlink.org>
Backport of r47080
SVN-Revision: 48237
Jo-Philipp Wich [Thu, 14 Jan 2016 13:06:36 +0000 (13:06 +0000)]
CC: procd: align early init PATH with rest of OpenWrt
Backport upstream Git commit
45cb04fd85d788a37367a5385e5e90dd98a0a991 to CC.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48236
Imre Kaloz [Tue, 12 Jan 2016 14:29:19 +0000 (14:29 +0000)]
mac80211: resync regulatory db with master-2015-12-14
backport of [48219]
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 48220
Jo-Philipp Wich [Tue, 12 Jan 2016 09:27:30 +0000 (09:27 +0000)]
CC: sdk: add base repository fallback
When the build system cannot infer its own repository url then let it fall
back to http://git.openwrt.org/ for the base feed.
The path to openwrt.git is guessed from the VERSION_NUMBER variable:
"unknown" or "r12345" -> http://git.openwrt.org/openwrt.git
"15.05.1" -> http://git.openwrt.org/15.05/openwrt.git
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r48212
SVN-Revision: 48213
Jo-Philipp Wich [Tue, 12 Jan 2016 07:54:25 +0000 (07:54 +0000)]
CC: gettext-full: make autopoint and gettextize reloctable
The autopoint and gettextize host utilities contain hardcoded staging dir
paths which need to be overridden for the SDK environment.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r48208
SVN-Revision: 48211
Jo-Philipp Wich [Tue, 12 Jan 2016 07:54:22 +0000 (07:54 +0000)]
CC: gettext-full: activate format-security checks
This patch was taken from upstream libcroco
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Backport of r47585
SVN-Revision: 48210
Jo-Philipp Wich [Tue, 12 Jan 2016 07:54:18 +0000 (07:54 +0000)]
CC: gettext-full: update to version 0.19.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Backport of r47584
SVN-Revision: 48209
Rafał Miłecki [Mon, 11 Jan 2016 22:08:35 +0000 (22:08 +0000)]
hostapd: fix disassociation with FullMAC drivers and multi-BSS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r48202
SVN-Revision: 48205
Jo-Philipp Wich [Mon, 11 Jan 2016 08:43:50 +0000 (08:43 +0000)]
CC: build: add a variable pointing to the main openwrt git repositories (useful if we want to support using a mirror later)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48117
SVN-Revision: 48197
Felix Fietkau [Sun, 10 Jan 2016 18:04:56 +0000 (18:04 +0000)]
fstools: fix off-by-one error in the version number
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48193
SVN-Revision: 48194
Felix Fietkau [Sun, 10 Jan 2016 17:37:20 +0000 (17:37 +0000)]
fstools: sync with trunk r48191
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48192
Felix Fietkau [Sun, 10 Jan 2016 17:04:09 +0000 (17:04 +0000)]
hostapd: fix post v2.4 security issues
- WPS: Fix HTTP chunked transfer encoding parser (CVE-2015-4141)
- EAP-pwd peer: Fix payload length validation for Commit and Confirm
(CVE-2015-4143)
- EAP-pwd server: Fix payload length validation for Commit and Confirm
(CVE-2015-4143)
- EAP-pwd peer: Fix Total-Length parsing for fragment reassembly
(CVE-2015-4144, CVE-2015-4145)
- EAP-pwd server: Fix Total-Length parsing for fragment reassembly
(CVE-2015-4144, CVE-2015-4145)
- EAP-pwd peer: Fix asymmetric fragmentation behavior (CVE-2015-4146)
- NFC: Fix payload length validation in NDEF record parser (CVE-2015-8041)
- WNM: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use
(CVE-2015-5310)
- EAP-pwd peer: Fix last fragment length validation (CVE-2015-5315)
- EAP-pwd server: Fix last fragment length validation (CVE-2015-5314)
- EAP-pwd peer: Fix error path for unexpected Confirm message (CVE-2015-5316)
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Backport of r48185
SVN-Revision: 48186
Rafał Miłecki [Sun, 10 Jan 2016 01:30:13 +0000 (01:30 +0000)]
mac80211: brcmfmac: add beamforming support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48168
Rafał Miłecki [Sun, 10 Jan 2016 00:19:16 +0000 (00:19 +0000)]
mac80211: brcmfmac: support dumping stations
It allows user-space fetch associated STAs and e.g. iwinfo/luci display
them.
SVN-Revision: 48167
Rafał Miłecki [Sun, 10 Jan 2016 00:19:09 +0000 (00:19 +0000)]
mac80211: brcmfmac: fix getting/setting TX power
This patches also adds BCM4366 support which may be found on some new
routers based on BCM47094 or BCM4709C0. Unfortunately firmware is still
missing for this chipset.
SVN-Revision: 48166
Rafał Miłecki [Sun, 10 Jan 2016 00:18:39 +0000 (00:18 +0000)]
kernel: backport some bcma header file definitions from wireless-testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47284
SVN-Revision: 48165
Rafał Miłecki [Sat, 9 Jan 2016 18:38:01 +0000 (18:38 +0000)]
mac80211: rename patches to use all prefixes
After last commit we got few unuset slots (prefixes). Use all available
numbers one by one to allow more backports.
This doesn't change a single patch (or order), only renames files.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48164
Rafał Miłecki [Sat, 9 Jan 2016 18:37:55 +0000 (18:37 +0000)]
mac80211: group brcmfmac patches into sets as they were sent
It doesn't change any single patch (or order), it only renames files.
This creates some place for more backports, as we were already using
398 prefix which left only 1 slot.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48163
Imre Kaloz [Fri, 8 Jan 2016 19:24:58 +0000 (19:24 +0000)]
mwlwifi: update to 10.3.0.16-
20160105 (adds DFS support)
backport of [48152]
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 48153
Rafał Miłecki [Wed, 6 Jan 2016 16:10:40 +0000 (16:10 +0000)]
kernel: make bcm47xxpart work with TRX flashed at bad block(s)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r48061
SVN-Revision: 48140
Rafał Miłecki [Wed, 6 Jan 2016 16:10:13 +0000 (16:10 +0000)]
kernel: drop bcm47xxpart patch for Xiaomi
It was never tested, most likely not working (because of le32_to_cpu)
and not upstreamed.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r48060
SVN-Revision: 48139
Felix Fietkau [Tue, 5 Jan 2016 12:20:34 +0000 (12:20 +0000)]
ramips: override features to disable mips16 support for rt288x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48137
Felix Fietkau [Tue, 5 Jan 2016 12:15:59 +0000 (12:15 +0000)]
bzip2: only build the static library for the host, fixes build errors on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48135
SVN-Revision: 48136
Felix Fietkau [Tue, 5 Jan 2016 11:01:00 +0000 (11:01 +0000)]
samba36: add three CVE patches from 2015-12-16
This is a patch for CVE-2015-5252, CVE-2015-5296 and CVE-2015-5299. A
patchset for these vulnerabilities was published on 16th December 2015.
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
Backport of r48133
SVN-Revision: 48134
John Crispin [Sun, 3 Jan 2016 18:03:27 +0000 (18:03 +0000)]
ramips: Disable all ethernet ports except port 4 on HT-TM02.
Port 4 is the only ethernet port on this router, so disable all other PHYs
in order to save power.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 48097
John Crispin [Sun, 3 Jan 2016 18:03:17 +0000 (18:03 +0000)]
ramips: Get rt3052 ethernet ports to be disabled from the device tree.
This patch allows configuring ports to be disabled in the device tree; this
saves power, since disabling ports here actually disables power to ethernet
PHYs.
Line 461 enables all ethernet ports, so line 508 is getting zero ports to be
disabled, except for port 5 in SoCs where this is not implemented as it will
be sticky disabled in register POC0. Because of this, the code will still read
the switch configuration and OR it to the device tree setting.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 48096
John Crispin [Sun, 3 Jan 2016 18:03:07 +0000 (18:03 +0000)]
ramips: Fix comment in rt3052 ethernet switch driver.
Line 461 is actually enabling all switch ports by setting the disable bits
to 0. This needs to be done because the bootloader sets all ports to disabled
by default (which is the case for at least one router based on RT5350).
So, this patch fixes the comment in line 460.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 48095
John Crispin [Sun, 3 Jan 2016 18:02:51 +0000 (18:02 +0000)]
ramips: Fix whitespace in the rt3052 switch driver.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 48094
Felix Fietkau [Sun, 3 Jan 2016 15:12:07 +0000 (15:12 +0000)]
ar71xx: fix sysupgrade for wnr2200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48005
SVN-Revision: 48093
Felix Fietkau [Sun, 3 Jan 2016 14:48:34 +0000 (14:48 +0000)]
ar71xx: fix factory images for WNR2200 (#19807)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48085
SVN-Revision: 48092
Felix Fietkau [Sun, 3 Jan 2016 14:48:28 +0000 (14:48 +0000)]
ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use MAC1 for wlan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47873
SVN-Revision: 48091
Felix Fietkau [Sun, 3 Jan 2016 14:48:20 +0000 (14:48 +0000)]
ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47871
SVN-Revision: 48090
Felix Fietkau [Sun, 3 Jan 2016 14:48:17 +0000 (14:48 +0000)]
ar71xx: another fix to wndr3700_board_detect
My last bugfix (r47538) introduced a new bug in wndr3700_board_detect
(again...).
Assigning the result of ar71xx_get_mtd_offset_size_format to the model
variable before stripping of garbage using awk will cause all NUL bytes to
be removed before awk is applied, leading to model strings like
"NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to
terminate the string.
Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk
directly.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r48075
SVN-Revision: 48089
Felix Fietkau [Sun, 3 Jan 2016 14:48:13 +0000 (14:48 +0000)]
ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)
When fixing the model string for WNDR3700v2 which contain a model string
followed by 0xff in r46455, the match for other versions of the WNDR3700v2
which just contain lots of 0xff broke (as the 0xff $model is checked for
is stripped off).
Fix by stripping off non-printable characters only for the actual output
string, but not for the internal matching.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r47538
SVN-Revision: 48088
Felix Fietkau [Sun, 3 Jan 2016 14:48:06 +0000 (14:48 +0000)]
ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2
There are a few NETGEAR devices which don't terminate the model name in the
ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk
expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of
trailing 0xFF garbage in this case.
Fix this by matching for the first non-printable character and explicitly
setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will
definitely work like this, even when awk supports locales and LANG is set).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r46455
SVN-Revision: 48087
John Crispin [Sun, 3 Jan 2016 14:47:47 +0000 (14:47 +0000)]
lantiq: disable SW_PORTMAP usage in the ethernet driver
using the special tag in this way lead to port mirroring for certain types of traffic.
fallback to using th PMAC_EWAN register for the wan portmap.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 48086
Rafał Miłecki [Sat, 2 Jan 2016 22:15:40 +0000 (22:15 +0000)]
ledtrig-netdev: don't stop timer on events for different interfaces
This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r48072
SVN-Revision: 48074
Rafał Miłecki [Sat, 2 Jan 2016 22:15:31 +0000 (22:15 +0000)]
ledtrig-netdev: add support for renamed devices
The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
Backport of r48048
SVN-Revision: 48073
Rafał Miłecki [Sat, 2 Jan 2016 11:15:28 +0000 (11:15 +0000)]
bcm53xx: switch to simpler devm_gpiod_get in USB driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r48062
SVN-Revision: 48063
Felix Fietkau [Fri, 1 Jan 2016 12:29:29 +0000 (12:29 +0000)]
kernel: fix duplication of sch_netem in multiple packages (#21479)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48018
SVN-Revision: 48023
Felix Fietkau [Tue, 29 Dec 2015 13:06:37 +0000 (13:06 +0000)]
netifd: update to the latest version (trunk r47897), fixes route table handling issues (among other things)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48015
Rafał Miłecki [Wed, 23 Dec 2015 17:13:04 +0000 (17:13 +0000)]
ledtrig-netdev: reset link status & stats after changing device_name
Previously switching to non-existing device (interface) could result in
leaving LED on.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47990
SVN-Revision: 47992
Rafał Miłecki [Wed, 23 Dec 2015 17:12:56 +0000 (17:12 +0000)]
ledtrig-netdev: drop locking from timer callback function
We may just delete timer on every trigger update and then start it again
if needed. This will let us avoid both: races and locking in frequently
called timer callback.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47987
SVN-Revision: 47991
Rafał Miłecki [Wed, 23 Dec 2015 15:47:41 +0000 (15:47 +0000)]
ledtrig-netdev: switch rwlock to spinlock
Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47986
SVN-Revision: 47989
Rafał Miłecki [Wed, 23 Dec 2015 15:47:29 +0000 (15:47 +0000)]
ledtrig-netdev: update base driver instead of patching it for every kernel
All supported kernels require patching ledtrig-netdev in the same way,
so it's safe to just move these changes to the base version of this
driver. We needed these patches for some old kernels 2.6.36 and 3.11.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47962
SVN-Revision: 47988
Felix Fietkau [Wed, 23 Dec 2015 11:41:51 +0000 (11:41 +0000)]
kernel: add remaining kernel patch accidentally left out of r47963
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47966
SVN-Revision: 47967
Felix Fietkau [Wed, 23 Dec 2015 11:15:22 +0000 (11:15 +0000)]
kernel: backport all current pppoe kernel fixes to 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47963
SVN-Revision: 47964
Imre Kaloz [Sun, 20 Dec 2015 12:56:14 +0000 (12:56 +0000)]
mwlwifi: upgrade to 10.3.0.15-
20151216 (backport of [47954])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47955
Felix Fietkau [Sat, 19 Dec 2015 11:29:42 +0000 (11:29 +0000)]
Revert "bzip2: extend/fix the Host/Install rule to install libbz2.so files"
This reverts r47245.
Linking to shared libraries under $STAGING_DIR_HOST{,/usr}/lib is harmful,
as these directories aren't added to LD_LIBRARY_PATH (see r47103 for an
explanation why LD_LIBRARY_PATH is not used).
Revert to static linking; in particular, this fixes the build of the python
bz2 module on OpenSUSE and Fedora (which in turn broke the build of
nodejs).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r47950
SVN-Revision: 47951
Felix Fietkau [Wed, 16 Dec 2015 08:56:10 +0000 (08:56 +0000)]
ar71xx: clean up ethernet tx queue after reset, wake queues when done - fixes hangs reported in #18922
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47892
SVN-Revision: 47895
Jo-Philipp Wich [Wed, 9 Dec 2015 15:36:22 +0000 (15:36 +0000)]
CC: mac80211: fix disabling HT in IBSS mode (#21340)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r47813
SVN-Revision: 47815
John Crispin [Wed, 9 Dec 2015 11:25:01 +0000 (11:25 +0000)]
ralink: fix audio recording
there was an incorrect usage of tx path helpers in the rx path causing the code to
run into endless sleep states
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47812
Rafał Miłecki [Mon, 7 Dec 2015 19:30:51 +0000 (19:30 +0000)]
brcm47xx: make bcm47xxpart patch apply after recent backports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47806
SVN-Revision: 47808
Rafał Miłecki [Mon, 7 Dec 2015 10:15:52 +0000 (10:15 +0000)]
kernel: add bcm47xxpart patches sent for 4.5 merge window
This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47800
SVN-Revision: 47803
Rafał Miłecki [Sun, 6 Dec 2015 09:33:51 +0000 (09:33 +0000)]
bcm53xx: fix Netgear R8000 clock
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47794
Felix Fietkau [Sat, 5 Dec 2015 15:45:43 +0000 (15:45 +0000)]
lantiq: sync spi-xway driver with trunk r47770
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47792
Felix Fietkau [Sat, 5 Dec 2015 09:57:29 +0000 (09:57 +0000)]
CC: ar71xx: backport support for TP-LINK TL-WR841N/ND v10
The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.
Backport of r47263
Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me>
SVN-Revision: 47788
Felix Fietkau [Sat, 5 Dec 2015 09:57:23 +0000 (09:57 +0000)]
CC: ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10
As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.
Backport of r47262
Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me>
SVN-Revision: 47787
Felix Fietkau [Sat, 5 Dec 2015 09:47:06 +0000 (09:47 +0000)]
CC: ramips: minor fixes for ZTB-WG2626
In backport commit r47605 the LED was named wrongly in a userspace
script.
Also remove reference to undefined pinmux group "wdt rst" causing
logline
rt2880-pinmux pinctrl: invalid group "wdt rst" for function "gpio"
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47773
Hauke Mehrtens [Thu, 3 Dec 2015 21:08:28 +0000 (21:08 +0000)]
CC: openssl: update to version 1.0.2e
backport of r47726.
This fixes the following security problems:
* CVE-2015-3193
* CVE-2015-3194
* CVE-2015-3195)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47727
Imre Kaloz [Mon, 30 Nov 2015 11:58:12 +0000 (11:58 +0000)]
mwlwifi: update to latest revision, fixes a kernel panic (backport of [47677])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47678
Imre Kaloz [Thu, 26 Nov 2015 14:09:10 +0000 (14:09 +0000)]
mwlwifi: update to latest version (backport of [47661])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47662
Felix Fietkau [Thu, 26 Nov 2015 10:39:41 +0000 (10:39 +0000)]
mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefile
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build. Setting these flags is frequently required for unusual
cross-compiles.
Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
Backport of r46424
SVN-Revision: 47651
Hauke Mehrtens [Mon, 23 Nov 2015 23:02:40 +0000 (23:02 +0000)]
CC: tools/pkg-config: update to 0.29
backport of r47300
Release announcement:
http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html
Drop patches, as they have been implemented upstream.
This also fixes a build problem in the glib configure script when the
user id is bigger than 2^21 - 1.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix OSX compatibility]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47608
Felix Fietkau [Mon, 23 Nov 2015 14:03:03 +0000 (14:03 +0000)]
build: add -Wno-error=unused-result to target cflags
Many glibc functions have __warn_unused_result__ in so many different
core functions, and failing the build for all of those simply does not
make any sense
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47440
SVN-Revision: 47607
John Crispin [Mon, 23 Nov 2015 07:14:44 +0000 (07:14 +0000)]
procd: rework makefile, split ujail/seccomp
ujail doesn't depend on seccomp and some archs dont support seccomp
Backport of r46936
needed since last procd update (r47268)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 47606
John Crispin [Mon, 23 Nov 2015 07:14:42 +0000 (07:14 +0000)]
CC: ramips: Backport support for ZBT WG2626
Backport of r47351
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 47605
John Crispin [Mon, 23 Nov 2015 07:14:38 +0000 (07:14 +0000)]
CC: brcm2708: Add sysupgrade support for Raspberry Pi
Also create .gz images if configured to do so.
This is equivalent, but different to what we have in trunk, as the image
creation has been rewritten there.
Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 47604
Hauke Mehrtens [Sun, 22 Nov 2015 21:25:00 +0000 (21:25 +0000)]
CC: ubox: update ubox to version 2015-11-22
Backport of r47600
This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47602
Hauke Mehrtens [Sun, 22 Nov 2015 21:24:21 +0000 (21:24 +0000)]
CC: mountd: update mountd to version 2015-11-22
Backport of r47599
This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47601
Jo-Philipp Wich [Sun, 22 Nov 2015 20:06:09 +0000 (20:06 +0000)]
CC: ar71xx: fix network default config of the TEW-732BR
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r47595
SVN-Revision: 47596
Steven Barth [Thu, 19 Nov 2015 11:53:51 +0000 (11:53 +0000)]
odhcpd: backport trunk fixes
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47515
John Crispin [Wed, 18 Nov 2015 15:02:24 +0000 (15:02 +0000)]
uboot-envtools: add support for linkits7688d
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r47500
SVN-Revision: 47501
Felix Fietkau [Wed, 18 Nov 2015 12:39:06 +0000 (12:39 +0000)]
uhttpd: update to the latest version, adds support for redirect helper scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47419
SVN-Revision: 47499
Felix Fietkau [Wed, 18 Nov 2015 12:39:00 +0000 (12:39 +0000)]
libubox: sync with trunk r47418
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47498
Felix Fietkau [Wed, 18 Nov 2015 12:38:56 +0000 (12:38 +0000)]
scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM
Use similar approach as r47461 to reduce output for busybox config.
Since r39435 CONFIG_BUSYBOX_CUSTOM=y has caused the addition of
all ~260 busybox config options to the diffconfig output even if
only one option has been changed.
This patch eliminates the unchanged busybox config options from the output
and leaves only the actually modified options.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Backport of r47463
SVN-Revision: 47497
Felix Fietkau [Wed, 18 Nov 2015 12:38:48 +0000 (12:38 +0000)]
scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47461
SVN-Revision: 47496
Felix Fietkau [Wed, 18 Nov 2015 12:38:40 +0000 (12:38 +0000)]
samba: convert init script to procd, add reload support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47292
SVN-Revision: 47495
Jo-Philipp Wich [Fri, 13 Nov 2015 15:55:37 +0000 (15:55 +0000)]
CC: base-files: add missing public key
Add the secondary package signature key to the 15.05 sources so that people
building the release have the same keys as people using precompiled images.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47466
Luka Perkov [Fri, 13 Nov 2015 00:39:12 +0000 (00:39 +0000)]
uhttpd: add support for configuration option ubus_cors
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47462
Rafał Miłecki [Sat, 7 Nov 2015 00:32:23 +0000 (00:32 +0000)]
bcm53xx: add missing Netgear R8000 LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47282
SVN-Revision: 47400
Rafał Miłecki [Sat, 7 Nov 2015 00:26:20 +0000 (00:26 +0000)]
bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47337
SVN-Revision: 47399
Rafał Miłecki [Sat, 7 Nov 2015 00:26:06 +0000 (00:26 +0000)]
bcm53xx: replace USB patch fixing power control with the most recent version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47336
SVN-Revision: 47398
John Crispin [Thu, 5 Nov 2015 10:05:15 +0000 (10:05 +0000)]
ramips: minor tweak to the lks7688 baord name
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r47388
SVN-Revision: 47390
John Crispin [Tue, 3 Nov 2015 13:32:55 +0000 (13:32 +0000)]
ramips: add feature to blink led on sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r47373
SVN-Revision: 47374
Imre Kaloz [Tue, 3 Nov 2015 11:08:53 +0000 (11:08 +0000)]
uboot: create the uboot config file for the shelby as well
fixes #20827, backport of r47365
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47366
Hauke Mehrtens [Sun, 1 Nov 2015 13:48:26 +0000 (13:48 +0000)]
CC: kernel: update kernel 3.18 to version 3.18.23
Changelog:
* https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
* https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23
backport of r47334.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47335
Jo-Philipp Wich [Mon, 26 Oct 2015 15:07:47 +0000 (15:07 +0000)]
CC: toolchain: fix PKG_SOURCE_URL for gdb
The url for the gdb source changed upstream.
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
SVN-Revision: 47277
John Crispin [Mon, 26 Oct 2015 09:18:03 +0000 (09:18 +0000)]
bzip2: extend/fix the Host/Install rule to install libbz2.so files
It looks like the bzip2 package does not install any shared libs
and has no build rules to install any shared libs.
So, for the host build we're installing the libbz2 shared libs manually
so that other modules can link against them.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Backport of r47245
SVN-Revision: 47269