openwrt.git
8 years agoramips: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:18:14 +0000 (12:18 +0000)]
ramips: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agomalta: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:18:05 +0000 (12:18 +0000)]
malta: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agobrcm63xx: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:18:00 +0000 (12:18 +0000)]
brcm63xx: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agobrcm47xx: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:17:57 +0000 (12:17 +0000)]
brcm47xx: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agoath25: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:17:56 +0000 (12:17 +0000)]
ath25: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agoadm5120: disable the openwrt commandline hack
jogo [Sun, 30 Aug 2015 12:17:54 +0000 (12:17 +0000)]
adm5120: disable the openwrt commandline hack

We don't make use of it, so no need to have it enabled.

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

8 years agobrcm63xx: remove legacy led/button related patches
jogo [Sun, 30 Aug 2015 12:17:52 +0000 (12:17 +0000)]
brcm63xx: remove legacy led/button related patches

We register all gpio buttons and leds through DT, so no need to keep
fixes/additions for the platform data based bay.

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

8 years agobrcm63xx: add Comtrend VR-3026e support
jogo [Sun, 30 Aug 2015 12:17:46 +0000 (12:17 +0000)]
brcm63xx: add Comtrend VR-3026e support

Add support for Comtrend VR-3026e v1.
The device is almost identical to the Comtrend VR-3025un.

Signed-off-by: Martin Tesar <tesarmar@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46752 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-wl: add interface after bridge is up
hauke [Sat, 29 Aug 2015 20:05:04 +0000 (20:05 +0000)]
broadcom-wl: add interface after bridge is up

Without this patch adding the wifi device to the bridge may fail
because the bridge is not already configured when the wifi device gets
configured. This patch makes broadcom-wl wait till the bridge is ready.

This fixes #17262

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

8 years agobroadcom-wl: fix bash comparison error
hauke [Sat, 29 Aug 2015 17:38:15 +0000 (17:38 +0000)]
broadcom-wl: fix bash comparison error

This fixes #17495

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46746 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-wl: fix section mismatches in broadcom-wl driver
hauke [Sat, 29 Aug 2015 17:37:41 +0000 (17:37 +0000)]
broadcom-wl: fix section mismatches in broadcom-wl driver

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

8 years agobroadcom-wl: fix build with kernel 4.1
hauke [Sat, 29 Aug 2015 17:37:09 +0000 (17:37 +0000)]
broadcom-wl: fix build with kernel 4.1

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

8 years agobrcm47xx: fix Linksys E1200 V2 image filename
rmilecki [Sat, 29 Aug 2015 09:23:19 +0000 (09:23 +0000)]
brcm47xx: fix Linksys E1200 V2 image filename

Drop unwanted suffix (copy & paste mistake).

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

8 years agomt76: update to the latest version, fixes some tx power issues
nbd [Fri, 28 Aug 2015 07:05:41 +0000 (07:05 +0000)]
mt76: update to the latest version, fixes some tx power issues

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

8 years agomac80211: add pending brcmfmac patch fixing warm reboots
rmilecki [Thu, 27 Aug 2015 14:39:30 +0000 (14:39 +0000)]
mac80211: add pending brcmfmac patch fixing warm reboots

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

8 years agouci: update to the latest version, adds various fixes
nbd [Thu, 27 Aug 2015 12:43:27 +0000 (12:43 +0000)]
uci: update to the latest version, adds various fixes

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

8 years agohostapd: properly enable 802.11w support
nbd [Thu, 27 Aug 2015 12:43:22 +0000 (12:43 +0000)]
hostapd: properly enable 802.11w support

Add CONFIG_IEEE80211W variable to DRIVER_MAKEOPTS so that 802.11w
support is properly compiled in full variant.

This fixes #20179

Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46737 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add pending brcmfmac patches fixing multiple interfaces
rmilecki [Wed, 26 Aug 2015 22:10:14 +0000 (22:10 +0000)]
mac80211: add pending brcmfmac patches fixing multiple interfaces

So far support for multiple interface was somehow broken in brcmfmac.
Driver couldn't correctly match firmware and system interfaces resulting
in not working APs and WARNINGs. This pending patches fixes that :)

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

8 years agobcm53xx: support sysupgrade with Netgear R7000 original firmware
rmilecki [Wed, 26 Aug 2015 15:21:14 +0000 (15:21 +0000)]
bcm53xx: support sysupgrade with Netgear R7000 original firmware

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

