openwrt/svn-archive/archive.git
11 years agoopenssl: backport r35524
Tim Yardley [Fri, 8 Feb 2013 22:35:37 +0000 (22:35 +0000)]
openssl: backport r35524

Signed-off-by: Tim Yardley <yardley@gmail.com>
SVN-Revision: 35530

11 years agolibubox: update to latest version, fixes a string corruption issue on JSON formatting
Felix Fietkau [Tue, 29 Jan 2013 22:24:07 +0000 (22:24 +0000)]
libubox: update to latest version, fixes a string corruption issue on JSON formatting

Backport of r35399

SVN-Revision: 35400

11 years agonetifd: update to latest version
Felix Fietkau [Tue, 29 Jan 2013 14:41:40 +0000 (14:41 +0000)]
netifd: update to latest version

fixes DNS servers on reload (#12910)
fixes ubus object race on reload or down/up (#12612)

Backport of r35383

SVN-Revision: 35384

11 years agonetifd: update to latest version, fixes setting addresses/routes on alias interfaces
Felix Fietkau [Mon, 28 Jan 2013 20:37:19 +0000 (20:37 +0000)]
netifd: update to latest version, fixes setting addresses/routes on alias interfaces

Backport of r35362

SVN-Revision: 35363

11 years agoAA: feeds: switch to LuCI v0.11.1 tag
Jo-Philipp Wich [Mon, 28 Jan 2013 16:02:24 +0000 (16:02 +0000)]
AA: feeds: switch to LuCI v0.11.1 tag

SVN-Revision: 35351

11 years agoAA: firewall: backport r35348
Jo-Philipp Wich [Mon, 28 Jan 2013 15:59:01 +0000 (15:59 +0000)]
AA: firewall: backport r35348

SVN-Revision: 35350

11 years agonetfilter: add support for flushing conntrack via /proc
Felix Fietkau [Sun, 27 Jan 2013 19:03:44 +0000 (19:03 +0000)]
netfilter: add support for flushing conntrack via /proc

Backport of r35330

SVN-Revision: 35331

11 years agonetifd: sync with trunk r35297, adds another alias support fix
Felix Fietkau [Tue, 22 Jan 2013 16:06:39 +0000 (16:06 +0000)]
netifd: sync with trunk r35297, adds another alias support fix

SVN-Revision: 35298

11 years agoubus: revert the package install section from the trunk sync commit
Felix Fietkau [Mon, 21 Jan 2013 13:25:38 +0000 (13:25 +0000)]
ubus: revert the package install section from the trunk sync commit

SVN-Revision: 35267

11 years agoAA: feeds: switch to LuCI v0.11.0 tag
Jo-Philipp Wich [Mon, 21 Jan 2013 12:25:42 +0000 (12:25 +0000)]
AA: feeds: switch to LuCI v0.11.0 tag

SVN-Revision: 35263

11 years agonetifd: sync with trunk r35251
Felix Fietkau [Sun, 20 Jan 2013 15:52:19 +0000 (15:52 +0000)]
netifd: sync with trunk r35251

SVN-Revision: 35254

11 years agoubus: sync with trunk r35141
Felix Fietkau [Sun, 20 Jan 2013 15:52:17 +0000 (15:52 +0000)]
ubus: sync with trunk r35141

SVN-Revision: 35253

11 years agolibubox: sync with trunk r35128
Felix Fietkau [Sun, 20 Jan 2013 15:52:16 +0000 (15:52 +0000)]
libubox: sync with trunk r35128

SVN-Revision: 35252

11 years agoAA: busybox: merge r35239
Jo-Philipp Wich [Sat, 19 Jan 2013 10:19:40 +0000 (10:19 +0000)]
AA: busybox: merge r35239

SVN-Revision: 35241

11 years agoAA: generic: rtl8366_smi: only assign pvid if no pvid was set yet
Jonas Gorski [Fri, 18 Jan 2013 15:21:59 +0000 (15:21 +0000)]
AA: generic: rtl8366_smi: only assign pvid if no pvid was set yet

Backport or r35227.

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

11 years agouci: sync with trunk
Luka Perkov [Thu, 17 Jan 2013 14:14:55 +0000 (14:14 +0000)]
uci: sync with trunk

backport of r35013, r33861, r33660

SVN-Revision: 35195

11 years agoath9k: fix a soft lockup on smp systems
Felix Fietkau [Mon, 14 Jan 2013 15:59:28 +0000 (15:59 +0000)]
ath9k: fix a soft lockup on smp systems

Backport of r35152

SVN-Revision: 35153

11 years agoath9k: remove a lock to fix a deadlock on hw reset
Felix Fietkau [Mon, 14 Jan 2013 09:52:14 +0000 (09:52 +0000)]
ath9k: remove a lock to fix a deadlock on hw reset

Backport of r35147

SVN-Revision: 35148

11 years agopackage: kernel: make crypto kmods always visible
Luka Perkov [Fri, 11 Jan 2013 09:46:48 +0000 (09:46 +0000)]
package: kernel: make crypto kmods always visible

backport r34298

SVN-Revision: 35093

11 years agoath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other...
Felix Fietkau [Thu, 10 Jan 2013 18:47:04 +0000 (18:47 +0000)]
ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices

Backport of r35089

SVN-Revision: 35090

11 years agouClibc: backport useful fixes from trunk (#12777)
Felix Fietkau [Thu, 10 Jan 2013 18:02:47 +0000 (18:02 +0000)]
uClibc: backport useful fixes from trunk (#12777)

SVN-Revision: 35088

11 years agoath9k: add some calibration fixes from wireless-testing
Felix Fietkau [Thu, 10 Jan 2013 14:10:41 +0000 (14:10 +0000)]
ath9k: add some calibration fixes from wireless-testing

Backport r35081

SVN-Revision: 35082

11 years agoath9k: correct a logic error in the rx path fix
Felix Fietkau [Wed, 9 Jan 2013 15:19:10 +0000 (15:19 +0000)]
ath9k: correct a logic error in the rx path fix

Backport of r35067

SVN-Revision: 35068

11 years agomac80211: refresh patches
Felix Fietkau [Wed, 9 Jan 2013 12:49:22 +0000 (12:49 +0000)]
mac80211: refresh patches

SVN-Revision: 35065

11 years agoath9k: backport stability fixes from r35063
Felix Fietkau [Wed, 9 Jan 2013 12:49:21 +0000 (12:49 +0000)]
ath9k: backport stability fixes from r35063

SVN-Revision: 35064

11 years agomac80211: apply network interface configuration for adhoc + wpa2
Felix Fietkau [Mon, 7 Jan 2013 21:12:46 +0000 (21:12 +0000)]
mac80211: apply network interface configuration for adhoc + wpa2

Backport of r35049

SVN-Revision: 35050

11 years agolibubox: update to latest version, contains several uloop/ustream fixes
Felix Fietkau [Mon, 7 Jan 2013 15:25:33 +0000 (15:25 +0000)]
libubox: update to latest version, contains several uloop/ustream fixes

Backport of r35039

SVN-Revision: 35040

11 years agoAA: ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U...
Gabor Juhos [Mon, 7 Jan 2013 14:43:21 +0000 (14:43 +0000)]
AA: ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards

Backport of r35037.

The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.

Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.

Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35038

11 years agoopkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
Felix Fietkau [Thu, 3 Jan 2013 20:03:14 +0000 (20:03 +0000)]
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage

Backport of r34869

SVN-Revision: 35003

11 years agoath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
Felix Fietkau [Wed, 2 Jan 2013 17:40:31 +0000 (17:40 +0000)]
ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability

Backport of r34979

SVN-Revision: 34980

11 years agoAA: generic: fix UBIFS build error if XZ compression is disabled
Gabor Juhos [Wed, 2 Jan 2013 16:30:28 +0000 (16:30 +0000)]
AA: generic: fix UBIFS build error if XZ compression is disabled

Backport of r34959.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34978

11 years agoAA: base-files: merge r34974 and r34975
Jo-Philipp Wich [Wed, 2 Jan 2013 16:28:40 +0000 (16:28 +0000)]
AA: base-files: merge r34974 and r34975

SVN-Revision: 34977

11 years agoAA: firewall: merge r34472 and r34569
Jo-Philipp Wich [Wed, 2 Jan 2013 16:24:37 +0000 (16:24 +0000)]
AA: firewall: merge r34472 and r34569

SVN-Revision: 34976

11 years agox86: fix typo in alix2/net5501 default packages
Felix Fietkau [Wed, 2 Jan 2013 16:09:50 +0000 (16:09 +0000)]
x86: fix typo in alix2/net5501 default packages

Backport of r34972

SVN-Revision: 34973

11 years agoAA: ramips: fix ASUS WL-330N3G MAC address
Gabor Juhos [Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)]
AA: ramips: fix ASUS WL-330N3G MAC address

Backport of r34877.

The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34879

11 years agoAA: ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Gabor Juhos [Mon, 24 Dec 2012 09:13:56 +0000 (09:13 +0000)]
AA: ramips: fix wifi EEPROM extraction on DIR-615-Dx models

Backport of r34876.

Patch from #12636.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34878

11 years agoAA: backport: "[tools] ipkg-utils: Force gnu format for tar (#12496)"
Vasilis Tsiligiannis [Fri, 21 Dec 2012 15:04:24 +0000 (15:04 +0000)]
AA: backport: "[tools] ipkg-utils: Force gnu format for tar (#12496)"

[backport r34261]

SVN-Revision: 34827

11 years agoAA: kernel: add solos-pci update for 3.3
Gabor Juhos [Fri, 21 Dec 2012 10:41:22 +0000 (10:41 +0000)]
AA: kernel: add solos-pci update for 3.3

Backport of r34813.

Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.

Submitted more for the benefit of the AA branch than for trunk.

[juhosg: refresh the patch with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34814

11 years agoAA: opkg: backport r34202 and r34203
Jo-Philipp Wich [Tue, 18 Dec 2012 20:53:47 +0000 (20:53 +0000)]
AA: opkg: backport r34202 and r34203

SVN-Revision: 34778

11 years agolibubox: update to latest version, as of trunk r34746
Felix Fietkau [Tue, 18 Dec 2012 13:09:58 +0000 (13:09 +0000)]
libubox: update to latest version, as of trunk r34746

SVN-Revision: 34747

11 years agonetifd: update to latest version, fixes interface error reporting for shell proto...
Felix Fietkau [Mon, 17 Dec 2012 22:26:13 +0000 (22:26 +0000)]
netifd: update to latest version, fixes interface error reporting for shell proto handlers

Backport of r34741

SVN-Revision: 34742

11 years agonetifd: update to latest version, no longer needs the removed jshn_append() shell...
Felix Fietkau [Mon, 17 Dec 2012 14:58:46 +0000 (14:58 +0000)]
netifd: update to latest version, no longer needs the removed jshn_append() shell function

Backport of r34734

SVN-Revision: 34735

11 years agolibubox: another jshn update, fixes array handling issues
Felix Fietkau [Sun, 16 Dec 2012 18:59:27 +0000 (18:59 +0000)]
libubox: another jshn update, fixes array handling issues

Backport of r34723

SVN-Revision: 34724

11 years agolibubox: fix some jshn variable handling regressions
Felix Fietkau [Sun, 16 Dec 2012 17:06:08 +0000 (17:06 +0000)]
libubox: fix some jshn variable handling regressions

Backport of r34720

SVN-Revision: 34721

11 years agolibubox: sync with trunk (as of r34718)
Felix Fietkau [Sun, 16 Dec 2012 16:51:05 +0000 (16:51 +0000)]
libubox: sync with trunk (as of r34718)

SVN-Revision: 34719

11 years agowpa_supplicant.sh: always use parameters from the current section
Felix Fietkau [Sun, 16 Dec 2012 13:33:58 +0000 (13:33 +0000)]
wpa_supplicant.sh: always use parameters from the current section

Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Backport of r34716

SVN-Revision: 34717

11 years agoubus: update to latest version, fixes request timeout handling issues, hangs on lots...
Felix Fietkau [Sat, 15 Dec 2012 17:22:42 +0000 (17:22 +0000)]
ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support

Backport of r34705

SVN-Revision: 34707

11 years agonetifd: call /etc/udhcp.user from the netifd dhcp.script
Felix Fietkau [Sat, 15 Dec 2012 17:22:40 +0000 (17:22 +0000)]
netifd: call /etc/udhcp.user from the netifd dhcp.script

This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Backport of r34704

SVN-Revision: 34706

11 years agoAA: kernel: fix solos-pci skb double-free in DMA mode
Gabor Juhos [Thu, 13 Dec 2012 18:46:25 +0000 (18:46 +0000)]
AA: kernel: fix solos-pci skb double-free in DMA mode

Backport of r34667.

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34668

11 years agonetifd: update to latest version, fixes purging old resolv.conf entries after ifdown
Felix Fietkau [Thu, 13 Dec 2012 16:16:32 +0000 (16:16 +0000)]
netifd: update to latest version, fixes purging old resolv.conf entries after ifdown

Backport of r34664

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

11 years agoath5k: fix skb leaks (should fix #12199)
Felix Fietkau [Mon, 10 Dec 2012 15:44:34 +0000 (15:44 +0000)]
ath5k: fix skb leaks (should fix #12199)

Backport of r34603

SVN-Revision: 34604

11 years agoAA: ppp: backport r34536
Jo-Philipp Wich [Thu, 6 Dec 2012 18:22:07 +0000 (18:22 +0000)]
AA: ppp: backport r34536

SVN-Revision: 34538

11 years agonetifd: update to latest version from trunk, as of r34500
Felix Fietkau [Wed, 5 Dec 2012 15:35:14 +0000 (15:35 +0000)]
netifd: update to latest version from trunk, as of r34500

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

11 years agolibubox: update to latest version, fixes blob/blobmsg endian issues
Felix Fietkau [Sun, 2 Dec 2012 16:54:45 +0000 (16:54 +0000)]
libubox: update to latest version, fixes blob/blobmsg endian issues

Backport of r34456

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

11 years agoAA: ramips: fix serial console for Belkin F5D8235 v1/v2
Gabor Juhos [Sun, 2 Dec 2012 14:18:26 +0000 (14:18 +0000)]
AA: ramips: fix serial console for Belkin F5D8235 v1/v2

Backport of r34445.

Based on a patch from #12533.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34446

11 years agoAA: Update linux-atm fixes to reflect the final upstream pull request
Gabor Juhos [Sun, 2 Dec 2012 13:14:27 +0000 (13:14 +0000)]
AA: Update linux-atm fixes to reflect the final upstream pull request

Backport of r34443.

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34444

11 years agoAA: [ar7] add back symbols accidentally removed in r34428
Florian Fainelli [Fri, 30 Nov 2012 09:10:12 +0000 (09:10 +0000)]
AA: [ar7] add back symbols accidentally removed in r34428

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34429

11 years agoAA: [ar7] use a default kernel command-line to mount squashfs and jffs2
Florian Fainelli [Fri, 30 Nov 2012 09:08:21 +0000 (09:08 +0000)]
AA: [ar7] use a default kernel command-line to mount squashfs and jffs2

This fixes bug #9055. Backport of r34424.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34428

11 years agoAA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
Gabor Juhos [Thu, 29 Nov 2012 18:02:30 +0000 (18:02 +0000)]
AA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL

Backport of r34415.

Patches queued upstream in net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34416

11 years agoAA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
Gabor Juhos [Thu, 29 Nov 2012 17:50:03 +0000 (17:50 +0000)]
AA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)

Backport of r34410.

Patches about to go into net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34413

11 years agoAA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
Gabor Juhos [Thu, 29 Nov 2012 17:49:50 +0000 (17:49 +0000)]
AA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space

Backport of r34408.

The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34412

12 years agoAA: bcm63xx: fix spi transfer handling
Florian Fainelli [Mon, 26 Nov 2012 13:35:30 +0000 (13:35 +0000)]
AA: bcm63xx: fix spi transfer handling

* Accept transfers without bits_per_word set.

* Work around the inability of the hardware of keeping CS asserted.

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

12 years agoAA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile
Florian Fainelli [Sun, 25 Nov 2012 21:06:51 +0000 (21:06 +0000)]
AA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34384

12 years agoAA: [ar7] free memory below kernel offset
Florian Fainelli [Sun, 25 Nov 2012 20:53:00 +0000 (20:53 +0000)]
AA: [ar7] free memory below kernel offset

Some bootloaders (e.g. PSPBoot on AC49x) have a load-offset, this frees that
memory region so it is usable for Linux.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34383

12 years agobroadcom-wl: fix two problems when more then one wifi card is available.
Hauke Mehrtens [Sun, 25 Nov 2012 20:14:34 +0000 (20:14 +0000)]
broadcom-wl: fix two problems when more then one wifi card is available.

* The device should get a unique name at the beginning and not wl%d
* load the nvram just one time into the own buffer also when there is
  more than one device.

Backport of r34381.

SVN-Revision: 34382

12 years agobrcm47xx: fix title of Bcm4705-wl profile
Hauke Mehrtens [Sun, 25 Nov 2012 16:41:10 +0000 (16:41 +0000)]
brcm47xx: fix title of Bcm4705-wl profile

SVN-Revision: 34379

12 years agobrcm47xx: fix cpu clock detection on ASUS WL-520gU
Hauke Mehrtens [Sun, 25 Nov 2012 16:38:16 +0000 (16:38 +0000)]
brcm47xx: fix cpu clock detection on ASUS WL-520gU

The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.

Backport of r34325.

SVN-Revision: 34377

12 years agoAA: ramips: ramips_eth: use Kconfig definition to enable debug
Gabor Juhos [Sun, 25 Nov 2012 16:23:08 +0000 (16:23 +0000)]
AA: ramips: ramips_eth: use Kconfig definition to enable debug

Backport of r34332.

The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34376

12 years agoAA: ramips: add DIR-615 D userspace support
Gabor Juhos [Sun, 25 Nov 2012 16:23:07 +0000 (16:23 +0000)]
AA: ramips: add DIR-615 D userspace support

Backport of r34331.

Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34375

12 years agoAA: ar71xx: set pad6 cfg for AR8327 on the AP136 board
Gabor Juhos [Sun, 25 Nov 2012 16:23:05 +0000 (16:23 +0000)]
AA: ar71xx: set pad6 cfg for AR8327 on the AP136 board

Backport of r34316.

Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34374

12 years agoAA: generic: ar8216: set delay values for SGMII mode on AR8327
Gabor Juhos [Sun, 25 Nov 2012 16:23:04 +0000 (16:23 +0000)]
AA: generic: ar8216: set delay values for SGMII mode on AR8327

Backport of r34315.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34373

12 years agoAA: generic: ar8216: introduce ar8216_mib_op helper
Gabor Juhos [Sun, 25 Nov 2012 16:23:03 +0000 (16:23 +0000)]
AA: generic: ar8216: introduce ar8216_mib_op helper

Backport of r34297.

The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.

This change also fixes a lockdep warning in
ar8216_mib_flush.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34372

12 years agoAA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
Gabor Juhos [Sun, 25 Nov 2012 16:23:02 +0000 (16:23 +0000)]
AA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'

Backport of r34283.

Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34371

12 years agoAA: generic: ar8216: remove an unblanced mutex_unlock call
Gabor Juhos [Sun, 25 Nov 2012 16:23:00 +0000 (16:23 +0000)]
AA: generic: ar8216: remove an unblanced mutex_unlock call

Backport of r34282.

Fixes the following warning:

[   94.080000]
[   94.080000] =====================================
[   94.080000] [ BUG: bad unlock balance detected! ]
[   94.080000] 3.3.8 #2 Tainted: G           O
[   94.080000] -------------------------------------
[   94.080000] swconfig/1220 is trying to release lock (&priv->mib_lock) at:
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] but there are no more locks to release!
[   94.080000]
[   94.080000] other info that might help us debug this:
[   94.080000] 2 locks held by swconfig/1220:
[   94.080000]  #0:  (genl_mutex){+.+...}, at: [<80222430>] genl_rcv+0x14/0x34
[   94.080000]  #1:  (&dev->sw_mutex){+.+...}, at: [<801da018>] swconfig_get_dev+0x88/0xb4
[   94.080000]
[   94.080000] stack backtrace:
[   94.080000] Call Trace:
[   94.080000] [<8028dc58>] dump_stack+0x8/0x34
[   94.080000] [<800a5128>] print_unlock_inbalance_bug+0xe0/0xfc
[   94.080000] [<800a82c0>] lock_release+0x18c/0x1c8
[   94.080000] [<80292074>] __mutex_unlock_slowpath+0xd8/0x17c
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] [<801db688>] swconfig_get_attr+0xbc/0x394
[   94.080000] [<8022261c>] genl_rcv_msg+0x1cc/0x214
[   94.080000] [<80221a18>] netlink_rcv_skb+0x6c/0xe8
[   94.080000] [<80222440>] genl_rcv+0x24/0x34
[   94.080000] [<80221370>] netlink_unicast+0x15c/0x22c
[   94.080000] [<8022175c>] netlink_sendmsg+0x240/0x2d0
[   94.080000] [<801ef544>] sock_sendmsg+0x84/0x9c
[   94.080000] [<801f0648>] __sys_sendmsg+0x1cc/0x270
[   94.080000] [<801f207c>] sys_sendmsg+0x48/0x7c
[   94.080000] [<8006ad78>] stack_done+0x20/0x40
[   94.080000]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34370

12 years agoAA: generic: ar8216: add missing locking calls
Gabor Juhos [Sun, 25 Nov 2012 16:22:58 +0000 (16:22 +0000)]
AA: generic: ar8216: add missing locking calls

Backport of r34281.

Fixes the following lockdep warning:

[   19.160000] ------------[ cut here ]------------
[   19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4()
[   19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd
sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip
ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at
h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7
crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry
pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer
ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   19.210000] Call Trace:
[   19.220000] [<8028dc38>] dump_stack+0x8/0x34
[   19.220000] [<80072da0>] warn_slowpath_common+0x78/0xa4
[   19.230000] [<80072de4>] warn_slowpath_null+0x18/0x24
[   19.230000] [<801de820>] ar8216_rmw+0x54/0xa4
[   19.240000] [<801df460>] ar8216_mib_capture+0x70/0xd0
[   19.240000] [<801df944>] ar8xxx_mib_work_func+0x34/0x98
[   19.250000] [<80089a7c>] process_one_work+0x28c/0x460
[   19.250000] [<8008a630>] worker_thread+0x22c/0x334
[   19.260000] [<8008e544>] kthread+0x88/0x90
[   19.260000] [<80065020>] kernel_thread_helper+0x10/0x18
[   19.270000]
[   19.270000] ---[ end trace 22e9d696adfa6a08 ]---

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34369

12 years agoAA: ar71xx: fix GPIO function selection for AR934x
Gabor Juhos [Sun, 25 Nov 2012 16:22:56 +0000 (16:22 +0000)]
AA: ar71xx: fix GPIO function selection for AR934x

Backport of r34275.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34368

12 years agoAA: ar71xx: restore rb4xx kernel partition size to the original value
Gabor Juhos [Sun, 25 Nov 2012 16:22:55 +0000 (16:22 +0000)]
AA: ar71xx: restore rb4xx kernel partition size to the original value

Backport of r34274.

The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34367

12 years agoAA: ar71xx: install lzma compressed elf kernel image from wget2nand
Gabor Juhos [Sun, 25 Nov 2012 16:22:54 +0000 (16:22 +0000)]
AA: ar71xx: install lzma compressed elf kernel image from wget2nand

Backport of r34273.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34366

12 years agoAA: ar71xx/image: provide lzma compressed elf kernel image
Gabor Juhos [Sun, 25 Nov 2012 16:22:53 +0000 (16:22 +0000)]
AA: ar71xx/image: provide lzma compressed elf kernel image

Backport of r34272.

This will be used on the RB4xx/RB7xx/RB2011 boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34365

12 years agoAA: ar71xx/image: relink loader.elf image to LOADADDR
Gabor Juhos [Sun, 25 Nov 2012 16:22:52 +0000 (16:22 +0000)]
AA: ar71xx/image: relink loader.elf image to LOADADDR

Backport of r34271.

This allows to load the resulting image directly
from RouterBOOT.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34364

12 years agoAA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
Gabor Juhos [Sun, 25 Nov 2012 16:22:50 +0000 (16:22 +0000)]
AA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350

Backport of r34270.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34363

12 years agoAA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
Gabor Juhos [Sun, 25 Nov 2012 16:22:49 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

Backport of r34269.

[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34362

12 years agoAA: mac80211/rt2x00: support Rt3352 with external PA
Gabor Juhos [Sun, 25 Nov 2012 16:22:48 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: support Rt3352 with external PA

Backport of r34268.

This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34361

12 years agoAA: ar71xx: use custom LZMA dictionary size for WNDR3700 images
Gabor Juhos [Sun, 25 Nov 2012 16:22:47 +0000 (16:22 +0000)]
AA: ar71xx: use custom LZMA dictionary size for WNDR3700 images

Backport of r34248.

Based on a patch by Hannu Nyman.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34360

12 years agoAA: generic: ar8216: add MIB counter support for the AR8216 switch as well
Gabor Juhos [Sun, 25 Nov 2012 16:22:46 +0000 (16:22 +0000)]
AA: generic: ar8216: add MIB counter support for the AR8216 switch as well

Backport of r34245.

Thanks to Jonas Gorski for the reference URL.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34359

12 years agoAA: generic: ar8216: rename AR8216_*_STATS_* defines
Gabor Juhos [Sun, 25 Nov 2012 16:22:45 +0000 (16:22 +0000)]
AA: generic: ar8216: rename AR8216_*_STATS_* defines

Backport of r34244.

The names are misleading, those are only valid from
AR8236. The AR8216 chip uses different offsets.

Thanks to Jonas Gorski for the report.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34358

12 years agoAA: generic ar8216: allow to read/reset MIB counters via swconfig
Gabor Juhos [Sun, 25 Nov 2012 16:22:42 +0000 (16:22 +0000)]
AA: generic ar8216: allow to read/reset MIB counters via swconfig

Backport of r34243.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34357

12 years agoAA: generic: ar8216: use dynamically allocated private data in ar8216_probe
Gabor Juhos [Sun, 25 Nov 2012 16:22:41 +0000 (16:22 +0000)]
AA: generic: ar8216: use dynamically allocated private data in ar8216_probe

Backport of r34242.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34356

12 years agoAA: ar71xx: add user-space support for the RB435G board
Gabor Juhos [Sun, 25 Nov 2012 16:22:39 +0000 (16:22 +0000)]
AA: ar71xx: add user-space support for the RB435G board

Backport of r34240.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34355

12 years agoAA: ar71xx: add kernel support for the RB435G board
Gabor Juhos [Sun, 25 Nov 2012 16:22:38 +0000 (16:22 +0000)]
AA: ar71xx: add kernel support for the RB435G board

Backport of r34239.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34354

12 years agoAA: ar71xx: update PCI IRQ map for RB4xx devices
Gabor Juhos [Sun, 25 Nov 2012 16:22:36 +0000 (16:22 +0000)]
AA: ar71xx: update PCI IRQ map for RB4xx devices

Backport of r34238.

Should fix #12269.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34353

12 years agoAA: ar71xx: create profile and build image for the OpenMesh MR600 board
Gabor Juhos [Sun, 25 Nov 2012 16:22:35 +0000 (16:22 +0000)]
AA: ar71xx: create profile and build image for the OpenMesh MR600 board

Backport of r34237.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34352

12 years agoAA: package/uboot-envtools: add OpenMesh MR600 support
Gabor Juhos [Sun, 25 Nov 2012 16:22:34 +0000 (16:22 +0000)]
AA: package/uboot-envtools: add OpenMesh MR600 support

Backport of r34236.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34351

12 years agoAA: ar71xx: enable sysupgrade for the OpenMesh MR600
Gabor Juhos [Sun, 25 Nov 2012 16:22:33 +0000 (16:22 +0000)]
AA: ar71xx: enable sysupgrade for the OpenMesh MR600

Backport of r34235.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34350

12 years agoAA: ar71xx: rename om2p.sh upgrade script to openmesh.sh
Gabor Juhos [Sun, 25 Nov 2012 16:22:32 +0000 (16:22 +0000)]
AA: ar71xx: rename om2p.sh upgrade script to openmesh.sh

Backport of r34234.

It will be used on other boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34349

12 years agoAA: scripts/om-fwupgradecfg-gen.sh: add support for the MR600
Gabor Juhos [Sun, 25 Nov 2012 16:16:19 +0000 (16:16 +0000)]
AA: scripts/om-fwupgradecfg-gen.sh: add support for the MR600

Backport of r34233.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34348

12 years agobrcm47xx: add profile for bcm4705 with wl driver
Hauke Mehrtens [Sun, 25 Nov 2012 16:16:18 +0000 (16:16 +0000)]
brcm47xx: add profile for bcm4705 with wl driver

backport of r34336.

SVN-Revision: 34347

12 years agoAA: ar71xx: add user-space support for the OpenMesh MR600 board
Gabor Juhos [Sun, 25 Nov 2012 16:16:15 +0000 (16:16 +0000)]
AA: ar71xx: add user-space support for the OpenMesh MR600 board

Backport of r34232.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34346

12 years agoAA: ar71xx: add kernel support for the OpenMesh MR600 board
Gabor Juhos [Sun, 25 Nov 2012 16:16:12 +0000 (16:16 +0000)]
AA: ar71xx: add kernel support for the OpenMesh MR600 board

Backport of r34231.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34345

12 years agoAA: scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh
Gabor Juhos [Sun, 25 Nov 2012 16:16:07 +0000 (16:16 +0000)]
AA: scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh

Backport of r34200.

It will be used for non OM2P boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34344