openwrt/staging/mkresin.git
8 years agofstools: update to the latest version, fixes filesystem state rewrite on every boot
Felix Fietkau [Sun, 10 Jan 2016 17:36:53 +0000 (17:36 +0000)]
fstools: update to the latest version, fixes filesystem state rewrite on every boot

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

8 years agox86: remove obsolete patches
Felix Fietkau [Sun, 10 Jan 2016 17:19:51 +0000 (17:19 +0000)]
x86: remove obsolete patches

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

8 years agox86: remove the rdc subtarget, it was broken for ages and nobody cared
Felix Fietkau [Sun, 10 Jan 2016 17:19:46 +0000 (17:19 +0000)]
x86: remove the rdc subtarget, it was broken for ages and nobody cared

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

8 years agotools/cmake: update version to 3.4.1
Felix Fietkau [Sun, 10 Jan 2016 17:19:40 +0000 (17:19 +0000)]
tools/cmake: update version to 3.4.1

Update cmake version to 3.4.1, released in Dec 2015.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 48188

8 years agoar71xx: fix ap152 support
Felix Fietkau [Sun, 10 Jan 2016 17:19:34 +0000 (17:19 +0000)]
ar71xx: fix ap152 support

- ethernet gigabit pll
- switch configuration
- sysupgrade

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

8 years agohostapd: fix post v2.4 security issues
Felix Fietkau [Sun, 10 Jan 2016 17:03:37 +0000 (17:03 +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>
SVN-Revision: 48185

8 years agomac80211: move b43legacy firmware to a separate package
Felix Fietkau [Sun, 10 Jan 2016 16:37:01 +0000 (16:37 +0000)]
mac80211: move b43legacy firmware to a separate package

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

8 years agomac80211: remove linux-firmware download
Felix Fietkau [Sun, 10 Jan 2016 16:36:54 +0000 (16:36 +0000)]
mac80211: remove linux-firmware download

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

8 years agomac80211: move broadcom firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:48 +0000 (16:36 +0000)]
mac80211: move broadcom firmware to the linux-firmware package

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

8 years agomac80211: move ti firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:40 +0000 (16:36 +0000)]
mac80211: move ti firmware to the linux-firmware package

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

8 years agomac80211: move mediatek/ralink firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:31 +0000 (16:36 +0000)]
mac80211: move mediatek/ralink firmware to the linux-firmware package

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

8 years agomac80211: move atheros/qca firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:25 +0000 (16:36 +0000)]
mac80211: move atheros/qca firmware to the linux-firmware package

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

8 years agomac80211: move marvell firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:17 +0000 (16:36 +0000)]
mac80211: move marvell firmware to the linux-firmware package

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

8 years agomac80211: move intel firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:08 +0000 (16:36 +0000)]
mac80211: move intel firmware to the linux-firmware package

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

8 years agomac80211: move realtek firmware to the linux-firmware package
Felix Fietkau [Sun, 10 Jan 2016 16:36:00 +0000 (16:36 +0000)]
mac80211: move realtek firmware to the linux-firmware package

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

8 years agolinux-firmware: add commented out BuildPackage section for metadata scanning
Felix Fietkau [Sun, 10 Jan 2016 16:35:53 +0000 (16:35 +0000)]
linux-firmware: add commented out BuildPackage section for metadata scanning

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

8 years agolinux-firmware: remove duplication in package metadata
Felix Fietkau [Sun, 10 Jan 2016 16:35:46 +0000 (16:35 +0000)]
linux-firmware: remove duplication in package metadata

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

8 years agolinux-firmware: move realtek firmware packages to realtek.mk
Felix Fietkau [Sun, 10 Jan 2016 16:35:40 +0000 (16:35 +0000)]
linux-firmware: move realtek firmware packages to realtek.mk

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

8 years agolinux-firmware: update to the latest version, sync with subdir used by the mac80211...
Felix Fietkau [Sun, 10 Jan 2016 16:35:31 +0000 (16:35 +0000)]
linux-firmware: update to the latest version, sync with subdir used by the mac80211 package

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

8 years agobuild: ignore the linux package in the sdk only for generating package data, not...
Felix Fietkau [Sun, 10 Jan 2016 16:35:24 +0000 (16:35 +0000)]
build: ignore the linux package in the sdk only for generating package data, not for dependencies

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