8 years agobcm53xx: add OpenWrt specific stuff for Netgear R7000
rmilecki [Wed, 26 Aug 2015 15:21:07 +0000 (15:21 +0000)]
bcm53xx: add OpenWrt specific stuff for Netgear R7000

This adds DT things that couldn't be upstreamed yet.

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

8 years agobcm53xx: use pending Netgear R7000 patch
rmilecki [Wed, 26 Aug 2015 14:51:47 +0000 (14:51 +0000)]
bcm53xx: use pending Netgear R7000 patch

It includes support for LEDs and buttons.

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

8 years agobcm53xx: use backported patches for UART0 and profiling
rmilecki [Wed, 26 Aug 2015 14:39:06 +0000 (14:39 +0000)]
bcm53xx: use backported patches for UART0 and profiling

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

8 years agobrcm63xx: fix WAP-5813n default network config
jogo [Wed, 26 Aug 2015 13:03:09 +0000 (13:03 +0000)]
brcm63xx: fix WAP-5813n default network config

/etc/uci-defaults/02_network had a typo, making it generate the wrong
network config.

Closes #20407.

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

8 years agolinux: fix off-by-one in handling in /proc/net/route
jogo [Wed, 26 Aug 2015 10:11:41 +0000 (10:11 +0000)]
linux: fix off-by-one in handling in /proc/net/route

Add an upstream fix for /proc/net/route causing missing routes doing
several continued reads from it.

Only 4.1+ is affected.

Closes #20403.

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

8 years agobrcm63xx: enable dual rx/tx spi support for hsspi
jogo [Tue, 25 Aug 2015 22:04:53 +0000 (22:04 +0000)]
brcm63xx: enable dual rx/tx spi support for hsspi

should improve flash access times. Should be harmless to gnerally
enable regardless if a flash supporting dual reads is attached. In
doubt, spi-nor will just fall back to serial reads.

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

8 years agomac80211: backport latest patches except for NVRAM support
rmilecki [Tue, 25 Aug 2015 15:20:48 +0000 (15:20 +0000)]
mac80211: backport latest patches except for NVRAM support

We sill don't use kernel 4.2 which is required for backporting using
upstream NVRAM support patch.

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

8 years agoscripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches
nbd [Tue, 25 Aug 2015 07:46:32 +0000 (07:46 +0000)]
scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches

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

8 years agorules.mk: remove GCC 4.4 and GCC 4.5 conditional
nbd [Tue, 25 Aug 2015 07:45:42 +0000 (07:45 +0000)]
rules.mk: remove GCC 4.4 and GCC 4.5 conditional

gcc 4.4 was removed in r44957 gcc: remove 4.4.7 (only used by avr32)
gcc 4.5 was removed in r36149

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

8 years agokernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()
nbd [Tue, 25 Aug 2015 07:25:20 +0000 (07:25 +0000)]
kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

A call to pskb_may_pull() might reallocate skb->data. Therefore we
should only assign the src-pointer after any potential reallocations.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46721 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoRevert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitati...
nbd [Tue, 25 Aug 2015 07:25:10 +0000 (07:25 +0000)]
Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

This reverts commit a080e8e1943156168913d0353a2e99d1151102aa.

It did not fix the problem but just hid some symptom. The real issue was
that IGMP/MLD report suppression was not considered for the
multicast-to-unicast feature. A recent netifd which isolates IGMP/MLD
reports between STAs by utilizing AP-isolation and bridge-hairpinning
should have fixed this.

It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor
Solicitations, too (once that feature is configured correctly).

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46720 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: update to the latest version, adds multicast-to-unicast fixes
nbd [Tue, 25 Aug 2015 07:24:53 +0000 (07:24 +0000)]
netifd: update to the latest version, adds multicast-to-unicast fixes

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

8 years agonetifd: various updates
cyrus [Tue, 25 Aug 2015 06:27:37 +0000 (06:27 +0000)]
netifd: various updates

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

8 years agoomcproxy: fix last commit
cyrus [Mon, 24 Aug 2015 08:53:16 +0000 (08:53 +0000)]
omcproxy: fix last commit

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

8 years agoomcproxy: add new igmpv3 & mldv2 multicast proxy
cyrus [Mon, 24 Aug 2015 08:28:11 +0000 (08:28 +0000)]
omcproxy: add new igmpv3 & mldv2 multicast proxy

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

