openwrt.git
11 years agoipset-dns: support simultaneously populating IPv4 and IPv6 sets
jow [Mon, 6 May 2013 10:01:45 +0000 (10:01 +0000)]
ipset-dns: support simultaneously populating IPv4 and IPv6 sets

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

11 years agobase-files: change network_find_wan() procedure to ignore default gateways in differe...
jow [Mon, 6 May 2013 09:33:56 +0000 (09:33 +0000)]
base-files: change network_find_wan() procedure to ignore default gateways in different routing tables

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

11 years agoAdd ipset-dns - a tiny DNS proxy service which puts resolved ip addresses into a...
jow [Mon, 6 May 2013 08:44:54 +0000 (08:44 +0000)]
Add ipset-dns - a tiny DNS proxy service which puts resolved ip addresses into a specified ipset

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

11 years ago[tools] mkimage: update to 2013.04
luka [Sun, 5 May 2013 20:11:04 +0000 (20:11 +0000)]
[tools] mkimage: update to 2013.04

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36550 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agosysupgrade: fixes broken pipe error during sysupgade
blogic [Sun, 5 May 2013 12:41:42 +0000 (12:41 +0000)]
sysupgrade: fixes broken pipe error during sysupgade

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

11 years agotoolchain/gcc: add support for 4.8-linaro
nbd [Sat, 4 May 2013 13:37:41 +0000 (13:37 +0000)]
toolchain/gcc: add support for 4.8-linaro

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

11 years agotoolchain/gcc: forward port missing patches to gcc 4.8.0
nbd [Sat, 4 May 2013 13:37:37 +0000 (13:37 +0000)]
toolchain/gcc: forward port missing patches to gcc 4.8.0

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

11 years agoramips: unbreak gpio handling for uart mux group
blogic [Sat, 4 May 2013 11:36:51 +0000 (11:36 +0000)]
ramips: unbreak gpio handling for uart mux group

this should fix the handling of corner cases

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

11 years agoat91: build .dtb file for the CalAmp LMU500 board
juhosg [Fri, 3 May 2013 19:01:00 +0000 (19:01 +0000)]
at91: build .dtb file for the CalAmp LMU500 board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36542 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: Fix AP135 PCI
juhosg [Fri, 3 May 2013 19:00:58 +0000 (19:00 +0000)]
ar71xx: Fix AP135 PCI

