openwrt/staging/chunkeey.git
4 years agobuild: disable kernel stack protector support for i386/x86_64
Felix Fietkau [Sun, 2 Aug 2015 07:40:12 +0000 (07:40 +0000)]
build: disable kernel stack protector support for i386/x86_64

When stack protector support is disabled in libc (always the case for
!musl), gcc assumes that it needs to use __stack_chk_guard for the stack
canary.
This causes kernel build errors, because the kernel is only set up to
handle TLS stack canaries.

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

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

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

4 years agopackages: uboot-sunxi: bump to 2015.07 - switch to using kernel-supplied dtc - refres...
Zoltan Herpai [Fri, 31 Jul 2015 21:58:31 +0000 (21:58 +0000)]
packages: uboot-sunxi: bump to 2015.07 - switch to using kernel-supplied dtc - refresh olimex-a13-som and lamobo-r1 patches (compile-tested only)

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

4 years agokernel: add missing symbol for 4.1
Zoltan Herpai [Fri, 31 Jul 2015 21:49:37 +0000 (21:49 +0000)]
kernel: add missing symbol for 4.1

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

4 years agobcm53xx: allow device tree to override SPI flash partition layout
Felix Fietkau [Fri, 31 Jul 2015 20:55:30 +0000 (20:55 +0000)]
bcm53xx: allow device tree to override SPI flash partition layout

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

4 years agosunxi: fix networking on Olimex A20 Micro
Zoltan Herpai [Fri, 31 Jul 2015 19:50:05 +0000 (19:50 +0000)]
sunxi: fix networking on Olimex A20 Micro

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

4 years agomac80211: restore AP scan patch
Felix Fietkau [Fri, 31 Jul 2015 19:49:27 +0000 (19:49 +0000)]
mac80211: restore AP scan patch

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

4 years agoiw: update to version 4.1
Felix Fietkau [Fri, 31 Jul 2015 19:49:22 +0000 (19:49 +0000)]
iw: update to version 4.1

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

4 years agomac80211: fix an invalid read in minstrel rate sorting
Felix Fietkau [Fri, 31 Jul 2015 19:49:17 +0000 (19:49 +0000)]
mac80211: fix an invalid read in minstrel rate sorting

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

4 years agomac80211: fix data alignment of management frames / beacons
Felix Fietkau [Fri, 31 Jul 2015 19:49:09 +0000 (19:49 +0000)]
mac80211: fix data alignment of management frames / beacons

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

4 years agomvebu: update dts files for mamba / WRT1900AC
Imre Kaloz [Fri, 31 Jul 2015 18:23:28 +0000 (18:23 +0000)]
mvebu: update dts files for mamba / WRT1900AC

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: 46530

4 years agokernel: add a few missing symbols for 4.1
Zoltan Herpai [Fri, 31 Jul 2015 18:14:59 +0000 (18:14 +0000)]
kernel: add a few missing symbols for 4.1

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

4 years agomvebu: fix gpio config on the WRT1200AC
Imre Kaloz [Fri, 31 Jul 2015 18:08:12 +0000 (18:08 +0000)]
mvebu: fix gpio config on the WRT1200AC

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

4 years agomxs: switch to 4.1
Zoltan Herpai [Fri, 31 Jul 2015 12:25:35 +0000 (12:25 +0000)]
mxs: switch to 4.1

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

4 years agomxs: add support for 4.1
Zoltan Herpai [Fri, 31 Jul 2015 12:22:12 +0000 (12:22 +0000)]
mxs: add support for 4.1

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

4 years agomxs: build sound-soc-mxs only on 3.18 for now
Zoltan Herpai [Fri, 31 Jul 2015 11:58:24 +0000 (11:58 +0000)]
mxs: build sound-soc-mxs only on 3.18 for now

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

4 years agopackages: uboot-mxs: bump to 2015.07, refresh Duckbill patch
Zoltan Herpai [Fri, 31 Jul 2015 11:52:48 +0000 (11:52 +0000)]
packages: uboot-mxs: bump to 2015.07, refresh Duckbill patch

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

4 years agodnsmasq: Bump to dnsmasq2.74
Steven Barth [Thu, 30 Jul 2015 08:53:43 +0000 (08:53 +0000)]
dnsmasq: Bump to dnsmasq2.74

Bump to dnsmasq2.74 & refresh patches to fix fuzz

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
SVN-Revision: 46522