8 years agokernel: remove already upstream applied patch
jogo [Sun, 23 Aug 2015 21:33:57 +0000 (21:33 +0000)]
kernel: remove already upstream applied patch

Remove 131-MIPS-export-get_c0_perfcount_int.patch which was already applied
in 4.1.6. This fixes the following build error:

arch/mips/ath79/setup.c:217:77: error: redefinition of '__kstrtab_get_c0_perfcount_int'
arch/mips/ath79/setup.c:211:77: note: previous definition of '__kstrtab_get_c0_perfcount_int' was here
arch/mips/ath79/setup.c:217:350: error: redefinition of '__ksymtab_get_c0_perfcount_int'
arch/mips/ath79/setup.c:211:350: note: previous definition of '__ksymtab_get_c0_perfcount_int' was here
scripts/Makefile.build:258: recipe for target 'arch/mips/ath79/setup.o' failed

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

8 years agoadm5120: make patches apply again
jogo [Sun, 23 Aug 2015 19:11:07 +0000 (19:11 +0000)]
adm5120: make patches apply again

Fix patches not applying anymore since r46654.

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

8 years agokernel: update 4.1 to 4.1.6
jogo [Sun, 23 Aug 2015 18:06:11 +0000 (18:06 +0000)]
kernel: update 4.1 to 4.1.6

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

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

8 years agomvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
jogo [Sun, 23 Aug 2015 13:35:03 +0000 (13:35 +0000)]
mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled

Properly treat -ENOSYS as no PHY, else ehci-orion won't work without
generic phy support.

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

8 years agomac80211: disable ipw2x00 for big endian targets
jogo [Sun, 23 Aug 2015 09:36:03 +0000 (09:36 +0000)]
mac80211: disable ipw2x00 for big endian targets

The ipw2x00 drivers assume that the system they are running is little
endian, and access everything in native byte order. When run on a big
endian system, everything breaks apart.

Since fixing this is non trivial on a first glance, disable them for
big endian targets.

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

8 years agobrcm63xx: ensure dummy byte is set for mapped spi flash with fast read
jogo [Sun, 23 Aug 2015 09:35:56 +0000 (09:35 +0000)]
brcm63xx: ensure dummy byte is set for mapped spi flash with fast read

Some CFEs seem to misconfigure the mapped memory flash access with
fast read but without a dummy byte, causing all accesses to be prefixed
with 0xff.
This of course breaks reading out the nvram, so do not just move back to
single i/o accessors, but also ensure that the dummy byte is correctly
set.

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

8 years agoscripts/feeds: allow export of feeds with static revisions
jogo [Sun, 23 Aug 2015 09:35:46 +0000 (09:35 +0000)]
scripts/feeds: allow export of feeds with static revisions

Add a switch to scripts/feeds that allows listing the feeds with their
currently checked out revisions in feeds.conf compatible format.

This allows providing a feeds.conf for public builds to make replication
of the build easier.

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

8 years agosunxi: bump to 4.1
wigyori [Fri, 21 Aug 2015 13:23:29 +0000 (13:23 +0000)]
sunxi: bump to 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46705 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: add audio module for 4.1
wigyori [Fri, 21 Aug 2015 13:16:11 +0000 (13:16 +0000)]
sunxi: add audio module for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46704 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: update ahci package list for a couple board profiles
wigyori [Fri, 21 Aug 2015 10:16:15 +0000 (10:16 +0000)]
sunxi: update ahci package list for a couple board profiles

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46703 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: reorganize kmod-ata-sunxi dependencies
wigyori [Fri, 21 Aug 2015 10:08:07 +0000 (10:08 +0000)]
sunxi: reorganize kmod-ata-sunxi dependencies

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46702 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoNewer kernels make use of libahci in ahci-platform, ie. also on non-PCI
wigyori [Fri, 21 Aug 2015 09:48:05 +0000 (09:48 +0000)]
Newer kernels make use of libahci in ahci-platform, ie. also on non-PCI
platforms.
As there is no single config symbol deciding whether libahci.ko is
being built or not it seems the most sensitive thing to package it in
kmod-ata-core.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46701 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoThis had been set in r44508 as a workaround for switch
kaloz [Fri, 21 Aug 2015 08:10:48 +0000 (08:10 +0000)]
This had been set in r44508 as a workaround for switch
problems.

Now that the switch driver can handle two devices with
the same MAC address in separate VLANs we can go back
to using the same address on both interfaces.