8 years agoscripts/metadata.pl: add support for ignoring source packages when generating metadata
Felix Fietkau [Sun, 10 Jan 2016 16:35:16 +0000 (16:35 +0000)]
scripts/metadata.pl: add support for ignoring source packages when generating metadata

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

8 years agoRevert "package/libs/libtool: rename to libltdl"
Felix Fietkau [Sun, 10 Jan 2016 11:39:19 +0000 (11:39 +0000)]
Revert "package/libs/libtool: rename to libltdl"

This reverts commit r48149

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

8 years agomac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected
Zoltan Herpai [Sat, 9 Jan 2016 16:46:42 +0000 (16:46 +0000)]
mac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected

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

8 years agosunxi: initial 4.4 support
Zoltan Herpai [Sat, 9 Jan 2016 16:20:39 +0000 (16:20 +0000)]
sunxi: initial 4.4 support

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

8 years agosunxi: prep module support options for 4.4
Zoltan Herpai [Sat, 9 Jan 2016 16:19:21 +0000 (16:19 +0000)]
sunxi: prep module support options for 4.4

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

8 years agokernel/4.4: add missing config options
Zoltan Herpai [Sat, 9 Jan 2016 15:42:06 +0000 (15:42 +0000)]
kernel/4.4: add missing config options

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

8 years agobuild: prevent host default LDFLAGS from leaking into packages
Felix Fietkau [Fri, 8 Jan 2016 23:18:22 +0000 (23:18 +0000)]
build: prevent host default LDFLAGS from leaking into packages

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

8 years agotarget/sdk: do not include the target staging dir anymore, it is unnecessary now
Felix Fietkau [Fri, 8 Jan 2016 23:18:18 +0000 (23:18 +0000)]
target/sdk: do not include the target staging dir anymore, it is unnecessary now

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

8 years agotarget/sdk: ship .ko files to allow rebuild of the base kmod-* packages
Felix Fietkau [Fri, 8 Jan 2016 23:18:14 +0000 (23:18 +0000)]
target/sdk: ship .ko files to allow rebuild of the base kmod-* packages

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

8 years agobuild: do not allow the SDK to reconfigure built-in kernel modules
Felix Fietkau [Fri, 8 Jan 2016 23:06:59 +0000 (23:06 +0000)]
build: do not allow the SDK to reconfigure built-in kernel modules

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

8 years agopackages: bump uboot-sunxi to 2016.01-rc3, along with H3 PSCI/SMP patches
Zoltan Herpai [Fri, 8 Jan 2016 20:37:43 +0000 (20:37 +0000)]
packages: bump uboot-sunxi to 2016.01-rc3, along with H3 PSCI/SMP patches

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

8 years agomwlwifi: update to 10.3.0.16-20160105 (adds DFS support)
Imre Kaloz [Fri, 8 Jan 2016 19:23:16 +0000 (19:23 +0000)]
mwlwifi: update to 10.3.0.16-20160105 (adds DFS support)

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

8 years agopackage/libs/zlib: new package zlib-dev
Felix Fietkau [Thu, 7 Jan 2016 21:08:13 +0000 (21:08 +0000)]
package/libs/zlib: new package zlib-dev

The patch adds a new package zlib-dev. It contains all files needed for
compiling a program using the zlib library:

/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib/libz.a
/usr/lib/pkgconfig/zlib.pc

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48151

8 years agoopenvpn: added service_triggers() to init script
Felix Fietkau [Thu, 7 Jan 2016 21:08:05 +0000 (21:08 +0000)]
openvpn: added service_triggers() to init script

Follow up of #21469
This patch enables autoreloading openvpn via procd.

Signed-off-by: Federico Capoano <nemesis@ninux.org>
SVN-Revision: 48150

8 years agopackage/libs/libtool: rename to libltdl
Felix Fietkau [Thu, 7 Jan 2016 21:08:00 +0000 (21:08 +0000)]
package/libs/libtool: rename to libltdl

Source package libtool is used to package libltdl.
Unfortunately binary libtoolize is missing.
Packaging libtoolize would depend on package file which is in the
packages feed.
Felix Fietkau suggested to rename source libtool to libltdl
and to create a new package libtool in packages.

This patch contains the renaming.

CC: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48149

8 years agoperf: drop @!USE_UCLIBC from depends
Felix Fietkau [Thu, 7 Jan 2016 21:07:48 +0000 (21:07 +0000)]
perf: drop @!USE_UCLIBC from depends

perf builds fine with uClibc too

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 48148