4 years agomwlwifi: upgrade to latest rev with fixed firmware
Imre Kaloz [Thu, 30 Jul 2015 06:41:25 +0000 (06:41 +0000)]
mwlwifi: upgrade to latest rev with fixed firmware

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

4 years agomt76: update to the latest version, fixes more tx power related issues
Felix Fietkau [Wed, 29 Jul 2015 16:01:55 +0000 (16:01 +0000)]
mt76: update to the latest version, fixes more tx power related issues

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

4 years agoodhcp6c: minor fixes
Steven Barth [Wed, 29 Jul 2015 06:13:15 +0000 (06:13 +0000)]
odhcp6c: minor fixes

Better synchronize RA & DHCPv6 events
Accumulate some events to avoid flooding
Restart softwires for address and prefix changes

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

4 years agoopenssl: add one more mirror
Luka Perkov [Tue, 28 Jul 2015 21:54:44 +0000 (21:54 +0000)]
openssl: add one more mirror

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

4 years agosdk: provide explicit CONFIG_MODULES kconfig symbol
Jo-Philipp Wich [Mon, 27 Jul 2015 23:45:15 +0000 (23:45 +0000)]
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>
SVN-Revision: 46514

4 years agomt76: update to the latest version, fixes some compile errors
Felix Fietkau [Mon, 27 Jul 2015 18:46:42 +0000 (18:46 +0000)]
mt76: update to the latest version, fixes some compile errors

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

4 years agofirewall: fix typo in ESP rule
Steven Barth [Mon, 27 Jul 2015 11:47:20 +0000 (11:47 +0000)]
firewall: fix typo in ESP rule

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

4 years agooprofile: update to 1.1.0-rc2 and make it work with musl
Hauke Mehrtens [Sun, 26 Jul 2015 15:53:44 +0000 (15:53 +0000)]
oprofile: update to 1.1.0-rc2 and make it work with musl

This brings oprifle to version 1.1.0-rc2 and adds some fixes for musl.

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

4 years agobcm53xx: update Disable MMU and Dcache during decompression
Hauke Mehrtens [Sun, 26 Jul 2015 15:52:59 +0000 (15:52 +0000)]
bcm53xx: update Disable MMU and Dcache during decompression

This replaces the old patch with the version from Florian.

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

4 years agokernel: add missing CONFIG_ARM_CCI400_PMU config option
Hauke Mehrtens [Sun, 26 Jul 2015 15:52:34 +0000 (15:52 +0000)]
kernel: add missing CONFIG_ARM_CCI400_PMU config option

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

4 years agogpio-button-hotplug: handle EPROBE_DEFER and other errors
Hauke Mehrtens [Sun, 26 Jul 2015 15:52:17 +0000 (15:52 +0000)]
gpio-button-hotplug: handle EPROBE_DEFER and other errors

of_get_gpio_flags() could return an error like EPROBE_DEFER which was
not handled before. This patch takes the code from gpio_keys_polled.c
for error handling and also improves some other unrelated small parts.

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

4 years agokernel: add CONFIG_REGMAP_MMIO config option
Hauke Mehrtens [Sun, 26 Jul 2015 15:51:59 +0000 (15:51 +0000)]
kernel: add CONFIG_REGMAP_MMIO config option

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

4 years agobcm53xx: update config
Hauke Mehrtens [Sun, 26 Jul 2015 15:51:37 +0000 (15:51 +0000)]
bcm53xx: update config

This activates CONFIG_MULTIUSER and sets the maximal number of cpus to 2.

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