This is the Linksys firmware's default behavior.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46700 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoPreviously, all VLANs (port-based or 802.1q) were sharing
kaloz [Fri, 21 Aug 2015 08:09:52 +0000 (08:09 +0000)]
Previously, all VLANs (port-based or 802.1q) were sharing
a single database in the ATU. This created problems in the
case of a system where two ports/devices share a MAC address
(e.g. Linksys WRT1900AC eth0/eth1).

This also clears any bootloader-set FDB defaults. This had
caused issues creating port-based VLANs when mappings
overlapped previous VLANs. Packets destined to a port
not in the default port group flooded all ports.

Tested on a 88E6171 (Linksys EA4500) and 88E6172 ('1900AC)

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46699 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: fix cobra chainmask
kaloz [Fri, 21 Aug 2015 08:01:48 +0000 (08:01 +0000)]
mvebu: fix cobra chainmask

Thanks Sebastian for spotting it.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46697 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing symbols for 4.1
wigyori [Thu, 20 Aug 2015 23:19:42 +0000 (23:19 +0000)]
kernel: add missing symbols for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46696 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: various RA improvements
cyrus [Thu, 20 Aug 2015 12:43:45 +0000 (12:43 +0000)]
odhcpd: various RA improvements

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

8 years agomwlwifi: fix commit hash for 10.3.0.8
kaloz [Wed, 19 Aug 2015 08:45:19 +0000 (08:45 +0000)]
mwlwifi: fix commit hash for 10.3.0.8

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46693 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: add support for the Linksys boot counter
kaloz [Wed, 19 Aug 2015 08:31:23 +0000 (08:31 +0000)]
mvebu: add support for the Linksys boot counter

The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46690 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouhttpd: we don't know where the device is located, so reflect that in the cert
kaloz [Wed, 19 Aug 2015 08:20:11 +0000 (08:20 +0000)]
uhttpd: we don't know where the device is located, so reflect that in the cert

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46688 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: upgrade to 10.3.0.8-20150818
kaloz [Tue, 18 Aug 2015 11:22:47 +0000 (11:22 +0000)]
mwlwifi: upgrade to 10.3.0.8-20150818

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46687 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoenable strong SSP / Stackprotector on gcc5
cyrus [Tue, 18 Aug 2015 09:20:34 +0000 (09:20 +0000)]
enable strong SSP / Stackprotector on gcc5

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

8 years agomusl: fix getsubopt function
cyrus [Tue, 18 Aug 2015 09:18:40 +0000 (09:18 +0000)]
musl: fix getsubopt function

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

8 years agopolarssl: Fix build failures due to PKG_NAME != dir name
cyrus [Tue, 18 Aug 2015 08:37:38 +0000 (08:37 +0000)]
polarssl: Fix build failures due to PKG_NAME != dir name

Packages that depend on PolarSSL fail to build because polarssl's InstallDev
section never actually gets executed because (prior to this patch) the package
name does not match the subdir the package is in (presumably due to upstream
name change).  As a workaround I have changed the package name back to
polarssl and used a new variable SRC_PKG_NAME for the purposes of downloading
the upstream tarball and creating PKG_BUILD_DIR.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46683 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add mt7601u driver
hauke [Mon, 17 Aug 2015 21:19:27 +0000 (21:19 +0000)]
mac80211: add mt7601u driver

firmware is not available in linux-firmware yet
so use official driver source

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

8 years agouhttpd: pass X-HTTP-Method-Override header to cgi scripts
jow [Mon, 17 Aug 2015 16:17:36 +0000 (16:17 +0000)]
uhttpd: pass X-HTTP-Method-Override header to cgi scripts

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46677 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: fix usb rate backport patch tab mangle
blogic [Mon, 17 Aug 2015 16:10:49 +0000 (16:10 +0000)]
at91: fix usb rate backport patch tab mangle

The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply.
This should fix the issue, sorry for the noise.

Signed-off-by: Ben Whitten <benwhitten@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46676 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoorion: remove IRQF_DISABLED
blogic [Mon, 17 Aug 2015 11:26:14 +0000 (11:26 +0000)]
orion: 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@46672 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: crypto: remove IRQF_DISABLED
blogic [Mon, 17 Aug 2015 11:26:02 +0000 (11:26 +0000)]
generic: crypto: 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@46671 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Support newer versions of the PEF7071 ethernet PHYs
blogic [Mon, 17 Aug 2015 11:25:57 +0000 (11:25 +0000)]
lantiq: Support newer versions of the PEF7071 ethernet PHYs

The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's
PHY driver (for his u-boot sources) already supports that PHY because
it uses a PHY ID mask of 0xfffffff8.

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

8 years agoiwinfo: update to latest git HEAD
blogic [Mon, 17 Aug 2015 11:25:51 +0000 (11:25 +0000)]
iwinfo: update to latest git HEAD

adds extra station info reporting

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

8 years agooxnas: remove support for kernel 3.18 and 4.0
blogic [Mon, 17 Aug 2015 11:25:46 +0000 (11:25 +0000)]
oxnas: remove support for kernel 3.18 and 4.0

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46668 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: move patches around
blogic [Mon, 17 Aug 2015 10:13:46 +0000 (10:13 +0000)]
ramips: move patches around

0073 needs to applied afert 0102

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

8 years agougps: update to latest git HEAD
blogic [Mon, 17 Aug 2015 10:13:03 +0000 (10:13 +0000)]
ugps: update to latest git HEAD

fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

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

8 years agoramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts
blogic [Mon, 17 Aug 2015 06:24:47 +0000 (06:24 +0000)]
ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts

Instead of using board name provided explicitly as text in LED name, ex.:

[...]
mlwg2)
status_led="mlwg2:blue:system"
[...]