AP135 has a pluggable PCIE slot unlike AP136.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36541 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] kernel: add veth module
luka [Fri, 3 May 2013 15:16:50 +0000 (15:16 +0000)]
[package] kernel: add veth module

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36540 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoConfig.in: update options for cgroups and namespaces
luka [Fri, 3 May 2013 15:16:49 +0000 (15:16 +0000)]
Config.in: update options for cgroups and namespaces

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36539 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoConfig.in: fix formating
luka [Fri, 3 May 2013 15:16:48 +0000 (15:16 +0000)]
Config.in: fix formating

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36538 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agohostapd: enable 802.11r for the -full variant (#13250)
nbd [Fri, 3 May 2013 10:39:57 +0000 (10:39 +0000)]
hostapd: enable 802.11r for the -full variant (#13250)

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

11 years agomac80211: merge a client mode channel switch handling fix
nbd [Fri, 3 May 2013 09:14:03 +0000 (09:14 +0000)]
mac80211: merge a client mode channel switch handling fix

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

11 years agoar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce...
nbd [Fri, 3 May 2013 09:12:19 +0000 (09:12 +0000)]
ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures

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

11 years agokernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by...
nbd [Thu, 2 May 2013 15:59:57 +0000 (15:59 +0000)]
kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by iproute2

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

11 years agobcm63xx: split into two subtargets, generic and SMP
jogo [Thu, 2 May 2013 15:28:31 +0000 (15:28 +0000)]
bcm63xx: split into two subtargets, generic and SMP

Make SMP a subtarget, since it only supports BCM6362 and BCM6368.

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

11 years agobcm63xx: add SMP support for BCM6362 and BCM6368
jogo [Thu, 2 May 2013 15:28:26 +0000 (15:28 +0000)]
bcm63xx: add SMP support for BCM6362 and BCM6368

BCM6358 requires further work due to its shared TLB.

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

11 years agokernel: generic: don't strip /proc/irq on SMP
jogo [Thu, 2 May 2013 15:28:12 +0000 (15:28 +0000)]
kernel: generic: don't strip /proc/irq on SMP

/proc/irq is needed for changing the SMP affinity of interrupts.

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

11 years agobcm63xx: fix hsspi flash registration for BCM6362
jogo [Thu, 2 May 2013 15:28:10 +0000 (15:28 +0000)]
bcm63xx: fix hsspi flash registration for BCM6362

Use busnum 1 for HSSPI so it won't conflict on chips having both SPI
controllers.

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

11 years agobcm63xx: fix/enable livebox minipci
jogo [Thu, 2 May 2013 15:28:07 +0000 (15:28 +0000)]
bcm63xx: fix/enable livebox minipci

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36523 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoscripts/config: fix an option processing error that caused duplication in diffconfig...
nbd [Thu, 2 May 2013 14:06:10 +0000 (14:06 +0000)]
scripts/config: fix an option processing error that caused duplication in diffconfig.sh output (#13384)

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

11 years agofirewall3: update to git head
jow [Thu, 2 May 2013 13:42:20 +0000 (13:42 +0000)]
firewall3: update to git head

- assume "tcp+udp" if no protcol is specified in rules or redirects (#13422, #13386)
- add support for fwmark matches and mark setting targets

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

11 years agouci: update to git head
jow [Thu, 2 May 2013 12:40:13 +0000 (12:40 +0000)]
uci: update to git head

- copy permission of config files to state files to allow access to state info by non root users
- properly handle empty string case when unsetting lists

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

11 years agotools/mtools: disable iconv support, it breaks on some systems
nbd [Thu, 2 May 2013 12:39:31 +0000 (12:39 +0000)]
tools/mtools: disable iconv support, it breaks on some systems

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

11 years agoatheros: remove static gpio_request() from board setup and include generic kmod-gpio...
jow [Thu, 2 May 2013 11:46:53 +0000 (11:46 +0000)]
atheros: remove static gpio_request() from board setup and include generic kmod-gpio-button-hotplug instead.

This change is based on a patch by Karl Palsson <karlp@remake.is>
See http://patchwork.openwrt.org/patch/3536/.

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

11 years agokernel: netfilter.mk: Explicitly set the order of autoloaded modules
jow [Thu, 2 May 2013 11:25:18 +0000 (11:25 +0000)]
kernel: netfilter.mk: Explicitly set the order of autoloaded modules

In my machine, the file is created with arptable_filter before
arp_tables. This can't happen because the former depends on the
latter.

So, instead of rely on wildcards (*.ko), set by hand the files to
be loaded in the correct order.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36512 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain: add missing patch to gcc v4.8.0
jow [Thu, 2 May 2013 11:25:13 +0000 (11:25 +0000)]
toolchain: add missing patch to gcc v4.8.0

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

11 years agoFix install of iptables pkg-config files.
jow [Thu, 2 May 2013 08:10:55 +0000 (08:10 +0000)]
Fix install of iptables pkg-config files.

libiptc.pc depends on libip[4|6]tc.pc, thus all of those need to be
installed.
Should fix collectd build and thus #13146; which should make collectd
appear in snapshots again.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36509 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: update linux 3.8 to 3.8.11
juhosg [Wed, 1 May 2013 22:15:18 +0000 (22:15 +0000)]
kernel: update linux 3.8 to 3.8.11

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm63xx: fix typo and missing BCM6328 check in BCM6345 ethernet patch
florian [Wed, 1 May 2013 21:52:25 +0000 (21:52 +0000)]
brcm63xx: fix typo and missing BCM6328 check in BCM6345 ethernet patch

And while at it, also include a define check for BCM6328, thanks to
Gabor for spotting this.

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

11 years agobrcm63xx: add missing binary operands to BCM6345 ethernet patch
florian [Wed, 1 May 2013 21:12:40 +0000 (21:12 +0000)]
brcm63xx: add missing binary operands to BCM6345 ethernet patch

Thanks to Emilio Arias for reporting it.

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

11 years agobrcm63xx: remove 3.7 kernel support
florian [Wed, 1 May 2013 21:12:26 +0000 (21:12 +0000)]
brcm63xx: remove 3.7 kernel support

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

11 years agokernel: add md5sum for 3.9 final
juhosg [Tue, 30 Apr 2013 11:29:38 +0000 (11:29 +0000)]
kernel: add md5sum for 3.9 final

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36499 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: rename WNR2000v3 support patch
juhosg [Tue, 30 Apr 2013 10:44:11 +0000 (10:44 +0000)]
ar71xx: rename WNR2000v3 support patch

Update the numbering of kernel patch for supporting
Netgear WNR2000v3 from 617 to 618.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36498 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agofirmware-utils/mktplinkfw: add description for -W option into usage output
juhosg [Tue, 30 Apr 2013 10:44:10 +0000 (10:44 +0000)]
firmware-utils/mktplinkfw: add description for -W option into usage output

Add description for -W <hwrev> option into usage output of mktplinkfw.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36497 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/geos: switch to 3.8.10
juhosg [Tue, 30 Apr 2013 10:44:09 +0000 (10:44 +0000)]
x86/geos: switch to 3.8.10

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36496 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.9: implement pcibios_get_phb_of_node for MIPS
juhosg [Tue, 30 Apr 2013 10:44:08 +0000 (10:44 +0000)]
linux/3.9: implement pcibios_get_phb_of_node for MIPS

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36495 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.8: use backported pcibios_get_phb_of_node patches
juhosg [Tue, 30 Apr 2013 10:44:07 +0000 (10:44 +0000)]
linux/3.8: use backported pcibios_get_phb_of_node patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36494 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: update linux 3.8 to 3.8.10
juhosg [Tue, 30 Apr 2013 10:43:59 +0000 (10:43 +0000)]
kernel: update linux 3.8 to 3.8.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36493 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoat91: add missing config symbols
juhosg [Tue, 30 Apr 2013 10:43:58 +0000 (10:43 +0000)]
at91: add missing config symbols

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36492 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.{8,9}: add missing symbols
juhosg [Tue, 30 Apr 2013 10:43:57 +0000 (10:43 +0000)]
linux/3.{8,9}: add missing symbols

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36491 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.{8,9}: turn on CONFIG_NET_SCH_FQ_CODEL
juhosg [Tue, 30 Apr 2013 10:43:56 +0000 (10:43 +0000)]
linux/3.{8,9}: turn on CONFIG_NET_SCH_FQ_CODEL

It is forced to 'y' since r36342.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36490 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: move dlink profile to correct sub folder - 2nd try
blogic [Tue, 30 Apr 2013 10:34:20 +0000 (10:34 +0000)]
ramips: move dlink profile to correct sub folder - 2nd try

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

11 years agoramips: move dlink profile to correct sub folder
blogic [Tue, 30 Apr 2013 08:24:26 +0000 (08:24 +0000)]
ramips: move dlink profile to correct sub folder

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

11 years agotoolchain: gcc: backport fixes for gcc bug 54295
jogo [Mon, 29 Apr 2013 15:40:21 +0000 (15:40 +0000)]
toolchain: gcc: backport fixes for gcc bug 54295

Fix "Widening multiply-accumulate operation uses wrong value extension"
for 4.7, 4.7-linaro and 4.6-linaro, which backported the broken code to 4.6.
Vanilla 4.6 is unaffected.

Fixes #13420.

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

11 years ago[packages] move packages related to telephony into its own feed
mirko [Mon, 29 Apr 2013 02:17:02 +0000 (02:17 +0000)]
[packages] move packages related to telephony into its own feed

remove telephony related packages from packages.svn
and add new feed 'telephony.git' to feeds.conf.default

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

11 years agobroadcom-diag: support for the WNDR3700v3
hauke [Sun, 28 Apr 2013 21:11:17 +0000 (21:11 +0000)]
broadcom-diag: support for the WNDR3700v3

I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it
was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and
LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the
bootloader and stock firmware will accept.

The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving
its LEDs through an HC164 8-bit shift register.

Signed-off-by: Owen Kirby <osk@exegin.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36482 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoacx-mac80211: make it compile with recent mac80211 again
hauke [Sun, 28 Apr 2013 18:53:20 +0000 (18:53 +0000)]
acx-mac80211: make it compile with recent mac80211 again

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

11 years agobrcm47xx: use kernel 3.8.10 as default kernel
hauke [Sun, 28 Apr 2013 18:25:16 +0000 (18:25 +0000)]
brcm47xx: use kernel 3.8.10 as default kernel

The biggest change with this kernel is a new partition parser.

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

11 years agobroadcom-wl: read channel using wlc on detect
hauke [Sun, 28 Apr 2013 18:21:34 +0000 (18:21 +0000)]
broadcom-wl: read channel using wlc on detect

Hardcoding channel number to 11 is a bad idea, it may be even not
available on some devices. If there are two single-band radios, the
one for 5GHz doesn't have 11 channel.

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

11 years agobrcm47xx: add board detection for NETGEAR WNDR4500 V2
hauke [Sun, 28 Apr 2013 18:19:31 +0000 (18:19 +0000)]
brcm47xx: add board detection for NETGEAR WNDR4500 V2

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

11 years agomac80211: brcmsmac: remove initial support for core rev 28
hauke [Sun, 28 Apr 2013 17:59:24 +0000 (17:59 +0000)]
mac80211: brcmsmac: remove initial support for core rev 28

To add support for core rev 28 there are a lot more changes needed.

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

11 years agomac80211: b43: only use gpio 0 and 1 for the wifi led
hauke [Sun, 28 Apr 2013 17:57:30 +0000 (17:57 +0000)]
mac80211: b43: only use gpio 0 and 1 for the wifi led

sometimes b43 truned the gpio for the switch reset on.

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

11 years agokernel: fix a memory leak in split_rootfs_data()
hauke [Sun, 28 Apr 2013 17:01:56 +0000 (17:01 +0000)]
kernel: fix a memory leak in split_rootfs_data()

allocate_partition() copies all the content of dpart into a new struct.

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

11 years agomac80211: b43: Handle DMA RX descriptor underrun
hauke [Sun, 28 Apr 2013 16:55:53 +0000 (16:55 +0000)]
mac80211: b43: Handle DMA RX descriptor underrun

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

11 years agokernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master...
hauke [Sun, 28 Apr 2013 16:52:11 +0000 (16:52 +0000)]
kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master-2013-04-26.

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

11 years agoiwinfo: fix iwinfo_hardware() return value if chip id is not found
jow [Sun, 28 Apr 2013 14:04:39 +0000 (14:04 +0000)]
iwinfo: fix iwinfo_hardware() return value if chip id is not found

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

11 years agokernel: update linux 3.9 patches to rc8
jogo [Sun, 28 Apr 2013 11:55:23 +0000 (11:55 +0000)]
kernel: update linux 3.9 patches to rc8

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

11 years agokernel: add missing bcma defines and header file for bcrmfmac
jogo [Sun, 28 Apr 2013 11:10:42 +0000 (11:10 +0000)]
kernel: add missing bcma defines and header file for bcrmfmac

Fixes build failure when having kmod-mmc and brcmfmac selected.

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

11 years agoath9k: fix keycache handling with many connected clients
nbd [Sat, 27 Apr 2013 09:56:18 +0000 (09:56 +0000)]
ath9k: fix keycache handling with many connected clients

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

11 years agomac80211: refresh patch
nbd [Sat, 27 Apr 2013 09:56:14 +0000 (09:56 +0000)]
mac80211: refresh patch

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

11 years agonetifd: update to git head - disables multicast snooping by default on bridges
jow [Sat, 27 Apr 2013 09:28:40 +0000 (09:28 +0000)]
netifd: update to git head - disables multicast snooping by default on bridges

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

11 years agoar71xx: add user-space support for WNR2000v3
juhosg [Fri, 26 Apr 2013 17:00:54 +0000 (17:00 +0000)]
ar71xx: add user-space support for WNR2000v3

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36461 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add profile and build image for WNR2000v3
juhosg [Fri, 26 Apr 2013 17:00:53 +0000 (17:00 +0000)]
ar71xx: add profile and build image for WNR2000v3

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36460 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: Add Netgear WNR2000v3 support
juhosg [Fri, 26 Apr 2013 17:00:52 +0000 (17:00 +0000)]
ar71xx: Add Netgear WNR2000v3 support

Network connectivity works fine (LAN and WAN).
For GPIOs, only pwr led and the green wan leds are supported for now.

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36459 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add profile and build image for the TL-WR720N v3 board
juhosg [Fri, 26 Apr 2013 17:00:50 +0000 (17:00 +0000)]
ar71xx: add profile and build image for the TL-WR720N v3 board

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36458 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add user-space support for the TL-WR720N v3 board
juhosg [Fri, 26 Apr 2013 17:00:49 +0000 (17:00 +0000)]
ar71xx: add user-space support for the TL-WR720N v3 board

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36457 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add kernel support for TPLINK WR720N v3
juhosg [Fri, 26 Apr 2013 17:00:48 +0000 (17:00 +0000)]
ar71xx: add kernel support for TPLINK WR720N v3

Add support for TPLINK WR720N v3 which has 4MB flash,
32MB ram, 2 ethernet interfaces, 1 USB 2.0 port.

The patch is mostly a modification from mach-tl-wr703n.c.
GPIO numbers for the slider switch is from mach-tl-mr3020n.c.

Tested on my device and they worked fine.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36456 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agofirmware-utils/mktplinkfw: add support for the TL-WR720N v3 board
juhosg [Fri, 26 Apr 2013 17:00:47 +0000 (17:00 +0000)]
firmware-utils/mktplinkfw: add support for the TL-WR720N v3 board

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36455 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agompc85xx: Add subtargets Generic and P1020
juhosg [Fri, 26 Apr 2013 16:57:43 +0000 (16:57 +0000)]
mpc85xx: Add subtargets Generic and P1020

Only difference between Generic and P1020 is that P1020
enables SMP with two CPUs in the kernel config.

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

11 years agokernel: update linux 3.8 to 3.8.9
juhosg [Fri, 26 Apr 2013 16:55:42 +0000 (16:55 +0000)]
kernel: update linux 3.8 to 3.8.9

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoat91: upgrade to kernel 3.8.7 and use devicetree
juhosg [Fri, 26 Apr 2013 16:55:40 +0000 (16:55 +0000)]
at91: upgrade to kernel 3.8.7 and use devicetree

This upgrades the AT91 target to 3.8.7, and migrates to device tree.
This allows a single kernel to be built for most at91 variants which
simplifies things quite a bit. The immediate result is that all
subtargets are nuked, and any boards without dts files are no longer
supported, though the target now includes more boards than before. The
adc driver was also nuked as 3.8.7 includes a new one under the IIO
subsystem.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36452 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt3883: fix build error
juhosg [Fri, 26 Apr 2013 16:55:28 +0000 (16:55 +0000)]
ramips: rt3883: fix build error

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36451 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoiwinfo: add hw database file
jow [Fri, 26 Apr 2013 13:21:01 +0000 (13:21 +0000)]
iwinfo: add hw database file

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

11 years agoiwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
jow [Fri, 26 Apr 2013 13:20:15 +0000 (13:20 +0000)]
iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt

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

11 years agomac80211: update to wireless-testing 2013-04-16 + backports
nbd [Fri, 26 Apr 2013 10:52:03 +0000 (10:52 +0000)]
mac80211: update to wireless-testing 2013-04-16 + backports

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

11 years agoprocd: fix wrap around bug in logread time handling code
blogic [Thu, 25 Apr 2013 19:51:08 +0000 (19:51 +0000)]
procd: fix wrap around bug in logread time handling code

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

11 years agohotplug2: make it depend on !PROCD_INIT
blogic [Thu, 25 Apr 2013 19:16:54 +0000 (19:16 +0000)]
hotplug2: make it depend on !PROCD_INIT

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

11 years agolantiq: make leds and network work on VG3503J
blogic [Thu, 25 Apr 2013 19:03:41 +0000 (19:03 +0000)]
lantiq: make leds and network work on VG3503J

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

11 years agolantiq: fix board detection helpers
blogic [Thu, 25 Apr 2013 19:03:37 +0000 (19:03 +0000)]
lantiq: fix board detection helpers

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

11 years agolantiq: move dts files to thir own folder
blogic [Thu, 25 Apr 2013 19:03:32 +0000 (19:03 +0000)]
lantiq: move dts files to thir own folder

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

11 years agogeneric: fix rtl8366_smi compile warning
blogic [Thu, 25 Apr 2013 19:03:29 +0000 (19:03 +0000)]
generic: fix rtl8366_smi compile warning

drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_sw_set_vlan_ports':
drivers/net/phy/rtl8366_smi.c:1125:6: warning: 'pvid' may be used uninitialized in this function [-Wuninitialized]

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

11 years agolantiq: disable sw portmaps on xrx200 ethernet as segment solation does not work yet
blogic [Thu, 25 Apr 2013 19:03:25 +0000 (19:03 +0000)]
lantiq: disable sw portmaps on xrx200 ethernet as segment solation does not work yet

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

11 years agolantiq: make lzma-loader based images for VG3503J
blogic [Thu, 25 Apr 2013 19:03:21 +0000 (19:03 +0000)]
lantiq: make lzma-loader based images for VG3503J

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

11 years agolantiq: update VG3503J.dts to match new partition layout
blogic [Thu, 25 Apr 2013 19:03:17 +0000 (19:03 +0000)]
lantiq: update VG3503J.dts to match new partition layout

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

11 years agolantiq: add lzma-loader source
blogic [Thu, 25 Apr 2013 19:03:13 +0000 (19:03 +0000)]
lantiq: add lzma-loader source

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

11 years agoramips: add profile for Dlink DIR-615 H1
blogic [Thu, 25 Apr 2013 19:03:09 +0000 (19:03 +0000)]
ramips: add profile for Dlink DIR-615 H1

Hello,
this adds the profile for Dlink DIR-615 H1 without the usb default packages
since this router does not have a usb port and while all the needed definitions
for building are already in target/linux/ramips/image/Makefile this also allows
users to select the exact target in RT305x based boards menuconfig for this router
and compile its firmware.

Signed-off-by: Daniel Petre <dani@ip6.ro>
Patchwork: http://patchwork.openwrt.org/patch/3529/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36437 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: remove now unneeded user-space board detection
blogic [Thu, 25 Apr 2013 19:03:05 +0000 (19:03 +0000)]
ramips: remove now unneeded user-space board detection

Now that ALL5002 and ALL5003 each got their own DTS and board names, remove
the now no longer needed user-space part which previously differentiated between
ALL5002 and ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3558/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36436 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: introduce DTS for ALL5003
blogic [Thu, 25 Apr 2013 19:03:01 +0000 (19:03 +0000)]
ramips: introduce DTS for ALL5003

Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c.
With the change to DTS, this is no longer accurate, as ALL5002 is based on
Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding
rt5350.dtsi need to be included for ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3557/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36435 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: set preinit interface to eth0 by default.
blogic [Thu, 25 Apr 2013 19:02:57 +0000 (19:02 +0000)]
ramips: set preinit interface to eth0 by default.

This makes any ramips device accessible via ethernet in failsafe mode.

Based on: https://dev.openwrt.org/changeset/36322

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3567/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36434 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: Add Alpha ASL-26555 support.
blogic [Thu, 25 Apr 2013 19:02:53 +0000 (19:02 +0000)]
ramips: Add Alpha ASL-26555 support.

This board uses a TrendChip SOC with its own RAM/Flash for ADSL support.
We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN.

There are two versions (Chile 8MB and Spain 16MB).

Wiki: http://wiki.openwrt.org/toh/alpha/asl26555

Signed-off-by: Esteban Benito <estebanjbs@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3571/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36433 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: Add support of D-link DIR-620D1
blogic [Thu, 25 Apr 2013 19:02:48 +0000 (19:02 +0000)]
ramips: Add support of D-link DIR-620D1

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36432 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: sync kernel patches with the mips-next tree
blogic [Thu, 25 Apr 2013 19:02:42 +0000 (19:02 +0000)]
ramips: sync kernel patches with the mips-next tree

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

11 years agopreinit: move cmdline failsafe= handling ot the generic code
blogic [Thu, 25 Apr 2013 19:02:37 +0000 (19:02 +0000)]
preinit: move cmdline failsafe= handling ot the generic code

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

11 years agomount_root: prepare base-files
blogic [Thu, 25 Apr 2013 19:02:32 +0000 (19:02 +0000)]
mount_root: prepare base-files

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

11 years agoboot: make use of kmodloader if it is available
blogic [Thu, 25 Apr 2013 19:02:28 +0000 (19:02 +0000)]
boot: make use of kmodloader if it is available

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

11 years agoubox: add ubox package
blogic [Thu, 25 Apr 2013 19:02:24 +0000 (19:02 +0000)]
ubox: add ubox package

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

11 years agoprocd: update to latest git version
blogic [Thu, 25 Apr 2013 19:02:20 +0000 (19:02 +0000)]
procd: update to latest git version

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