4 years agoramips: swap radio calibration data pointers for DIR-860L
Felix Fietkau [Sun, 26 Jul 2015 13:01:43 +0000 (13:01 +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>
SVN-Revision: 46497

4 years agoimage: fix device variable exports for initramfs images
Felix Fietkau [Sun, 26 Jul 2015 11:42:27 +0000 (11:42 +0000)]
image: fix device variable exports for initramfs images

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

4 years agokernel: add kmod-lp again
Hauke Mehrtens [Sun, 26 Jul 2015 09:16:03 +0000 (09:16 +0000)]
kernel: add kmod-lp again

This was deactivated in r21954 because it depended on kernel 2.4, but
this module also compiles with kernel 3.18.

This closes #20199.

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

4 years agokernel: cdc_ncm: Add support for moving NDP to end of NCM frame
Hauke Mehrtens [Sat, 25 Jul 2015 13:41:21 +0000 (13:41 +0000)]
kernel: cdc_ncm: Add support for moving NDP to end of NCM frame

This patch was missing for kernel 4.0 and 4.1 in r46464. I also
replaced the version in OpenWrt with the version which went upstream
into the Linux mainline kernel.

This closes #20193 and #20192

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

4 years agomac80211: do not add debugfs_create_devm_seqfile() on recent kernel versions
Hauke Mehrtens [Sat, 25 Jul 2015 13:40:43 +0000 (13:40 +0000)]
mac80211: do not add debugfs_create_devm_seqfile() on recent kernel versions

An #ifdef for the kernel version was missing around the header of
debugfs_create_devm_seqfile() and the LINUX_BACKPORT() was also not
done.

This closes #20181

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

4 years agoopkg: ensure image provided feeds are available after sysupgrade
Jonas Gorski [Sat, 25 Jul 2015 12:12:28 +0000 (12:12 +0000)]
opkg: ensure image provided feeds are available after sysupgrade

Split the opkg.conf into three files, to make it easier to support custom
feeds and configs:

* /etc/opkg.conf -> base opkg configuration
* /etc/opkg/distfeeds.conf -> default Openwrt package feeds
* /etc/opkg/customfeeds.conf -> custom package feeds

Of these three, only the base opkg.conf and the customfeeds.conf is marked
as to be kept, so that the distfeeds.conf from the image is always used.

To ease migration, a script is added that moves any feeds from /etc/opkg.conf
to /etc/opkg/customfeeds.conf on first boot.

Also ensure that any keys used for verification are also kept in upgrade.

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

4 years agobrcm63xx: switch to new image building system
Jonas Gorski [Sat, 25 Jul 2015 12:12:11 +0000 (12:12 +0000)]
brcm63xx: switch to new image building system

Switches BCM63xx to the new IB system.
Images are generated per device definitions.
There are no changes in the produced images except for some name changes,
caused by the new IB system.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46490

4 years agobrcm63xx: use new tool for generating redboot images
Jonas Gorski [Sat, 25 Jul 2015 12:12:06 +0000 (12:12 +0000)]
brcm63xx: use new tool for generating redboot images

Simplify image/Makefile by using the new perl script for RedBoot.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46489

4 years agoscripts: add tool for generating redboot scripts
Jonas Gorski [Sat, 25 Jul 2015 12:12:03 +0000 (12:12 +0000)]
scripts: add tool for generating redboot scripts

This tool avoids generating the redboot script directly from Makefile, which
can get really complicated when adapting image/Makefile to the new IB system.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46488

4 years agokmod-regmap: make regmap-mmio user selectable
Jonas Gorski [Sat, 25 Jul 2015 09:55:32 +0000 (09:55 +0000)]
kmod-regmap: make regmap-mmio user selectable

REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing
selects it, it will fail the build with:

ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing.
make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1

Fix this by adding a description to allow selecting it manually.

Fixes: r46451 ("kmod-regmap: enable MMIO support")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46485

4 years agombedtls: package version 2.0, make polarssl compatible
Steven Barth [Fri, 24 Jul 2015 22:26:44 +0000 (22:26 +0000)]
mbedtls: package version 2.0, make polarssl compatible

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

4 years agokernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel
Felix Fietkau [Fri, 24 Jul 2015 15:36:08 +0000 (15:36 +0000)]
kernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel

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

4 years agokernel: fix oprofile performance counter interrupt handling on mips
Felix Fietkau [Fri, 24 Jul 2015 15:36:02 +0000 (15:36 +0000)]
kernel: fix oprofile performance counter interrupt handling on mips

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

4 years agomusl: update to latest git version
Felix Fietkau [Fri, 24 Jul 2015 15:35:55 +0000 (15:35 +0000)]
musl: update to latest git version

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

4 years agofortify-headers: update to 0.7
Steven Barth [Fri, 24 Jul 2015 13:51:45 +0000 (13:51 +0000)]
fortify-headers: update to 0.7

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

4 years agoodhcpd: fix RA lifetimes
Steven Barth [Fri, 24 Jul 2015 13:51:43 +0000 (13:51 +0000)]
odhcpd: fix RA lifetimes

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

4 years agofirewall: comply with REC-22, REC-24 of RFC 6092
Steven Barth [Fri, 24 Jul 2015 10:00:45 +0000 (10:00 +0000)]
firewall: comply with REC-22, REC-24 of RFC 6092

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

4 years agoramips: add additional uarts to mt7628.dtsi
John Crispin [Fri, 24 Jul 2015 09:12:21 +0000 (09:12 +0000)]
ramips: add additional uarts to mt7628.dtsi

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

4 years agoramips: make sd driver depend on mt7688
John Crispin [Fri, 24 Jul 2015 09:12:16 +0000 (09:12 +0000)]
ramips: make sd driver depend on mt7688

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

4 years agoramips: add CD polling to sd driver
John Crispin [Fri, 24 Jul 2015 09:12:10 +0000 (09:12 +0000)]
ramips: add CD polling to sd driver

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

4 years agoramips: various mt7688 pinmux fixes
John Crispin [Fri, 24 Jul 2015 09:12:02 +0000 (09:12 +0000)]
ramips: various mt7688 pinmux fixes

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

4 years agoramips: add subtarget for mt7688
John Crispin [Fri, 24 Jul 2015 09:11:56 +0000 (09:11 +0000)]
ramips: add subtarget for mt7688

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

4 years agoramips: add clock strecthing support to i2c driver
John Crispin [Fri, 24 Jul 2015 09:11:42 +0000 (09:11 +0000)]
ramips: add clock strecthing support to i2c driver

fixes #19816

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

4 years agobuttons: make all button handler scripts return 0
John Crispin [Fri, 24 Jul 2015 09:11:35 +0000 (09:11 +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>
SVN-Revision: 46471

4 years agobzip2: add host build
John Crispin [Fri, 24 Jul 2015 09:11:29 +0000 (09:11 +0000)]
bzip2: add host build

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

4 years agofirmware-utils mktplinkfw: print amount of exceeding bytes
John Crispin [Fri, 24 Jul 2015 09:11:24 +0000 (09:11 +0000)]
firmware-utils mktplinkfw: print amount of exceeding bytes

This is very useful for trimming images towards 4 MiB flash size.

Signed-off-by: Stephan Maka <stephan@spaceboyz.net>
SVN-Revision: 46469

4 years agomac80211: Clarify ath9k & ath10k debug selection
John Crispin [Fri, 24 Jul 2015 09:11:17 +0000 (09:11 +0000)]
mac80211: Clarify ath9k & ath10k debug selection

Ath debug mode applies to ath10k as well as ath9k.
Update Makefile help text to clarify.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
SVN-Revision: 46468

4 years agodnsmasq: add some missing files to the jail
John Crispin [Fri, 24 Jul 2015 09:11:06 +0000 (09:11 +0000)]
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>
SVN-Revision: 46467

4 years agobase-files: fix /tmp/.jail permissions
John Crispin [Fri, 24 Jul 2015 09:11:00 +0000 (09:11 +0000)]
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>
SVN-Revision: 46466

4 years agoprocd: update to latest git HEAD
John Crispin [Fri, 24 Jul 2015 09:10:55 +0000 (09:10 +0000)]
procd: update to latest git HEAD

fixes http://patchwork.ozlabs.org/patch/497899/

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

4 years agogeneric: cdc_ncm: Add support for moving NDP to end of NCM frame
John Crispin [Fri, 24 Jul 2015 09:10:47 +0000 (09:10 +0000)]
generic: cdc_ncm: Add support for moving NDP to end of NCM frame

NCM specs are not actually mandating a specific position in the frame for
the NDP (Network Datagram Pointer). However, some Huawei devices will
ignore our aggregates if it is not placed after the datagrams it points
to. Add support for doing just this, in a per-device configurable way.
While at it, update NCM subdrivers, disabling this functionality in all of
them, except in huawei_cdc_ncm where it is enabled instead.
We aren't making any distinction between different Huawei NCM devices,
based on what the vendor driver does. Standard NCM devices are left
unaffected: if they are compliant, they should be always usable, still
stay on the safe side.

This change has been tested and working with a Huawei E3131 device (which
works regardless of NDP position) and an E3372 device (which mandates NDP
to be after indexed datagrams).

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 46464

4 years agogeneric: Add missing symbols when tracing is enabled
John Crispin [Fri, 24 Jul 2015 09:10:41 +0000 (09:10 +0000)]
generic: Add missing symbols when tracing is enabled

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46463

4 years agogeneric: add missing symbol
John Crispin [Fri, 24 Jul 2015 09:10:19 +0000 (09:10 +0000)]
generic: add missing symbol

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

4 years agobrcm2708: add kmod-sound-soc-bcm2708-i2s support
John Crispin [Fri, 24 Jul 2015 09:10:14 +0000 (09:10 +0000)]
brcm2708: add kmod-sound-soc-bcm2708-i2s support

This adds support for I2S SoC Audio modules.

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

4 years agobrcm2708: add kmod-video-bcm2835 support
John Crispin [Fri, 24 Jul 2015 09:10:05 +0000 (09:10 +0000)]
brcm2708: add kmod-video-bcm2835 support

This adds BCM2835 camera interface driver as a kernel module.

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

4 years agoar71xx: Allow to use ath79_gpio_output_select on QCA955x
John Crispin [Fri, 24 Jul 2015 09:10:00 +0000 (09:10 +0000)]
ar71xx: Allow to use ath79_gpio_output_select on QCA955x

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

4 years agoar71xx: add support for Onion Omega
John Crispin [Fri, 24 Jul 2015 09:09:49 +0000 (09:09 +0000)]
ar71xx: add support for Onion Omega

This patch adds support for the Onion Omega.

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: 46458

4 years agoar71xx: Add support for AP147-010 reference board
John Crispin [Fri, 24 Jul 2015 09:09:42 +0000 (09:09 +0000)]
ar71xx: Add support for AP147-010 reference board

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

4 years agoar71xx: Add support for PCIe on QCA953x
John Crispin [Fri, 24 Jul 2015 09:09:31 +0000 (09:09 +0000)]
ar71xx: Add support for PCIe on QCA953x

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

4 years agoar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2
John Crispin [Fri, 24 Jul 2015 09:09:27 +0000 (09:09 +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>
SVN-Revision: 46455

4 years agoramips: add support for STORYLiNK SAP-G3200U3
John Crispin [Fri, 24 Jul 2015 09:09:22 +0000 (09:09 +0000)]
ramips: add support for STORYLiNK SAP-G3200U3

STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN.
It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0.

The following patch adds support for this device.

Tested and working:
* ethernet
* both WiFi radios
* USB 3.0
* buttons
* ethernet switch and USB diag LEDs
* UART
* GPIOs

Tested and not working:
* LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?)
* failsafe mode (known problem, needs workaround like other MTK based devices)

More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46454

4 years agolantiq: Silence the PCIe error interrupt printk also in 4.1
John Crispin [Fri, 24 Jul 2015 09:09:07 +0000 (09:09 +0000)]
lantiq: Silence the PCIe error interrupt printk also in 4.1

This ports 9e2a7b779e6f0914395da3657b00f0ac00209bfd to the 4.1 patches.
I forgot this when preparing the initial 4.1 patch.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46453

4 years agolantiq: Fix ifxos driver on linux 4.1
John Crispin [Fri, 24 Jul 2015 09:09:02 +0000 (09:09 +0000)]
lantiq: Fix ifxos driver on linux 4.1

request_mem_region returns NULL when requesting the region failed, and
a valid pointer when it was successful. Currently the condition is
inverted.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46452

4 years agokmod-regmap: enable MMIO support
John Crispin [Fri, 24 Jul 2015 09:08:57 +0000 (09:08 +0000)]
kmod-regmap: enable MMIO support

This adds MMIO support for kmod-regmap.

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

4 years agokernel: refresh patches for 4.1
Jonas Gorski [Wed, 22 Jul 2015 12:51:11 +0000 (12:51 +0000)]
kernel: refresh patches for 4.1

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

4 years agokernel: update 4.0 to 4.0.9
Jonas Gorski [Wed, 22 Jul 2015 12:51:04 +0000 (12:51 +0000)]
kernel: update 4.0 to 4.0.9

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.9

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

4 years agokernel: update 3.18 to 3.18.19
Jonas Gorski [Wed, 22 Jul 2015 12:50:59 +0000 (12:50 +0000)]
kernel: update 3.18 to 3.18.19

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19

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

4 years agoar71xx: refresh kernel config
Felix Fietkau [Wed, 22 Jul 2015 12:45:12 +0000 (12:45 +0000)]
ar71xx: refresh kernel config

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

4 years agokernel: update to linux 4.1.3
Felix Fietkau [Wed, 22 Jul 2015 12:45:07 +0000 (12:45 +0000)]
kernel: update to linux 4.1.3

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

4 years agomac80211: update to wireless-testing 2015-07-21
Felix Fietkau [Wed, 22 Jul 2015 12:45:03 +0000 (12:45 +0000)]
mac80211: update to wireless-testing 2015-07-21

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

4 years agogeneric: add more missing linux 4.1 symbols
Felix Fietkau [Wed, 22 Jul 2015 12:44:55 +0000 (12:44 +0000)]
generic: add more missing linux 4.1 symbols

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 46435

4 years agotools: drop circular dependency between patch and ccache, build patch without ccache...
Felix Fietkau [Mon, 20 Jul 2015 10:50:46 +0000 (10:50 +0000)]
tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)

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

4 years agoar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash driver...
Felix Fietkau [Mon, 20 Jul 2015 06:01:18 +0000 (06:01 +0000)]
ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash driver (fixes #20125)

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

4 years agoar71xx: switch to linux 4.1
Felix Fietkau [Sun, 19 Jul 2015 17:59:20 +0000 (17:59 +0000)]
ar71xx: switch to linux 4.1

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

4 years agoar71xx: add missing patch chunk to 4.1 unaligned access hacks
Felix Fietkau [Sun, 19 Jul 2015 17:59:15 +0000 (17:59 +0000)]
ar71xx: add missing patch chunk to 4.1 unaligned access hacks

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

4 years agoar71xx: reorganize 4.1 patch directory layout
Felix Fietkau [Sun, 19 Jul 2015 17:59:08 +0000 (17:59 +0000)]
ar71xx: reorganize 4.1 patch directory layout

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

4 years agoar71xx: refresh kernel config
Felix Fietkau [Sun, 19 Jul 2015 17:59:00 +0000 (17:59 +0000)]
ar71xx: refresh kernel config

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

4 years agokernel: add missing config symbols for 4.1
Felix Fietkau [Sun, 19 Jul 2015 17:58:53 +0000 (17:58 +0000)]
kernel: add missing config symbols for 4.1

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

4 years agoar71xx: refresh 4.1 patches
Felix Fietkau [Sun, 19 Jul 2015 17:58:46 +0000 (17:58 +0000)]
ar71xx: refresh 4.1 patches

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

4 years agoar71xx: add 4.1 support
Felix Fietkau [Sun, 19 Jul 2015 17:58:40 +0000 (17:58 +0000)]
ar71xx: add 4.1 support

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

4 years agoRevert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250)
Felix Fietkau [Sun, 19 Jul 2015 17:58:27 +0000 (17:58 +0000)]
Revert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250)

The commit is incomplete, it does not even build the mach-* file

This reverts commit 6e6adcf7a197b1802cb728ddcccf05f890ca0574

SVN-Revision: 46425

4 years agomkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefile
Felix Fietkau [Sun, 19 Jul 2015 14:59:26 +0000 (14:59 +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>
SVN-Revision: 46424

4 years agostrace: add kernel headers include to host cflags to fix build on non-linux systems
Felix Fietkau [Sun, 19 Jul 2015 14:59:16 +0000 (14:59 +0000)]
strace: add kernel headers include to host cflags to fix build on non-linux systems

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

4 years agostrace: cross compile fix: pass HOST_*FLAGS in to ./configure
Felix Fietkau [Sun, 19 Jul 2015 14:59:09 +0000 (14:59 +0000)]
strace: cross compile fix: pass HOST_*FLAGS in to ./configure

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>
SVN-Revision: 46422

4 years agonetifd: update to the latest version, fixes setting RPS/XPS for wlan devices
Felix Fietkau [Sat, 18 Jul 2015 23:14:19 +0000 (23:14 +0000)]
netifd: update to the latest version, fixes setting RPS/XPS for wlan devices

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

4 years agokernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in netifd...
Felix Fietkau [Sat, 18 Jul 2015 22:49:39 +0000 (22:49 +0000)]
kernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in netifd with musl)

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

4 years agoar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.
John Crispin [Sat, 18 Jul 2015 21:15:42 +0000 (21:15 +0000)]
ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.

As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working
on these devices. This adds them to the calibration data loading introduced in
r46244 and thus makes 5GHz work again for these devices.

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

4 years agoar71xx: use automatic firmware partition splitting for devolo dLAN devices
John Crispin [Sat, 18 Jul 2015 21:15:36 +0000 (21:15 +0000)]
ar71xx: use automatic firmware partition splitting for devolo dLAN devices

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

4 years agocfg80211: fix a locking issue (#20098)
Felix Fietkau [Sat, 18 Jul 2015 19:10:38 +0000 (19:10 +0000)]
cfg80211: fix a locking issue (#20098)

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