use $board variable, which allows to combine together multiple boards with same color and LED names, ex:

[...]
mlw221|\
mlwg2)
status_led="$board:blue:system"
[...]

The above approach allows to shrink size of code in base-files/etc/board.d/01_leds and base-files/etc/diag.sh scripts dramatically.
One thing to keep in mind here is that we assume to use proper and consistent LED naming scheme ("device:color:led-name").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46665 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: use consistent naming scheme for LEDs
blogic [Mon, 17 Aug 2015 06:24:34 +0000 (06:24 +0000)]
ramips: use consistent naming scheme for LEDs

The upstream LED naming convention is "device:color:led-name", but it seems that many of supported boards in OpenWrt don't follow this approach.
The following patch fixes this inconsistency in dts{,i} files and updates base-files scripts for ramips target:
 * fixes wrong indentation
 * keeps case statements structure in same convention as in other scripts (no empty line after ";;", no indentation for case...esac body)
 * fixes wrong LED names for some of boards (makes them the same as in dts{,i} files)
 * combines boards with same configuration (ex. set_wifi_led "rt2800pci-phy0::radio" in 01_leds)

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46664 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for TP-Link TL-WDR6500 v2
blogic [Mon, 17 Aug 2015 06:24:04 +0000 (06:24 +0000)]
ar71xx: add support for TP-Link TL-WDR6500 v2

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This patch adds support for TP-Link TL-WDR6500 v2.

The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for
the whole firmware, so I have to create a new firmware creation method.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46663 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add 64kb bootloader mtd parser for tplinkpart
blogic [Mon, 17 Aug 2015 06:23:49 +0000 (06:23 +0000)]
ar71xx: add 64kb bootloader mtd parser for tplinkpart

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This patch adds flash layout parser for TP-Link firmwares which have a 64kb
bootloader.

This is used for TP-Link TL-WDR6500 v2.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46662 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/firmware-utils: add header version 2 support for mktplinkfw
blogic [Mon, 17 Aug 2015 06:23:43 +0000 (06:23 +0000)]
tools/firmware-utils: add header version 2 support for mktplinkfw

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This patch adds header version 2 option for mktplinkfw.

The version 2 header is used for AR/QCA firmwares and is not the same as
the header generated by mktplinkfw2.
Instead, it is nearly the same as version 1 header except for the header
version and the RSA signature.

The header version 2 support is used for newer TP-Link routers which have
only a 64kb bootloader part, e.g. TL-WDR6500 v2.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46661 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: reorder the sysupgrade script
blogic [Mon, 17 Aug 2015 06:18:38 +0000 (06:18 +0000)]
ramips: reorder the sysupgrade script

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

8 years agoramips: reorder patches
blogic [Mon, 17 Aug 2015 06:18:30 +0000 (06:18 +0000)]
ramips: reorder patches

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

8 years agoipq806x: switch AP148 to using SMEM based MTD parser
blogic [Mon, 17 Aug 2015 06:18:15 +0000 (06:18 +0000)]
ipq806x: switch AP148 to using SMEM based MTD parser