8 years agoramips: do not rely on $(BIN_DIR) installed files during image build (for ubnt-erx)
Felix Fietkau [Wed, 6 Jan 2016 18:39:13 +0000 (18:39 +0000)]
ramips: do not rely on $(BIN_DIR) installed files during image build (for ubnt-erx)

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

8 years agotargets: add kernel image dependencies on device tree files
Felix Fietkau [Wed, 6 Jan 2016 18:39:06 +0000 (18:39 +0000)]
targets: add kernel image dependencies on device tree files

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

8 years agobuild: skip rebuild of kernel images if the source did not change
Felix Fietkau [Wed, 6 Jan 2016 18:38:49 +0000 (18:38 +0000)]
build: skip rebuild of kernel images if the source did not change

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

8 years agoramips: do not attempt to build ubnt-erx initramfs image if initramfs support is...
Felix Fietkau [Wed, 6 Jan 2016 18:38:44 +0000 (18:38 +0000)]
ramips: do not attempt to build ubnt-erx initramfs image if initramfs support is disabled

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

8 years agobuild: suppress unnecessary kernel config rewrites to speed up build
Felix Fietkau [Wed, 6 Jan 2016 18:37:42 +0000 (18:37 +0000)]
build: suppress unnecessary kernel config rewrites to speed up build

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

8 years agoswconfig: add API for setting port link speed
Rafał Miłecki [Wed, 6 Jan 2016 18:32:21 +0000 (18:32 +0000)]
swconfig: add API for setting port link speed

Some switches can force link speed for a port. Let's add API that will
allow drivers to export this feature.

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

8 years agoswconfig: support sending SWITCH_TYPE_LINK to kernel
Rafał Miłecki [Wed, 6 Jan 2016 18:32:13 +0000 (18:32 +0000)]
swconfig: support sending SWITCH_TYPE_LINK to kernel

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

8 years agoramips: fix duplicate /dts-v1/ line for WRTNODE2
Felix Fietkau [Wed, 6 Jan 2016 00:04:14 +0000 (00:04 +0000)]
ramips: fix duplicate /dts-v1/ line for WRTNODE2

Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com>
SVN-Revision: 48138

8 years agobzip2: only build the static library for the host, fixes build errors on mac os x
Felix Fietkau [Tue, 5 Jan 2016 12:15:41 +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>
SVN-Revision: 48135

8 years agosamba36: add three CVE patches from 2015-12-16
Felix Fietkau [Tue, 5 Jan 2016 10:42:52 +0000 (10:42 +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>
SVN-Revision: 48133

8 years agoConfigure IPv6 kernel options in config/Config-kernel.in
Felix Fietkau [Mon, 4 Jan 2016 23:30:36 +0000 (23:30 +0000)]
Configure IPv6 kernel options in config/Config-kernel.in

Revision 46834 changed IPv6 support from a module to builtin. But
since the configuration of the IPv6 kernel options was left in
package/kernel/linux/modules/netsupport.mk, this means that an
empty kmod-ipv6 module was still being generated (not packaged).

This patch moves the configuration of the IPv6 kernel options to
config/Config-kernel.in to remove this last bit of the module.

Note that CONFIG_IPV6_PRIVACY was dropped (enabled by default
since Linux v3.13), so this option is no longer needed.

See https://github.com/torvalds/linux/commit/5d9efa7ee99eed58388f186c13cf2e2a87e9ceb4

Signed-off-by: Arjen de Korte <arjen+openwrt@de-korte.org>
SVN-Revision: 48132

8 years agoramips: set mips16 support
Felix Fietkau [Mon, 4 Jan 2016 22:35:36 +0000 (22:35 +0000)]
ramips: set mips16 support

Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
SVN-Revision: 48131

8 years agosunxi: fix Lamobo R1 board detection
Zoltan Herpai [Mon, 4 Jan 2016 15:53:36 +0000 (15:53 +0000)]
sunxi: fix Lamobo R1 board detection

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

8 years agorelayd: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:13:17 +0000 (15:13 +0000)]
relayd: move to git.openwrt.org

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

8 years agofirewall: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:13:10 +0000 (15:13 +0000)]
firewall: move to git.openwrt.org

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

8 years agouci: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:13:03 +0000 (15:13 +0000)]
uci: move to git.openwrt.org

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

8 years agoustream-ssl: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:53 +0000 (15:12 +0000)]
ustream-ssl: move to git.openwrt.org

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

8 years agolibrpc: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:37 +0000 (15:12 +0000)]
librpc: move to git.openwrt.org

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

