Commit Graph

34842 Commits (b6ca667ed2dc624538f027200f0345e2e1419331)

Author SHA1 Message Date
Felix Fietkau b6ca667ed2 build: do not deselect CONFIG_USE_SSTRIP if CONFIG_DEBUG is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48504

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-29 16:06:20 +00:00
Felix Fietkau 47e9e3c71f scripts/config: fix handling of CONFDEFAULT on oldconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47372

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-29 16:06:19 +00:00
Felix Fietkau 0186b0e50e ar71xx: reset ethernet tx ring on fast reset to prevent packet loss / irq issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48753

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-29 15:53:25 +00:00
John Crispin 43869ba1b2 ramips: Backport support for Netgear EX2700
This patch adds support for the Netgear EX2700 in Chaos Calmer and
builds approriate -sysupgrade and -factory images.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-26 07:46:18 +00:00
John Crispin ba0f149034 brcm2708: Fix sysupgrade support for Raspberry Pi
Backport patch for implementing sysupgrade support on brcm2708 target was
incomplete, since it was missing the default packages (r47604).
Add those packages in order to fully support sysupgrade.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-26 07:46:14 +00:00
Rafał Miłecki 268c966d91 kernel: support bgmac on BCM47094
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48564 and r48756

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-26 07:10:16 +00:00
Rafał Miłecki 4c8167b640 kernel: backport trivial bcma patches from 4.6 for BCM47094
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-26 07:10:09 +00:00
Rafał Miłecki c02c1fade6 kernel: backport bcma init patch from 4.5
This simply replaces init fix with a final version and puts it in a
generic dir. This will allow backporting some trivial changes from 4.6.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-26 07:09:57 +00:00
John Crispin d4b09841a9 ralink: fix mt7628 ehci support
the u2_phy init was missing

Backport of r48747

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-19 16:39:12 +00:00
John Crispin 2b059d0313 ralink: fix alsa mic in support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-19 16:39:06 +00:00
Luka Perkov 35a54abc53 mvebu: add SolidRun ClearFog A1 support
Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-17 17:51:46 +00:00
John Crispin f82063785d malta: add harddisk support
Is it possible to backport commit r46269 (3c298f89-4303-0410-b956-a3cf2f4a3e73) to CC 15.05 in order to provide harddisk support.

Backporting tested (info available at: https://forum.openwrt.org/viewtopic.php?id=62389).

Thnx in advance!

Here is the original patch from trunk:
>From 76bfcd46bd55263947461e40bd02047922755c72 Mon Sep 17 00:00:00 2001
From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 8 Jul 2015 14:25:36 +0000
Subject: [PATCH] malta: add harddisk support

works with:
qemu-system-mipsel -M malta \
-hda openwrt-malta-le-root.ext4 \
-kernel openwrt-malta-le-vmlinux.elf \
-nographic -append "root=/dev/sda console=ttyS0"

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-08 09:22:12 +00:00
Rafał Miłecki 2734a4b0f7 bcm53xx: add Netgear R8500 GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48633

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-05 13:41:24 +00:00
Rafał Miłecki b1a1df8eca bcm53xx: start working on Netgear R8500
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48625

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-04 09:23:48 +00:00
Rafał Miłecki 94ea937874 bcm53xx: support Netgear R8500 in sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48572

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-04 09:23:18 +00:00
Rafał Miłecki 1f3a80a85f bcm53xx: use proper CPU port in b53 for Netgear R8500
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48571

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-04 09:23:05 +00:00
Felix Fietkau 0c335d6ea0 openssl: update to 1.0.2f (fixes CVE-2016-0701, CVE-2015-3197)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48531

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-28 18:26:18 +00:00
John Crispin 7a4a7932a1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-21 14:17:54 +00:00
Felix Fietkau e404b824d6 kernel: fix module load issue in the dma-buf debloat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48409

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-20 20:27:08 +00:00
Rafał Miłecki ed9632da9a mac80211: fix brcmfmac picking wrong channel when using 80 MHz
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-20 19:32:04 +00:00
Felix Fietkau 8b4564cce8 kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48371

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-20 10:32:18 +00:00
Felix Fietkau d0c51b67ce kernel: fix keyring reference leak (CVE-2016-0728)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48372

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-19 21:09:59 +00:00
Felix Fietkau 38e3298a8b 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-19 15:15:11 +00:00
Felix Fietkau e31260baa7 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-15 12:59:30 +00:00
Felix Fietkau 05eac4ae0b ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48227

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-15 12:59:26 +00:00
Jo-Philipp Wich ccf3d32f88 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-14 14:27:23 +00:00
Jo-Philipp Wich c9b6e631f8 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-14 14:27:20 +00:00
Jo-Philipp Wich 33926ccf4d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-14 13:06:36 +00:00
Imre Kaloz 04d677ea25 mac80211: resync regulatory db with master-2015-12-14
backport of [48219]

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



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-12 14:29:19 +00:00
Jo-Philipp Wich 1d08d5cf7a 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-12 09:27:30 +00:00
Jo-Philipp Wich 4bfa2e32d7 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-12 07:54:25 +00:00
Jo-Philipp Wich 543b4372c8 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-12 07:54:22 +00:00
Jo-Philipp Wich e57591b594 CC: gettext-full: update to version 0.19.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Backport of r47584

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-12 07:54:18 +00:00
Rafał Miłecki 2cfe7ad046 hostapd: fix disassociation with FullMAC drivers and multi-BSS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48202

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-11 22:08:35 +00:00
Jo-Philipp Wich 212577c01b 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-11 08:43:50 +00:00
Felix Fietkau 9a09158c65 fstools: fix off-by-one error in the version number
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48193

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 18:04:56 +00:00
Felix Fietkau a8ab1e82ed fstools: sync with trunk r48191
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 17:37:20 +00:00
Felix Fietkau f044e32391 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 17:04:09 +00:00
Rafał Miłecki 1f13935e70 mac80211: brcmfmac: add beamforming support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 01:30:13 +00:00
Rafał Miłecki acad802bce mac80211: brcmfmac: support dumping stations
It allows user-space fetch associated STAs and e.g. iwinfo/luci display
them.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 00:19:16 +00:00
Rafał Miłecki 615ff23d4f 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.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 00:19:09 +00:00
Rafał Miłecki 8e2500205b kernel: backport some bcma header file definitions from wireless-testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47284

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 00:18:39 +00:00
Rafał Miłecki 09eb0166d0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-09 18:38:01 +00:00
Rafał Miłecki 437dd4cacf 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>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-09 18:37:55 +00:00
Imre Kaloz b44228e69a mwlwifi: update to 10.3.0.16-20160105 (adds DFS support)
backport of [48152]

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



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-08 19:24:58 +00:00
Rafał Miłecki 75bd4f2388 kernel: make bcm47xxpart work with TRX flashed at bad block(s)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r48061

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-06 16:10:40 +00:00
Rafał Miłecki 2692e592c4 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-06 16:10:13 +00:00
Felix Fietkau 8507ab56ed ramips: override features to disable mips16 support for rt288x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-05 12:20:34 +00:00
Felix Fietkau 53fa1a315f 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-05 12:15:59 +00:00
Felix Fietkau 4209efabe3 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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-05 11:01:00 +00:00