*Enable SMEM MTD parser and its dependencies (SMEM & HW spinlocks) in
 the kernel config
*Replaces the MTD layout in DT by the dynamic layout provided by the
 SMEM parser for AP148

Using the OF based parser is still possible on platforms which have a
fixed MTD partition layout.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46658 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: add QCOM SMEM based MTD parser
blogic [Mon, 17 Aug 2015 06:18:04 +0000 (06:18 +0000)]
ipq806x: add QCOM SMEM based MTD parser

This patch adds a new parser which uses the SMEM available on IPQ and
some other QCOM platforms to map the MTD partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46657 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: add SMEM support
blogic [Mon, 17 Aug 2015 06:17:58 +0000 (06:17 +0000)]
ipq806x: add SMEM support

2 patches are cherry-picked from the following LKML thread:
*https://lkml.org/lkml/2015/4/11/208

The last patch (036-soc-qcom-add-smem-to-IPQ806x-platforms.patch) is
adding the corresponding DT nodes required for IPQ806x.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46656 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: add hwspinlock support
blogic [Mon, 17 Aug 2015 06:17:47 +0000 (06:17 +0000)]
ipq806x: add hwspinlock support

This change cherry-picks the following 3 changes from linux-next:
*fb7737 hwspinlock/core: add device tree support
*19a0f6 hwspinlock: qcom: Add support for Qualcomm HW Mutex block
*bd5717 hwspinlock: qcom: Correct msb in regmap_field

We're also adding a patch to add the hardware spinlock device nodes on
IPQ806x platforms (033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch).

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46655 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: move linux, part-probe dt parsing in generic code
blogic [Mon, 17 Aug 2015 06:17:37 +0000 (06:17 +0000)]
kernel: move linux, part-probe dt parsing in generic code

The "linux,part-probe" dts parsing is a pretty neat generic feature.
It has been posted to kernel.org and could easily be reused by all
targets.

This change moves the patch to the 3.18 and 4.1 generic folders, and
makes the feature available to all platforms who may want to use it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46654 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: default_postinst: propagate the real postinst return code
blogic [Mon, 17 Aug 2015 06:17:23 +0000 (06:17 +0000)]
base-files: default_postinst: propagate the real postinst return code

Using the postinst script for sanity checks and expecting opkg to fail
if the postinst didn't return 0 was possible in Barrier Breaker, propagate
the real postinst return code through default_postinst to restore this
behaviour.

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

8 years agohostapd: Add vlan_file option to netifd.sh
blogic [Mon, 17 Aug 2015 06:17:13 +0000 (06:17 +0000)]
hostapd: Add vlan_file option to netifd.sh

Other VLAN related options are already being processed in netifd.sh
but the vlan_file option is missing. This option allows the mapping
of vlan IDs to network interfaces and will be used in dynamic VLAN
feature for binding stations to interfaces based on VLAN
assignments. The change is done similarly to the wpa_psk_file
option.

Signed-off-by: Gong Cheng <chengg11@yahoo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46652 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add support for Black Swift
blogic [Mon, 17 Aug 2015 06:16:54 +0000 (06:16 +0000)]
ar71xx: Add support for Black Swift

Add support for the Black Swift board:
http://www.black-swift.com/

Took relevant parts and slightly adapted from:
https://github.com/blackswift/openwrt/blob/master/bsb.patch

Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46651 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: rework reset button script to indicate factory reset
blogic [Mon, 17 Aug 2015 06:16:39 +0000 (06:16 +0000)]
base-files: rework reset button script to indicate factory reset

With this change we let user know 5 seconds have passed and reset button
can be released (to trigger factory reset)

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

8 years agoat91: Backport determine_rate prototype fix
blogic [Mon, 17 Aug 2015 06:16:29 +0000 (06:16 +0000)]
at91: Backport determine_rate prototype fix

This patch is backport of a fix to a USB prototype mismatch bug found
in 3.18 kernels, originally submitted by Boris Brezillon [1].
The symptom of this bug was that devices attached to the at91 using
at91_ohci on a hub never appeared and failed to initialise.

[1] http://www.spinics.net/lists/linux-usb/msg125969.html

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46649 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomcs814x: use firmware partition splitter on dLAN USB Extender
blogic [Mon, 17 Aug 2015 06:16:19 +0000 (06:16 +0000)]
mcs814x: use firmware partition splitter on dLAN USB Extender