8 years agouqmi: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:33 +0000 (15:12 +0000)]
uqmi: move to git.openwrt.org

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

8 years agofstools: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:28 +0000 (15:12 +0000)]
fstools: move to git.openwrt.org

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

8 years agouhttpd: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:21 +0000 (15:12 +0000)]
uhttpd: move to git.openwrt.org

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

8 years agorpcd: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:16 +0000 (15:12 +0000)]
rpcd: move to git.openwrt.org

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

8 years agoubox: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:10 +0000 (15:12 +0000)]
ubox: move to git.openwrt.org

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

8 years agoprocd: move to git.openwrt.org
Felix Fietkau [Mon, 4 Jan 2016 15:12:00 +0000 (15:12 +0000)]
procd: move to git.openwrt.org

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

8 years agopackages: use OPENWRT_GIT to point at the main openwrt git repo
Felix Fietkau [Mon, 4 Jan 2016 15:11:49 +0000 (15:11 +0000)]
packages: use OPENWRT_GIT to point at the main openwrt git repo

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

8 years agobuild: add a variable pointing to the main openwrt git repositories (useful if we...
Felix Fietkau [Mon, 4 Jan 2016 15:11:43 +0000 (15:11 +0000)]
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>
SVN-Revision: 48117

8 years agoexport KERNEL_INITRAMFS_IMAGE
Felix Fietkau [Mon, 4 Jan 2016 15:11:37 +0000 (15:11 +0000)]
export KERNEL_INITRAMFS_IMAGE

`Build/ubnt-erx-factory-kernel` in `target\linux\ramips\image\Makefile`
references `$(KERNEL_INITRAMFS_IMAGE)`
which is not exported

Signed-off-by: YounJae Rho <luxflow@live.com>
SVN-Revision: 48116

8 years agoralink: add a few mt7688 fixes that got lost in the v4.3 bump
John Crispin [Mon, 4 Jan 2016 14:21:24 +0000 (14:21 +0000)]
ralink: add a few mt7688 fixes that got lost in the v4.3 bump

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

8 years agoralink: update the usb phy driver to the version sent upstream
John Crispin [Mon, 4 Jan 2016 14:21:17 +0000 (14:21 +0000)]
ralink: update the usb phy driver to the version sent upstream

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

8 years agoralink: fix USB compatible strings
John Crispin [Mon, 4 Jan 2016 14:21:11 +0000 (14:21 +0000)]
ralink: fix USB compatible strings

switch to the upstream compatible strings for ehci and ohci support.

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

8 years agobcm53xx: fix USB patch breaking 4.4 compilation
Rafał Miłecki [Mon, 4 Jan 2016 12:28:46 +0000 (12:28 +0000)]
bcm53xx: fix USB patch breaking 4.4 compilation

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

8 years agokernel: update bcma by backporting 4.4 and 4.5 patches
Rafał Miłecki [Mon, 4 Jan 2016 12:22:24 +0000 (12:22 +0000)]
kernel: update bcma by backporting 4.4 and 4.5 patches

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

8 years agobuild: use directory name instead of PKG_NAME for staging files and package metadata
Felix Fietkau [Mon, 4 Jan 2016 01:33:32 +0000 (01:33 +0000)]
build: use directory name instead of PKG_NAME for staging files and package metadata

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

8 years agokernel: add at803x fix for sgmii mode
Felix Fietkau [Sun, 3 Jan 2016 23:13:16 +0000 (23:13 +0000)]
kernel: add at803x fix for sgmii mode

Some (possibly broken) bootloaders incorreclty initialize at8033
phy. This patch enables sgmii autonegotiation mode.

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

8 years agokernel: move at803x phy patch to generic
Felix Fietkau [Sun, 3 Jan 2016 23:13:11 +0000 (23:13 +0000)]
kernel: move at803x phy patch to generic

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

8 years agobuild: filter out relative directory entries from $PATH
Felix Fietkau [Sun, 3 Jan 2016 23:13:03 +0000 (23:13 +0000)]
build: filter out relative directory entries from $PATH

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

8 years agoimage.mk: use new pure make functions for sanitizing image filenames
Felix Fietkau [Sun, 3 Jan 2016 20:58:02 +0000 (20:58 +0000)]
image.mk: use new pure make functions for sanitizing image filenames

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

8 years agobuild: add pure make tolower/toupper funtions that do not require shell calls
Felix Fietkau [Sun, 3 Jan 2016 20:57:53 +0000 (20:57 +0000)]
build: add pure make tolower/toupper funtions that do not require shell calls

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

8 years agomac80211: add rtl8xxxu
Felix Fietkau [Sun, 3 Jan 2016 20:57:38 +0000 (20:57 +0000)]
mac80211: add rtl8xxxu

OpenWrt is often used to develop or test new devices
Some users might want to test and help to improve
this new driver

upstream commit notice 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa

New driver: rtl8xxxu (mac80211)
This is an alternate driver for a number of Realtek WiFi USB devices,
including RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU.
It was written from scratch utilizing the Linux mac80211 stack.

After spending months cleaning up the vendor provided rtl8723au
driver, which comes with it's own 802.11 stack included, I decided to
rewrite this driver from the bottom up.

Many thanks to Johannes Berg for 802.11 insights and help and Larry
Finger for help with the vendor driver.

The full git log for the development of this driver can be found here:
git git://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git
    branch rtl8723au-mac80211

This driver is still under development, but has proven to be very
stable for me. It currently supports station mode only. It has support
for OFDM and CCK rates. It does lack certain features found in the
staging driver, such as power management, AMPDU, and 40MHz channel
support. In addition it does not support AD-HOC, AP, and monitor mode
support at this point.

The driver is known to work with the following devices:
Lenovo Yoga (rtl8723au)
TP-Link TL-WN823N (rtl8192cu)
Etekcity 6R (rtl8188cu)
Daffodil LAN03 (rtl8188cu)
Alfa AWUS036NHR (rtl8188ru)

Compile tested only

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

8 years agomac80211: iwlwifi: update firmware to ucode -16 version
Felix Fietkau [Sun, 3 Jan 2016 20:57:31 +0000 (20:57 +0000)]
mac80211: iwlwifi: update firmware to ucode -16 version

We don't use Kernel drivers but ucode -16 is
usable on Kernel 4.3+ - with backports and mac80211
this should work on older Kernel versions too.

Intel does not provide a changelog.

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

8 years agomac80211: mt7601u use linux-firmware
Felix Fietkau [Sun, 3 Jan 2016 20:57:23 +0000 (20:57 +0000)]
mac80211: mt7601u use linux-firmware

upstream added mt7601u firmware with commit
9df5430a3c1bf4fa92d9198b6d7d8713408ff6bc Add firmware for mt7601u. version 34

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

8 years agoar71xx: ensure that LOADADDR is passed to lzma-loader
Felix Fietkau [Sun, 3 Jan 2016 20:57:16 +0000 (20:57 +0000)]
ar71xx: ensure that LOADADDR is passed to lzma-loader

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

8 years agopackage/network/config/gre: ipv6 gre kmod package name was wrong
Felix Fietkau [Sun, 3 Jan 2016 20:57:06 +0000 (20:57 +0000)]
package/network/config/gre: ipv6 gre kmod package name was wrong

Source package gre was depending on kmod-ip6-gre, however the actual
kernel module package that is created is kmod-gre6.  Therefore
update (source) package gre for ipv6 gre support.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 48100

8 years agowpa_supplicant: set regulatory domain the same way as hostapd
Felix Fietkau [Sun, 3 Jan 2016 20:56:57 +0000 (20:56 +0000)]
wpa_supplicant: set regulatory domain the same way as hostapd

In sta-only configuration, wpa_supplicant needs correct regulatory
domain because otherwise it may skip channel of its AP during scan.

Another alternative is to fix "iw reg set" in mac80211 netifd script.
Currently it fails if some phy has private regulatory domain which
matches configured one.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
SVN-Revision: 48099

8 years agoiproute2: update to 4.3.0
Felix Fietkau [Sun, 3 Jan 2016 20:56:45 +0000 (20:56 +0000)]
iproute2: update to 4.3.0

iproute2-4.0 had connmark support added by nbd.  This does not work
with 4.x kernels.  iproute2-4.3 is the latest version and has his
changes mainlined.  This patch updates the package to iproute2-4.3
and fixes the patches so that it compiles.  This should resolve
ticket #21374.

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

8 years agoar71xx: fix factory images for WNR2200 (#19807)
Felix Fietkau [Sun, 3 Jan 2016 14:45:26 +0000 (14:45 +0000)]
ar71xx: fix factory images for WNR2200 (#19807)

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

8 years agotarget/sdk: Fix filename with external toolchain
Felix Fietkau [Sun, 3 Jan 2016 14:45:18 +0000 (14:45 +0000)]
target/sdk: Fix filename with external toolchain

When building SDK with external toolchain, don't
include _gcc in the filename

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 48084

8 years agoimages imagebuilder: Allow to add sanitized extra name
Felix Fietkau [Sun, 3 Jan 2016 14:44:56 +0000 (14:44 +0000)]
images imagebuilder: Allow to add sanitized extra name

For final output image names allow user to add an
extra string (which is sanitized).  This is particularly
useful with ImageBuilder where you may generate multiple
images from the same base and for the same board,
with different package selections and additional files
(via FILES=).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 48083

8 years agoimages: use configured distribution name for output image names
Felix Fietkau [Sun, 3 Jan 2016 14:44:48 +0000 (14:44 +0000)]
images: use configured distribution name for output image names

We allow to configure the version distribution name;
let's also use it for the final image filenames.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 48082

8 years agotargets: Use configured distribution name for SDK, IB, and Toolchain tarball names
Felix Fietkau [Sun, 3 Jan 2016 14:44:42 +0000 (14:44 +0000)]
targets: Use configured distribution name for SDK, IB, and Toolchain tarball names

We allow to configure the version distribution name;
let's also use it for the tarballs (SDK, ImageBuilder,
and SDK).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 48081

8 years agotarget/toolchain: Fix tarball filename
Felix Fietkau [Sun, 3 Jan 2016 14:44:36 +0000 (14:44 +0000)]
target/toolchain: Fix tarball filename

Toolchain makefile was missing include of version.mk
so the openwrt version was missing from the filename.
This patch fixes that.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 48080

8 years agobuild: for cmake, always use ccache from staging dir instead of relying on the host
Felix Fietkau [Sun, 3 Jan 2016 14:44:30 +0000 (14:44 +0000)]
build: for cmake, always use ccache from staging dir instead of relying on the host

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

8 years agobusybox: adjust convert_menuconfig.pl to emit relative path references for Config...
Felix Fietkau [Sun, 3 Jan 2016 11:38:31 +0000 (11:38 +0000)]
busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files

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

8 years agobusybox: fix handling of special characters in path when converting menuconfig
Felix Fietkau [Sun, 3 Jan 2016 11:36:38 +0000 (11:36 +0000)]
busybox: fix handling of special characters in path when converting menuconfig

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

8 years agomalta: fix generating network configuration
Felix Fietkau [Sun, 3 Jan 2016 11:36:26 +0000 (11:36 +0000)]
malta: fix generating network configuration

With the default network config provided by package base-files present,
board_detect won't create a new config from board.json.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 48076

8 years agoar71xx: another fix to wndr3700_board_detect
Felix Fietkau [Sun, 3 Jan 2016 11:09:45 +0000 (11:09 +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>
SVN-Revision: 48075

8 years agoledtrig-netdev: don't stop timer on events for different interfaces
Rafał Miłecki [Sat, 2 Jan 2016 20:38:56 +0000 (20:38 +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>
SVN-Revision: 48072

8 years agoperf: select objdump instead of the full binutils package
Felix Fietkau [Sat, 2 Jan 2016 16:19:39 +0000 (16:19 +0000)]
perf: select objdump instead of the full binutils package

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

8 years agoramips: clean up and refresh kernel patches
Felix Fietkau [Sat, 2 Jan 2016 14:48:27 +0000 (14:48 +0000)]
ramips: clean up and refresh kernel patches

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

8 years agoramips: fix performance counters on mt7621
Felix Fietkau [Sat, 2 Jan 2016 14:48:11 +0000 (14:48 +0000)]
ramips: fix performance counters on mt7621

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

8 years agoperf: add myself as a maintainer
Felix Fietkau [Sat, 2 Jan 2016 14:48:04 +0000 (14:48 +0000)]
perf: add myself as a maintainer

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

8 years agoperf: fix musl compatibility
Felix Fietkau [Sat, 2 Jan 2016 14:47:57 +0000 (14:47 +0000)]
perf: fix musl compatibility

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

8 years agoperf: fix parallel build support, explicitly disable more library dependencies
Felix Fietkau [Sat, 2 Jan 2016 14:47:48 +0000 (14:47 +0000)]
perf: fix parallel build support, explicitly disable more library dependencies

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

8 years agoperf: build in a copy of the source dir instead of relying on make clean
Felix Fietkau [Sat, 2 Jan 2016 14:47:42 +0000 (14:47 +0000)]
perf: build in a copy of the source dir instead of relying on make clean

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