openwrt.git
8 years agoar71xx: compex wpj531 fix setting mac address on ethernet
blogic [Thu, 9 Jul 2015 07:01:55 +0000 (07:01 +0000)]
ar71xx: compex wpj531 fix setting mac address on ethernet

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46282 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: compex wpj531 fix ethernet registration
blogic [Thu, 9 Jul 2015 06:59:18 +0000 (06:59 +0000)]
ar71xx: compex wpj531 fix ethernet registration

In fb6f62e97733312053ab593fcf68eea47a21169e several settings
are set on the ethernet device, but they are not working.

Fix Ethernet by setting the right values.

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46281 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: ag71xx remove IRQF_DISABLED
blogic [Thu, 9 Jul 2015 06:57:39 +0000 (06:57 +0000)]
ar71xx: ag71xx remove IRQF_DISABLED

no-op since 2.6.35
removed in Kernel 4.1
see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46280 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agompc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1
blogic [Thu, 9 Jul 2015 06:56:45 +0000 (06:56 +0000)]
mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1

This patch adds the RFKill GPIO control switch and enables another GPIO to
control power supply to USB Ports by emulating an LED GPIO for WDR4900v1.

Signed-off-by: Guo Wei Lim <alphasparc@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46279 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: try to workaround some brcmfmac bug with handling interfaces
rmilecki [Thu, 9 Jul 2015 06:09:50 +0000 (06:09 +0000)]
mac80211: try to workaround some brcmfmac bug with handling interfaces

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46278 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: modules: activate wpan on kernel 4.1
hauke [Wed, 8 Jul 2015 20:43:23 +0000 (20:43 +0000)]
kernel: modules: activate wpan on kernel 4.1

Make wpan depend on not kernel 3.18 so it will get activated on all
other kernel versions like 4.0 and 4.1.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46276 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoswconfig: swlib.c: Fix another memleak
nbd [Wed, 8 Jul 2015 15:59:38 +0000 (15:59 +0000)]
swconfig: swlib.c: Fix another memleak

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46275 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix board name ordering
blogic [Wed, 8 Jul 2015 14:26:18 +0000 (14:26 +0000)]
ar71xx: fix board name ordering

r46248 added case statements in the same places

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46274 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofstools: fstab.init fix spelling
blogic [Wed, 8 Jul 2015 14:26:12 +0000 (14:26 +0000)]
fstools: fstab.init fix spelling

fix a very minor typo in warning message

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46273 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocomgt: make ncm proto work via wwan proto
blogic [Wed, 8 Jul 2015 14:26:04 +0000 (14:26 +0000)]
comgt: make ncm proto work via wwan proto

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46272 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: implemented basic GPIO control
blogic [Wed, 8 Jul 2015 14:25:52 +0000 (14:25 +0000)]
base-files: implemented basic GPIO control

Internal GPIO pins are used for PoE passthrough setups in multi-port
routers. This patch implemnets control over this hardware feature for
Ubiquiti Nanostations and TP-Link CPE510.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46271 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Fix LED-to-phy mapping for EnGenius ESR1750.
blogic [Wed, 8 Jul 2015 14:25:45 +0000 (14:25 +0000)]
ar71xx: Fix LED-to-phy mapping for EnGenius ESR1750.