to avoid editing the dts every time the kernel size changes.
uImage is now bigger than 1MB. Pad uImage to 64k erase block size.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46648 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomcs814x: fix interrupt handling
blogic [Mon, 17 Aug 2015 06:16:08 +0000 (06:16 +0000)]
mcs814x: fix interrupt handling

Switch to generich chip irqs/irq domains.
Interrupts were broken since kernel 3.14. dLAN USB extender is now
booting again.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46647 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomcs814x: fix debug UART
blogic [Mon, 17 Aug 2015 06:15:56 +0000 (06:15 +0000)]
mcs814x: fix debug UART

Switch to new 8250 debug uart code because the old
mach-mcs814x/include/mach/debug-macro.S tries to include
asm/hardware/debug-8250.S which no longer exists since kernel 3.14

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46646 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Fix MT7621 pinmux bits for uart3, uart2, mdio
blogic [Mon, 17 Aug 2015 06:15:49 +0000 (06:15 +0000)]
ramips: Fix MT7621 pinmux bits for uart3, uart2, mdio

The MT7621 uses a 2 bit wide configuration of the sdhci, spi, mdio, pcie,
wdt, uart2 and uart3 in the GPIO_MODE register. It was correctly done
for sdhci, spi, pcie and wdt, The same has to be done for uart3, uart2
and mdio.

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

8 years agoramips: Fix amount of MT7621 pins controlled by spi group
blogic [Mon, 17 Aug 2015 06:15:44 +0000 (06:15 +0000)]
ramips: Fix amount of MT7621 pins controlled by spi group

The PINS conntrolled by the SPI bits in the GPIO_MODE register is always
7 and not 8 for nand mode.

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

8 years agoramips: Fix uart2/uart3 pinmux order on MT7621
blogic [Mon, 17 Aug 2015 06:15:34 +0000 (06:15 +0000)]
ramips: Fix uart2/uart3 pinmux order on MT7621

The uart3 setting in GPIO_MODE register is before the uart2 setting. Also
don't mix uart2 and uart3 function/groups.

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

8 years agobrcm2708: override disabled device tree module status from config.txt
blogic [Mon, 17 Aug 2015 06:04:48 +0000 (06:04 +0000)]
brcm2708: override disabled device tree module status from config.txt

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46642 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: fix kmod-sound-soc-iqaudio-dac and add missing symbol
blogic [Mon, 17 Aug 2015 06:04:39 +0000 (06:04 +0000)]
brcm2708: fix kmod-sound-soc-iqaudio-dac and add missing symbol

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46641 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: update 4.1 patches
blogic [Mon, 17 Aug 2015 06:04:32 +0000 (06:04 +0000)]
brcm2708: update 4.1 patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46640 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: use BuildDTB in image/Makefile
blogic [Mon, 17 Aug 2015 06:04:18 +0000 (06:04 +0000)]
brcm2708: use BuildDTB in image/Makefile

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46639 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708-gpu-fw: update to latest version
blogic [Mon, 17 Aug 2015 06:04:10 +0000 (06:04 +0000)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46638 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agooxnas: switch to kernel 4.1
blogic [Mon, 17 Aug 2015 06:04:02 +0000 (06:04 +0000)]
oxnas: switch to kernel 4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46637 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agooxnas: prepare for kernel 4.1
blogic [Mon, 17 Aug 2015 06:03:57 +0000 (06:03 +0000)]
oxnas: prepare for kernel 4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46636 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: remove unnecessary LED declaration for WT1520 in diag.sh
blogic [Mon, 17 Aug 2015 06:03:42 +0000 (06:03 +0000)]
ramips: remove unnecessary LED declaration for WT1520 in diag.sh

This device doesn't have defined LEDs in its dts file.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46635 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix indentation, case statements structure and optimize base-files/etc/board...
blogic [Mon, 17 Aug 2015 06:02:59 +0000 (06:02 +0000)]
ramips: fix indentation, case statements structure and optimize base-files/etc/board.d/02_network

The following patch:
 * fixes wrong indentation
 * combines together boards with same configuration
 * removes unnecessary spaces
 * removes empty lines after ";;" and uses only "|\" (for consistency)
 * orders boards alphabetically

in base-files/etc/board.d/02_network script.

One bug was left untouched: freestation5 board is listed twice in case statement, in ramips_setup_macs().

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46634 3c298f89-4303-0410-b956-a3cf2f4a3e73