wlan5g is phy0tpt and wlan2g phy1tpt.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46270 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: add harddisk support
blogic [Wed, 8 Jul 2015 14:25:36 +0000 (14:25 +0000)]
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/trunk@46269 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agompc85xx: disable SPE FPU support until musl gets support for it (fixes #19896)
nbd [Wed, 8 Jul 2015 12:06:16 +0000 (12:06 +0000)]
mpc85xx: disable SPE FPU support until musl gets support for it (fixes #19896)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46268 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: add powerpc soft-float support
nbd [Wed, 8 Jul 2015 12:06:03 +0000 (12:06 +0000)]
musl: add powerpc soft-float support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46267 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: call a_crash() inside __stack_chk_fail_local instead of calling __stack_chk_fail
nbd [Wed, 8 Jul 2015 12:05:55 +0000 (12:05 +0000)]
musl: call a_crash() inside __stack_chk_fail_local instead of calling __stack_chk_fail

Fixes relocation errors on PowerPC

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46266 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing config symbol (fixes #19880)
nbd [Wed, 8 Jul 2015 08:20:44 +0000 (08:20 +0000)]
kernel: add missing config symbol (fixes #19880)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46265 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing 4.1 config symbol
nbd [Wed, 8 Jul 2015 08:20:38 +0000 (08:20 +0000)]
kernel: add missing 4.1 config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46264 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonvram: get rid of NVRAM_SPACE
rmilecki [Wed, 8 Jul 2015 06:05:43 +0000 (06:05 +0000)]
nvram: get rid of NVRAM_SPACE

Now we support NVRAM whatever its size is.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46262 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonvram: fix displayed info about NVRAM size
rmilecki [Wed, 8 Jul 2015 05:42:30 +0000 (05:42 +0000)]
nvram: fix displayed info about NVRAM size

Use actual partition size and content offset to calculate it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46260 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoRevert "ar71xx: Allow to use ath79_gpio_output_select on QCA955x" (r46240)
nbd [Tue, 7 Jul 2015 22:44:28 +0000 (22:44 +0000)]
Revert "ar71xx: Allow to use ath79_gpio_output_select on QCA955x" (r46240)

It breaks the build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46256 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/feeds: print the source of packages installed
cyrus [Tue, 7 Jul 2015 22:32:38 +0000 (22:32 +0000)]
scripts/feeds: print the source of packages installed

Can be helpful in diagnosing unexpected package overlaps between
feeds/core.

Signed-off-by: Karl Palsson <karlp@remake.is>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46255 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: fix compile error after mac80211 update
nbd [Tue, 7 Jul 2015 22:07:22 +0000 (22:07 +0000)]
mwlwifi: fix compile error after mac80211 update

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46254 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoRevert "Revert "nvram: increase NVRAM size to 64 KiB""
rmilecki [Tue, 7 Jul 2015 22:06:04 +0000 (22:06 +0000)]
Revert "Revert "nvram: increase NVRAM size to 64 KiB""

This reverts commit r45579.

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

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

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

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

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46253 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonvram: fix "Segmentation fault" caused by setting memory out of buffer
rmilecki [Tue, 7 Jul 2015 21:21:49 +0000 (21:21 +0000)]
nvram: fix "Segmentation fault" caused by setting memory out of buffer

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

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

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46251 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add support for Cisco-Linksys WAP4410N
blogic [Tue, 7 Jul 2015 18:06:39 +0000 (18:06 +0000)]
ar71xx: Add support for Cisco-Linksys WAP4410N

This patch adds support for the Cisco WAP4410N, an access point that uses the
AR9132 SoC. Web upgrades from stock are not yet possible, UART access required
for the initial flash.

Signed-off-by: Ryan A Young <rayoung@utexas.edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46250 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogdb: fix compilation for x86_64 with musl
cyrus [Tue, 7 Jul 2015 17:30:08 +0000 (17:30 +0000)]
gdb: fix compilation for x86_64 with musl

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46249 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for D-Link DIR-615 rev. Ix board
blogic [Tue, 7 Jul 2015 13:48:39 +0000 (13:48 +0000)]
ar71xx: add support for D-Link DIR-615 rev. Ix board

Based on trunk r46212.

Signed-off-by: Jaehoon You <teslamint@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46248 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomips: Free memory when load_module fails (#14453)
blogic [Tue, 7 Jul 2015 13:48:27 +0000 (13:48 +0000)]
mips: Free memory when load_module fails (#14453)

The mips reloc patch introduced new allocations which were done before
add_unformed_module but never freed them in case of an error. A new hook in
Linux 3.19 called module_arch_freeing_init can be used for freeing memory
which were allocated during this init phase.

The problem can be seen when trying to load a module (via busybox insmod)
when it was already loaded.

    free -m
    for i in `seq 1 100`; do
        /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null
    done
    free -m

This simple loop would leak ~3.2 MB.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46247 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: bump to latest git HEAD
blogic [Tue, 7 Jul 2015 13:48:17 +0000 (13:48 +0000)]
ubus: bump to latest git HEAD

fixes a bug where gid was checked twice instead of the uid/gid combo

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46246 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Drop ath10k workaround for providing calibration data
blogic [Tue, 7 Jul 2015 13:48:06 +0000 (13:48 +0000)]
mac80211: Drop ath10k workaround for providing calibration data

Ath10k has now a proper method of providing calibration data via
the kernel firmware API. This patch can be dropped as all boards
now use the proper method.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46245 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Unify ath10k calibration data loading
blogic [Tue, 7 Jul 2015 13:47:57 +0000 (13:47 +0000)]
ar71xx: Unify ath10k calibration data loading

Currently one board uses the "proper" way of providing firmware
with the name ath10k/cal-pci-<pci address>.bin, whereas other
boards patch board.bin template in preinit and rely on a custom
ath10k patch to use calibration data from the template.

This patch makes all boards use the first method.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46244 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: ath9k: fix qca956x name also
blogic [Tue, 7 Jul 2015 13:47:51 +0000 (13:47 +0000)]
mac80211: ath9k: fix qca956x name also

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46243 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: move wpan to separate menu
blogic [Tue, 7 Jul 2015 13:47:45 +0000 (13:47 +0000)]
kernel: move wpan to separate menu

bluetooth is separate from 802.11 entries too

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46242 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Use *_eth_cfg helper for Open Mesh MR900 boards
blogic [Tue, 7 Jul 2015 13:47:39 +0000 (13:47 +0000)]
ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boards

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46241 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Allow to use ath79_gpio_output_select on QCA955x
blogic [Tue, 7 Jul 2015 13:47:30 +0000 (13:47 +0000)]
ar71xx: Allow to use ath79_gpio_output_select on QCA955x

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46240 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosysctl: read settings from /etc/sysctl.d/*.conf
blogic [Tue, 7 Jul 2015 13:47:23 +0000 (13:47 +0000)]
sysctl: read settings from /etc/sysctl.d/*.conf

This changes makes it possible to store custom settings
in individual files inside the directory /etc/sysctl.d/.

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46239 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for TL-WR741ND v5
blogic [Tue, 7 Jul 2015 13:47:17 +0000 (13:47 +0000)]
ar71xx: add support for TL-WR741ND v5

This device is identical to the TL-WR740N v5, it even uses the same HWID (which
wasn't the case for older TL-WR741ND revisions).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46238 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: mtd backport for Spansion S25FL164K
blogic [Tue, 7 Jul 2015 13:47:08 +0000 (13:47 +0000)]
generic: mtd backport for Spansion S25FL164K

Backport for the Spansion S25FL164K
It's a 8 MiB flash chip with 4 KiB erase sectors.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46237 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add Support for the Bitmain Antminer S3
blogic [Tue, 7 Jul 2015 13:46:54 +0000 (13:46 +0000)]
ar71xx: Add Support for the Bitmain Antminer S3

This patch adds support for the Bitmain Antminer S3 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s3

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46236 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: allow pci calibration fixup to work with ar9344
blogic [Tue, 7 Jul 2015 13:46:44 +0000 (13:46 +0000)]
ar71xx: allow pci calibration fixup to work with ar9344

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46235 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for ubnt rocket-m ti
blogic [Tue, 7 Jul 2015 13:46:38 +0000 (13:46 +0000)]
ar71xx: add support for ubnt rocket-m ti

rocket-m titanium is a device based on ar9344 with 802.11af poe.
It doesn't use the SoC wifi, instead it's using an ar9280 connected to
the pci bus. The gps version of the rocket-m ti is working, but
gps is untested. The gps is connected to the first serial port.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46234 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86/xen_domu: enable image generation
blogic [Tue, 7 Jul 2015 13:46:26 +0000 (13:46 +0000)]
x86/xen_domu: enable image generation

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

This fixes #18074.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46233 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoswconfig: swlib.c: free name and description of attributes
blogic [Tue, 7 Jul 2015 13:46:16 +0000 (13:46 +0000)]
swconfig: swlib.c: free name and description of attributes

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46232 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoswconfig: swlib.c: free portmaps in swlib_free()
blogic [Tue, 7 Jul 2015 13:46:05 +0000 (13:46 +0000)]
swconfig: swlib.c: free portmaps in swlib_free()

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46231 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoswconfig: swlib.c: remove const qualifier for val.s since this is supposed to be...
blogic [Tue, 7 Jul 2015 13:45:56 +0000 (13:45 +0000)]
swconfig: swlib.c: remove const qualifier for val.s since this is supposed to be free'd

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46230 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoswconfig: swlib.c: free device name and alias
blogic [Tue, 7 Jul 2015 13:45:44 +0000 (13:45 +0000)]
swconfig: swlib.c: free device name and alias

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46229 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Enable sysupgrade on the Bitmain Antminer S1
blogic [Tue, 7 Jul 2015 13:45:37 +0000 (13:45 +0000)]
ar71xx: Enable sysupgrade on the Bitmain Antminer S1

This patch enables sysupgrade for the Bitmain Antminer S1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46228 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
blogic [Tue, 7 Jul 2015 13:45:30 +0000 (13:45 +0000)]
ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.

The designated blue WAN port on both devices has index 5, not 1.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46227 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add LED defaults for the EnGenius EPG5000
blogic [Tue, 7 Jul 2015 13:45:20 +0000 (13:45 +0000)]
ar71xx: add LED defaults for the EnGenius EPG5000

NB that wlan5g is phy0tpt and wlan2g phy1tpt.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46226 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)
blogic [Tue, 7 Jul 2015 13:45:10 +0000 (13:45 +0000)]
uboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)

uboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)

Signed-off-by: Jannis Pinter <jannis@pinterjann.is>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46225 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)
blogic [Tue, 7 Jul 2015 13:44:58 +0000 (13:44 +0000)]
lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)

lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)

Signed-off-by: Jannis Pinter <jannis@pinterjann.is>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46224 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Add support for the BT Home Hub 5A
blogic [Tue, 7 Jul 2015 13:44:53 +0000 (13:44 +0000)]
lantiq: Add support for the BT Home Hub 5A

u-boot support depends on the next "upstream" version ([0]) from
Daniel Schwierzeck.
Since the installation process is quite complicated a "how to" was
added to the wiki: [1]

[0] https://github.com/danielschwierzeck/u-boot-lantiq/tree/openwrt/v2014.01-next
[1] http://wiki.openwrt.org/toh/bt/homehub_v5a

V2: Use the correct PCI interrupt (fixes 2.4GHz wifi)
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46223 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Silence the printk when a PCIe error interrupt arrives
blogic [Tue, 7 Jul 2015 13:44:37 +0000 (13:44 +0000)]
lantiq: Silence the printk when a PCIe error interrupt arrives

Basically the only error I am seeing is "Correctable Error". Also newer
lantiq PCIe drivers have this message wrapped in a "if debug enabled"
block. So it should be safe to disable this warning.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46222 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Make the MEI address available for kernel drivers
blogic [Tue, 7 Jul 2015 13:44:32 +0000 (13:44 +0000)]
lantiq: Make the MEI address available for kernel drivers

Newer DSL driver versions depend on the address information.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46221 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: Allow configuring an increment with mtd-mac-address
blogic [Tue, 7 Jul 2015 13:44:27 +0000 (13:44 +0000)]
generic: Allow configuring an increment with mtd-mac-address

This is useful if the device also has an ethernet WAN interface with a
separate mac address (that is derived from the LAN mac address).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46220 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Change the data-type of mac address in ETOP driver
blogic [Tue, 7 Jul 2015 13:44:12 +0000 (13:44 +0000)]
lantiq: Change the data-type of mac address in ETOP driver

Make it consistent with the net_device struct and the xrx200 driver

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46219 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Make ATM and PTM drivers compatible with kernel 4.1
blogic [Tue, 7 Jul 2015 13:44:04 +0000 (13:44 +0000)]
lantiq: Make ATM and PTM drivers compatible with kernel 4.1

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46218 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Make ltq-ifxos compile with kernel 4.1
blogic [Tue, 7 Jul 2015 13:43:54 +0000 (13:43 +0000)]
lantiq: Make ltq-ifxos compile with kernel 4.1

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46217 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Add support for linux 4.1
blogic [Tue, 7 Jul 2015 13:43:47 +0000 (13:43 +0000)]
lantiq: Add support for linux 4.1

All (still relevant) patches were refresh.
The following patches were dropped because they are applied upstream:
- 0003-MIPS-lantiq-handle-vmmc-memory-reservation.patch
- 0005-MIPS-lantiq-add-reset-controller-api-support.patch
- 0006-MIPS-lantiq-reboot-gphy-on-restart.patch
- 0009-MIPS-lantiq-command-line-work-around.patch
- 0010-MIPS-lantiq-export-soc-type.patch
- 0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch
- 0037-MIPS-lantiq-move-eiu-init-after-irq_domain-register.patch

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46216 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: a5-v11 board fix power led blinking at boot
blogic [Tue, 7 Jul 2015 13:43:37 +0000 (13:43 +0000)]
ramips: a5-v11 board fix power led blinking at boot

Signed-off-by: Konrad Kotowicz <skoti1@go2.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46215 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix typo in WHR1166D mtd size variable
blogic [Tue, 7 Jul 2015 13:43:28 +0000 (13:43 +0000)]
ramips: fix typo in WHR1166D mtd size variable

Fix typo in WHR1166D mtd size variable

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46214 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: update to the latest version, fix stdout logging
rmilecki [Tue, 7 Jul 2015 10:22:25 +0000 (10:22 +0000)]
procd: update to the latest version, fix stdout logging

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46212 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: Add sequential_ip UCI parameter
cyrus [Tue, 7 Jul 2015 08:13:22 +0000 (08:13 +0000)]
dnsmasq: Add sequential_ip UCI parameter

When enabled the dnsmasq DHCP server allocates the IP addresses sequentially
starting from the lowest available IP address.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46211 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: enable extra tracing by default when UCI parameter logqueries is set
cyrus [Tue, 7 Jul 2015 08:13:16 +0000 (08:13 +0000)]
dnsmasq: enable extra tracing by default when UCI parameter logqueries is set

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46210 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: update regulatory database to master-2015-06-05
nbd [Tue, 7 Jul 2015 08:06:10 +0000 (08:06 +0000)]
mac80211: update regulatory database to master-2015-06-05

Signed-off-by: Petko Bordjukov <bordjukov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46209 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for ap143
nbd [Tue, 7 Jul 2015 08:06:05 +0000 (08:06 +0000)]
ar71xx: add support for ap143

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46208 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: rework patch for qca953x/956x
nbd [Tue, 7 Jul 2015 08:05:55 +0000 (08:05 +0000)]
ar71xx: rework patch for qca953x/956x

Patch cherry-picked from the following location:
https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/commit/?h=release/coconut_ioe4531_2.0&id=5c357bf6c763e4140dddcc9a3bc5f005525a9c0e

Changelist,
    - add more register defines
    - add EHCI support
    - fix GPIO pin count to 18
    - fix chained irq disabled
    - fix GMAC0/GMAC1 initial
    - fix WMAC irq number to 47
    - merge the changes of dev-eth.c from the patch to file.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46207 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND...
nbd [Tue, 7 Jul 2015 08:05:50 +0000 (08:05 +0000)]
ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND v9, Compex WPJ531)

The initialization routines for these boards were relying on some (wrong)
defaults for the QCA953x ethernet. Make these defaults explicit to prevent
breaking them when the QCA953x defaults are fixed.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46206 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix compile warning in rt2800lib.c
hauke [Mon, 6 Jul 2015 21:43:48 +0000 (21:43 +0000)]
mac80211: fix compile warning in rt2800lib.c

reorder some parts of the patch to remove the declaration-after-
statement warning.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46205 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add kernel 4.1 support again
hauke [Mon, 6 Jul 2015 21:32:17 +0000 (21:32 +0000)]
mac80211: add kernel 4.1 support again

The new version now works with kernel 4.1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46204 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: remove useless patch
hauke [Mon, 6 Jul 2015 21:31:40 +0000 (21:31 +0000)]
mac80211: remove useless patch

unregister_netdevice_many() was extended in this commit to also delete unreg_list:
https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=97666f936e0656a1b28c40cc33981a8db65e1a11

This patch is no longer needed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46203 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: remove useless patch
hauke [Mon, 6 Jul 2015 21:31:13 +0000 (21:31 +0000)]
mac80211: remove useless patch

This patch was already applied upstream, linux/device.h gets included 2
lines above this change.

This was done in this commit:
https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=fd6bb301116d48c50722b0a4399e26ab0237e563

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46202 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add missing patch chunk
nbd [Mon, 6 Jul 2015 18:41:17 +0000 (18:41 +0000)]
mac80211: add missing patch chunk

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46201 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix kernel Oops in at803x_link_change_notify
nbd [Mon, 6 Jul 2015 17:27:29 +0000 (17:27 +0000)]
ar71xx: fix kernel Oops in at803x_link_change_notify

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

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46200 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: update to the latest version, fixes a segfault on message retry
nbd [Mon, 6 Jul 2015 16:44:45 +0000 (16:44 +0000)]
ubus: update to the latest version, fixes a segfault on message retry

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46199 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: update to version 2015-06-22
nbd [Mon, 6 Jul 2015 16:26:34 +0000 (16:26 +0000)]
mac80211: update to version 2015-06-22

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46198 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath10k: remove support for the obsolete STA firmware
nbd [Mon, 6 Jul 2015 10:21:26 +0000 (10:21 +0000)]
ath10k: remove support for the obsolete STA firmware

Current firmware should work for station mode as well, and the older
firmware will usually behave worse and become unsupported over time.
Also, the MAC address handling on ar71xx is only implemented on one
firmware version.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46197 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: update preinit script for new ath10k firmware
nbd [Mon, 6 Jul 2015 10:19:21 +0000 (10:19 +0000)]
ar71xx: update preinit script for new ath10k firmware

Update firmware name and md5sum. MAC-address location remains
unchanged from previous version.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46196 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Update QCA9880 firmware to 10.2.4.70-2
nbd [Mon, 6 Jul 2015 10:19:08 +0000 (10:19 +0000)]
mac80211: Update QCA9880 firmware to 10.2.4.70-2

This firmware adds support for management frames over normal
packet transport interface instead of over the WMI management
interface.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46195 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: Backport ath10k firmware API v5 support
nbd [Mon, 6 Jul 2015 10:19:02 +0000 (10:19 +0000)]
mac80211: Backport ath10k firmware API v5 support

These patches add support for the new version 5 firmware API.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46194 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix UAP-PRO images
nbd [Mon, 6 Jul 2015 10:18:50 +0000 (10:18 +0000)]
ar71xx: fix UAP-PRO images

- it should be BOARDNAME instead of BOARD_NAME
- kernel partition should be padded to 1536k (somehow this padding was lost in translation to BuildCode in bc797c73f6328941b2194d144385655ad9297e7c)

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46193 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouclibc++: link libssp_nonshared only for musl
cyrus [Mon, 6 Jul 2015 08:55:28 +0000 (08:55 +0000)]
uclibc++: link libssp_nonshared only for musl

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46192 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: microtik: disable all non-microtik boards
jogo [Sun, 5 Jul 2015 21:33:31 +0000 (21:33 +0000)]
ar71xx: microtik: disable all non-microtik boards

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46191 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: EPG5000 requires ATH79_NVRAM
jogo [Sun, 5 Jul 2015 21:33:28 +0000 (21:33 +0000)]
ar71xx: EPG5000 requires ATH79_NVRAM

EPG5000 uses ath79 nvram functions, but does not select it. This breaks
build if no other board support enabling nvram support is selected.

Closes #19952.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46190 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoixp4xx: add linux 4.1 support
jogo [Sun, 5 Jul 2015 21:33:21 +0000 (21:33 +0000)]
ixp4xx: add linux 4.1 support

Compile tested only.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46189 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add a few more missing config symbols
jogo [Sun, 5 Jul 2015 21:32:55 +0000 (21:32 +0000)]
kernel: add a few more missing config symbols

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46188 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: generic: add missing arm machtypes
jogo [Sun, 5 Jul 2015 21:32:49 +0000 (21:32 +0000)]
kernel: generic: add missing arm machtypes

Some machtypes were dropped when 4.0 support was added, and the
incomplete patch was taken over to 4.1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46187 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar7: add linux 4.1 support
jogo [Sun, 5 Jul 2015 21:32:44 +0000 (21:32 +0000)]
ar7: add linux 4.1 support

Compile tested only.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46186 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage: ar7-atm: depend on !LINUX_4_1
jogo [Sun, 5 Jul 2015 21:31:57 +0000 (21:31 +0000)]
package: ar7-atm: depend on !LINUX_4_1

ar7-atm will require modifications to build on 4.1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46185 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler
jogo [Sun, 5 Jul 2015 21:31:54 +0000 (21:31 +0000)]
kernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler

Code calling fpu_emulator_cop1Handler will pass on fault_addr, making gcc
complain about it not being initialized when the FPU emulator is disabled.

Fixes:

arch/mips/kernel/traps.c: In function 'do_fpe':
arch/mips/kernel/traps.c:864:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  process_fpemu_return(sig, fault_addr, fcr31);
                      ^
arch/mips/kernel/traps.c: In function 'do_ri':
arch/mips/kernel/traps.c:806:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  process_fpemu_return(sig, fault_addr, fcr31);
                      ^
arch/mips/kernel/traps.c:763:15: note: 'fault_addr' was declared here
  void __user *fault_addr;
               ^
arch/mips/kernel/traps.c: In function 'do_cpu':
arch/mips/kernel/traps.c:1421:28: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (!process_fpemu_return(sig, fault_addr, fcr31) && !err)
                            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/kernel/traps.o] Error 1

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46184 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: use IRQCHIP_DECLARE instead of self-baked version
jogo [Sun, 5 Jul 2015 21:31:52 +0000 (21:31 +0000)]
brcm63xx: use IRQCHIP_DECLARE instead of self-baked version

Backport a commit from 4.2 making IRQCHIP_DECLARE available outside of
drivers/irqchip and use it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46183 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: assume modules.builtin is always present
jogo [Sun, 5 Jul 2015 21:31:34 +0000 (21:31 +0000)]
kernel: assume modules.builtin is always present

We do not support old kernel versions not generating modules.builtin
anymore, so assume it will always be present and check for modules
to be built in first.

This prevents old modules being packages up after changing the kernel
config to include them in the kernel without cleaning the kernel tree.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46182 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: 4.1: switch to upstream UHI interface
jogo [Sun, 5 Jul 2015 11:28:46 +0000 (11:28 +0000)]
brcm63xx: 4.1: switch to upstream UHI interface

Replace the appended dtb patch with the upstream accepted version and
update the code to work with the changed interface.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46181 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add crypto-cmac
hauke [Sat, 4 Jul 2015 22:33:00 +0000 (22:33 +0000)]
kernel: add crypto-cmac

The bluetooth driver needs this new crypto lib in kernel 4.1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46180 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix loading bluetooth_6lowpan
hauke [Sat, 4 Jul 2015 22:32:04 +0000 (22:32 +0000)]
kernel: fix loading bluetooth_6lowpan

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46179 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: kmod-scsi-core: fix load on install
jogo [Sat, 4 Jul 2015 12:52:57 +0000 (12:52 +0000)]
kernel: kmod-scsi-core: fix load on install

sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46176 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscons: change md5sum to new release
hauke [Sat, 4 Jul 2015 08:54:20 +0000 (08:54 +0000)]
scons: change md5sum to new release

The developers of scons found a bug in the packaging of their release
and just replaced the already released version with a new one without
changing the version number. This breaks the download script because it
also has a new md5sum.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46175 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: add Device Tree based board detection
florian [Sat, 4 Jul 2015 01:25:15 +0000 (01:25 +0000)]
at91: add Device Tree based board detection

Set up eth0 as LAN interface by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46174 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: sama5d3: enable USB2 by default
florian [Sat, 4 Jul 2015 01:24:48 +0000 (01:24 +0000)]
at91: sama5d3: enable USB2 by default

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46173 3c298f89-4303-0410-b956-a3cf2f4a3e73