openwrt.git
12 years agoar71xx: refresh kernel patches
juhosg [Sat, 8 Sep 2012 13:39:04 +0000 (13:39 +0000)]
ar71xx: refresh kernel patches

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

12 years agomac80211: bump PKG_RELEASE
nbd [Sat, 8 Sep 2012 13:19:21 +0000 (13:19 +0000)]
mac80211: bump PKG_RELEASE

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

12 years agoath9k: disable PA predistortion by default, since it has been reported to reduce...
nbd [Sat, 8 Sep 2012 13:18:58 +0000 (13:18 +0000)]
ath9k: disable PA predistortion by default, since it has been reported to reduce rx sensitivity on some devices (#12135)

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

12 years agomac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more
nbd [Sat, 8 Sep 2012 11:10:54 +0000 (11:10 +0000)]
mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more

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

12 years ago[mcs814x] use the recommended ARM I/O accessors
florian [Sat, 8 Sep 2012 09:51:05 +0000 (09:51 +0000)]
[mcs814x] use the recommended ARM I/O accessors

use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

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

12 years ago[toolchain] gcc: add upstream fixes for GCC bug 54494
florian [Fri, 7 Sep 2012 10:31:58 +0000 (10:31 +0000)]
[toolchain] gcc: add upstream fixes for GCC bug 54494

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

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

12 years ago[toolchain] gcc: add upstream fixes for GCC bug 54369
florian [Fri, 7 Sep 2012 10:31:54 +0000 (10:31 +0000)]
[toolchain] gcc: add upstream fixes for GCC bug 54369

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

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

12 years ago[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first...
cshore [Thu, 6 Sep 2012 18:15:26 +0000 (18:15 +0000)]
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.

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

12 years agonetifd: update to latest version, fixes premature device release on link loss (fixes...
nbd [Thu, 6 Sep 2012 15:05:30 +0000 (15:05 +0000)]
netifd: update to latest version, fixes premature device release on link loss (fixes #12114, #12112, #11959)

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

12 years agolantiq: fix sx76x default uci network configuration
luka [Thu, 6 Sep 2012 00:09:46 +0000 (00:09 +0000)]
lantiq: fix sx76x default uci network configuration

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

12 years ago[mcs814x] add some ohci workarounds to make ohci work
florian [Wed, 5 Sep 2012 20:19:29 +0000 (20:19 +0000)]
[mcs814x] add some ohci workarounds to make ohci work

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

12 years agoramips: Add missing andmask to ramips_esw register read for recv_good value.
juhosg [Wed, 5 Sep 2012 20:08:43 +0000 (20:08 +0000)]
ramips: Add missing andmask to ramips_esw register read for recv_good value.

Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
juhosg [Wed, 5 Sep 2012 20:08:42 +0000 (20:08 +0000)]
ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.

Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[x86] add missing kvm_guest kernel options
blogic [Wed, 5 Sep 2012 19:38:42 +0000 (19:38 +0000)]
[x86] add missing kvm_guest kernel options

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

12 years agoar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
juhosg [Wed, 5 Sep 2012 19:26:50 +0000 (19:26 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x

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

12 years agoar71xx: add rssileds to package set in profile for devices which got them.
juhosg [Wed, 5 Sep 2012 19:22:51 +0000 (19:22 +0000)]
ar71xx: add rssileds to package set in profile for devices which got them.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: add rssileds to package set in profile for devices which got them.
juhosg [Wed, 5 Sep 2012 19:22:48 +0000 (19:22 +0000)]
ramips: add rssileds to package set in profile for devices which got them.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
florian [Mon, 3 Sep 2012 20:25:51 +0000 (20:25 +0000)]
[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE

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

12 years ago[mcs814x] pad squashfs image
florian [Mon, 3 Sep 2012 20:25:46 +0000 (20:25 +0000)]
[mcs814x] pad squashfs image

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

12 years ago[mcs814x] add Generic and dLAN USB Extender profiles
florian [Mon, 3 Sep 2012 20:25:40 +0000 (20:25 +0000)]
[mcs814x] add Generic and dLAN USB Extender profiles

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

12 years ago[mcs814x] nuport-mac: disable MAC RX and TX during interface close
florian [Mon, 3 Sep 2012 10:26:01 +0000 (10:26 +0000)]
[mcs814x] nuport-mac: disable MAC RX and TX during interface close

Fixes sporadic crashes while reconfiguring the network interface.

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

12 years agohostapd: fix ap+sta issues
nbd [Wed, 29 Aug 2012 16:06:24 +0000 (16:06 +0000)]
hostapd: fix ap+sta issues

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

12 years agoRevert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
juhosg [Wed, 29 Aug 2012 10:37:55 +0000 (10:37 +0000)]
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"

That was based on assumptions.

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

12 years agoar71xx: all0315n: fix ethernet according to vendor info
juhosg [Wed, 29 Aug 2012 10:37:54 +0000 (10:37 +0000)]
ar71xx: all0315n: fix ethernet according to vendor info

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
juhosg [Wed, 29 Aug 2012 10:37:53 +0000 (10:37 +0000)]
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds

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

12 years agoramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
juhosg [Wed, 29 Aug 2012 10:37:51 +0000 (10:37 +0000)]
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002

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

12 years agoiwinfo: add hwinfo of AR9280 2T2R PCIe
juhosg [Wed, 29 Aug 2012 10:37:49 +0000 (10:37 +0000)]
iwinfo: add hwinfo of AR9280 2T2R PCIe

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

12 years agoramips: make built-in switch transparent for ALL0256N and ALL5002
juhosg [Wed, 29 Aug 2012 10:37:47 +0000 (10:37 +0000)]
ramips: make built-in switch transparent for ALL0256N and ALL5002

This allows them to transparently communicate with an external VLAN switch.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Power down phy on disabled switch ports
juhosg [Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)]
ramips: Power down phy on disabled switch ports

Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Add support for 8devices Carambola dev board.
juhosg [Wed, 29 Aug 2012 10:37:43 +0000 (10:37 +0000)]
ramips: Add support for 8devices Carambola dev board.

Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Rename POC registers
juhosg [Wed, 29 Aug 2012 10:37:41 +0000 (10:37 +0000)]
ramips: Rename POC registers

Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Minor ramips_esw.c cleanup
juhosg [Wed, 29 Aug 2012 10:37:40 +0000 (10:37 +0000)]
ramips: Minor ramips_esw.c cleanup

Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Add switch setup to uci network defaults
juhosg [Wed, 29 Aug 2012 10:37:38 +0000 (10:37 +0000)]
ramips: Add switch setup to uci network defaults

Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: Add swconfig support to ramips_esw.c
juhosg [Wed, 29 Aug 2012 10:37:36 +0000 (10:37 +0000)]
ramips: Add swconfig support to ramips_esw.c

Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: ramips_esw.c indentation cleanup
juhosg [Wed, 29 Aug 2012 10:37:35 +0000 (10:37 +0000)]
ramips: ramips_esw.c indentation cleanup

Minor indentation cleanup.

Prepare for the main swconfig patch by cleaning up indentation a bit.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211/rt2800: integrate cosmetic changes in rt3352 support
juhosg [Wed, 29 Aug 2012 10:37:33 +0000 (10:37 +0000)]
mac80211/rt2800: integrate cosmetic changes in rt3352 support

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33297 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agouboot-envtools: add configration for ramips devices
juhosg [Wed, 29 Aug 2012 10:37:32 +0000 (10:37 +0000)]
uboot-envtools: add configration for ramips devices

uboot-env settings for ALL0239-3G, ALL0256N, ALL5002.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33296 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: image: fix Profile name for TL-WA701 (closes #12094)
juhosg [Wed, 29 Aug 2012 10:37:30 +0000 (10:37 +0000)]
ar71xx: image: fix Profile name for TL-WA701 (closes #12094)

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

12 years agoar71xx: Buffalo WZR-HP-AG300H LED support
juhosg [Wed, 29 Aug 2012 10:11:55 +0000 (10:11 +0000)]
ar71xx: Buffalo WZR-HP-AG300H LED support

An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoiwinfo: add hwinfo for Rt3050 and maintain alphabetic order
jow [Wed, 29 Aug 2012 10:10:46 +0000 (10:10 +0000)]
iwinfo: add hwinfo for Rt3050 and maintain alphabetic order

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33293 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[openssl] revert threadsafe patch
blogic [Wed, 29 Aug 2012 10:08:30 +0000 (10:08 +0000)]
[openssl] revert threadsafe patch

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

12 years ago[package] ppp: introduce "authfail" option which specifies whether pppd should attemp...
jow [Wed, 29 Aug 2012 10:07:08 +0000 (10:07 +0000)]
[package] ppp: introduce "authfail" option which specifies whether pppd should attempt to re-authenticate after a failed PAP/CHAP auth

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

12 years agoath9k: add fix to improve reliability of powersave clients
nbd [Wed, 29 Aug 2012 08:16:34 +0000 (08:16 +0000)]
ath9k: add fix to improve reliability of powersave clients

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

12 years agomac80211: reorganize patches
nbd [Wed, 29 Aug 2012 08:16:31 +0000 (08:16 +0000)]
mac80211: reorganize patches

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

12 years agogemini: fix bus ids for PHY devices (closes: #12082)
juhosg [Mon, 27 Aug 2012 18:09:57 +0000 (18:09 +0000)]
gemini: fix bus ids for PHY devices (closes: #12082)

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

12 years agoar71xx: add profile for Allnet devices
juhosg [Mon, 27 Aug 2012 14:55:38 +0000 (14:55 +0000)]
ar71xx: add profile for Allnet devices

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: generate image for ALL0315N
juhosg [Mon, 27 Aug 2012 14:55:37 +0000 (14:55 +0000)]
ar71xx: generate image for ALL0315N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: sysupgrade for the ALL0315N
juhosg [Mon, 27 Aug 2012 14:55:36 +0000 (14:55 +0000)]
ar71xx: sysupgrade for the ALL0315N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: rename all0258n.sh to allnet.sh
juhosg [Mon, 27 Aug 2012 14:55:35 +0000 (14:55 +0000)]
ar71xx: rename all0258n.sh to allnet.sh

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agouboot-envtools: add configuration for ALL0315N
juhosg [Mon, 27 Aug 2012 14:55:33 +0000 (14:55 +0000)]
uboot-envtools: add configuration for ALL0315N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33283 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: detect ALL0315N board
juhosg [Mon, 27 Aug 2012 14:55:32 +0000 (14:55 +0000)]
ar71xx: detect ALL0315N board

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: add support for the Allnet ALL0315N board
juhosg [Mon, 27 Aug 2012 14:55:31 +0000 (14:55 +0000)]
ar71xx: add support for the Allnet ALL0315N board

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
juhosg [Mon, 27 Aug 2012 14:55:26 +0000 (14:55 +0000)]
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agomac80211: fix a crash on accessing stale skb->dev references
nbd [Mon, 27 Aug 2012 12:23:25 +0000 (12:23 +0000)]
mac80211: fix a crash on accessing stale skb->dev references

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

12 years agoath9k: fix PA predistortion training, fixes hang issues and most likely also fixes...
nbd [Mon, 27 Aug 2012 11:10:36 +0000 (11:10 +0000)]
ath9k: fix PA predistortion training, fixes hang issues and most likely also fixes #12073

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

12 years agoath9k: add a patch to fix ASPM related issues
nbd [Mon, 27 Aug 2012 11:07:23 +0000 (11:07 +0000)]
ath9k: add a patch to fix ASPM related issues

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

12 years agomadwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)
nbd [Sun, 26 Aug 2012 20:47:39 +0000 (20:47 +0000)]
madwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)

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

12 years agogeneric: add support for the EON EN25Q64 SPI flash chip
juhosg [Sun, 26 Aug 2012 09:27:56 +0000 (09:27 +0000)]
generic: add support for the EON EN25Q64 SPI flash chip

It is used in some TL-WDR4310 devices. Closes #12077.

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

12 years agoar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
juhosg [Sun, 26 Aug 2012 08:15:11 +0000 (08:15 +0000)]
ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N

Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[openssl] add missin -lpthread to the util - build bots spotted this
blogic [Sun, 26 Aug 2012 06:31:04 +0000 (06:31 +0000)]
[openssl] add missin -lpthread to the util - build bots spotted this

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

12 years agoar71xx: image: fix TL-WR1043ND board id (#12079)
juhosg [Sun, 26 Aug 2012 06:30:37 +0000 (06:30 +0000)]
ar71xx: image: fix TL-WR1043ND board id (#12079)

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

12 years agopackage/util-linux: don't lie about availability of '%ms' scanf modifier
juhosg [Fri, 24 Aug 2012 10:01:01 +0000 (10:01 +0000)]
package/util-linux: don't lie about availability of '%ms' scanf modifier

Use a patch from gentoo which allows building libmount even
if the C library does not supports %ms/%as.

See: https://bugs.gentoo.org/406303

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

12 years ago[openssl] add safethread
blogic [Fri, 24 Aug 2012 09:58:42 +0000 (09:58 +0000)]
[openssl] add safethread

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

12 years ago[kirkwood] Enable eSATA sheevaplug
blogic [Fri, 24 Aug 2012 06:15:06 +0000 (06:15 +0000)]
[kirkwood] Enable eSATA sheevaplug

OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33266 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agopackage/uboot-envtools: always install the fw_setenv symlink
juhosg [Thu, 23 Aug 2012 14:27:36 +0000 (14:27 +0000)]
package/uboot-envtools: always install the fw_setenv symlink

It is required by sysupgrade on some boards, and it is only
working if a suitable /etc/fw_env.config is present on the
target board. If an user creates such configuration he/she
should know that it is a dangerous tool. The devices can
be bricked in several other ways anyway.

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

12 years agoar71xx: image: group and sort {Single,Multi}Profiles
juhosg [Thu, 23 Aug 2012 13:17:47 +0000 (13:17 +0000)]
ar71xx: image: group and sort {Single,Multi}Profiles

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

12 years agoar71xx: image: group and sort mtdlayout definitions
juhosg [Thu, 23 Aug 2012 13:14:35 +0000 (13:14 +0000)]
ar71xx: image: group and sort mtdlayout definitions

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

12 years agoar71xx: image: use the MultiProfile helper for the Madwifi profile
juhosg [Thu, 23 Aug 2012 13:11:25 +0000 (13:11 +0000)]
ar71xx: image: use the MultiProfile helper for the Madwifi profile

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

12 years agoar71xx: image: automatically build a list of SingleProfiles
juhosg [Thu, 23 Aug 2012 13:08:15 +0000 (13:08 +0000)]
ar71xx: image: automatically build a list of SingleProfiles

Use that for Default/Minimal profiles.

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

12 years agoar71xx: image: use the new helpers for the ZyXEL images
juhosg [Thu, 23 Aug 2012 13:05:05 +0000 (13:05 +0000)]
ar71xx: image: use the new helpers for the ZyXEL images

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

12 years agoar71xx: image: use the new helpers for the Zcomax images
juhosg [Thu, 23 Aug 2012 13:01:55 +0000 (13:01 +0000)]
ar71xx: image: use the new helpers for the Zcomax images

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

12 years agoar71xx: image: use the new helpers for the WRT400 images
juhosg [Thu, 23 Aug 2012 12:58:45 +0000 (12:58 +0000)]
ar71xx: image: use the new helpers for the WRT400 images

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

12 years agoar71xx: image: use the new helpers for the WZRHPG30XNH images
juhosg [Thu, 23 Aug 2012 12:55:35 +0000 (12:55 +0000)]
ar71xx: image: use the new helpers for the WZRHPG30XNH images

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

12 years agoar71xx: image: use the new helpers for the WHRHPG300N images
juhosg [Thu, 23 Aug 2012 12:52:25 +0000 (12:52 +0000)]
ar71xx: image: use the new helpers for the WHRHPG300N images

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

12 years agoar71xx: image: use the new helpers for the UBNTXM images
juhosg [Thu, 23 Aug 2012 12:49:15 +0000 (12:49 +0000)]
ar71xx: image: use the new helpers for the UBNTXM images

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

12 years agoar71xx: image: use the new helpers for the UBNT images
juhosg [Thu, 23 Aug 2012 12:46:06 +0000 (12:46 +0000)]
ar71xx: image: use the new helpers for the UBNT images

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

12 years agoar71xx: image: use the new helpers for the TPLINKOLD images
juhosg [Thu, 23 Aug 2012 12:42:56 +0000 (12:42 +0000)]
ar71xx: image: use the new helpers for the TPLINKOLD images

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

12 years agoar71xx: image: use the new helpers for the TPLINK-LZMA images
juhosg [Thu, 23 Aug 2012 12:39:46 +0000 (12:39 +0000)]
ar71xx: image: use the new helpers for the TPLINK-LZMA images

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

12 years agoar71xx: image: use the new helpers for the TPLINK images
juhosg [Thu, 23 Aug 2012 12:36:35 +0000 (12:36 +0000)]
ar71xx: image: use the new helpers for the TPLINK images

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

12 years agoar71xx: image: use the new helpers for the Planex images
juhosg [Thu, 23 Aug 2012 12:33:25 +0000 (12:33 +0000)]
ar71xx: image: use the new helpers for the Planex images

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

12 years agoar71xx: image: use the new helpers for the PB4X images
juhosg [Thu, 23 Aug 2012 12:30:15 +0000 (12:30 +0000)]
ar71xx: image: use the new helpers for the PB4X images

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

12 years agoar71xx: image: use the new helpers for the OpenMesh images
juhosg [Thu, 23 Aug 2012 12:27:06 +0000 (12:27 +0000)]
ar71xx: image: use the new helpers for the OpenMesh images

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

12 years agoar71xx: image: use the new helpers for the Netgear images
juhosg [Thu, 23 Aug 2012 12:23:56 +0000 (12:23 +0000)]
ar71xx: image: use the new helpers for the Netgear images

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

12 years agoar71xx: image: use the new helpers for the MyLoader images
juhosg [Thu, 23 Aug 2012 12:20:46 +0000 (12:20 +0000)]
ar71xx: image: use the new helpers for the MyLoader images

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

12 years agoar71xx: image: use the new helpers for the DIR825B1 images
juhosg [Thu, 23 Aug 2012 12:17:36 +0000 (12:17 +0000)]
ar71xx: image: use the new helpers for the DIR825B1 images

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

12 years agoar71xx: image: use the new helpers for the CyberTAN images
juhosg [Thu, 23 Aug 2012 12:14:26 +0000 (12:14 +0000)]
ar71xx: image: use the new helpers for the CyberTAN images

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

12 years agoar71xx: image: use the new helpers for the Cameo933x images
juhosg [Thu, 23 Aug 2012 12:11:17 +0000 (12:11 +0000)]
ar71xx: image: use the new helpers for the Cameo933x images

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

12 years agoar71xx: image: use the new helpers for the Cameo913x images
juhosg [Thu, 23 Aug 2012 12:08:07 +0000 (12:08 +0000)]
ar71xx: image: use the new helpers for the Cameo913x images

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

12 years agoar71xx: image: use the new helpers for the Cameo7240 images
juhosg [Thu, 23 Aug 2012 12:04:57 +0000 (12:04 +0000)]
ar71xx: image: use the new helpers for the Cameo7240 images

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

12 years agoar71xx: image: use the new helpers for the AthGzip images
juhosg [Thu, 23 Aug 2012 12:01:47 +0000 (12:01 +0000)]
ar71xx: image: use the new helpers for the AthGzip images

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

12 years agoar71xx: image: use the new helpers for the AthLzma images
juhosg [Thu, 23 Aug 2012 11:58:37 +0000 (11:58 +0000)]
ar71xx: image: use the new helpers for the AthLzma images

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

12 years agoar71xx: image: use the new helpers for the ALFA images
juhosg [Thu, 23 Aug 2012 11:55:27 +0000 (11:55 +0000)]
ar71xx: image: use the new helpers for the ALFA images

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

12 years agoar71xx: image: add a few helper functions
juhosg [Thu, 23 Aug 2012 11:52:18 +0000 (11:52 +0000)]
ar71xx: image: add a few helper functions

These functions will be used to simplify the Makefile.

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

12 years agoar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
juhosg [Thu, 23 Aug 2012 11:49:07 +0000 (11:49 +0000)]
ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template

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

12 years ago[brcm47xx] update profiles
hauke [Wed, 22 Aug 2012 21:54:06 +0000 (21:54 +0000)]
[brcm47xx] update profiles

* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

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

12 years agoar71xx: add profile and build image for the TEW-712BR
juhosg [Wed, 22 Aug 2012 20:18:44 +0000 (20:18 +0000)]
ar71xx: add profile and build image for the TEW-712BR

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

12 years agotools/firmware-utils: add a new tool for TEW-712BR firmware generation
juhosg [Wed, 22 Aug 2012 20:15:34 +0000 (20:15 +0000)]
tools/firmware-utils: add a new tool for TEW-712BR firmware generation

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

12 years agoar71xx: TEW-712BR user space support
juhosg [Wed, 22 Aug 2012 20:12:24 +0000 (20:12 +0000)]
ar71xx: TEW-712BR user space support

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

12 years agoar71xx: add support for the TRENDnet TEW-712BR board
juhosg [Wed, 22 Aug 2012 20:09:13 +0000 (20:09 +0000)]
ar71xx: add support for the TRENDnet TEW-712BR board

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

12 years agoar71xx: fix serial clock calculation on AR933x
juhosg [Wed, 22 Aug 2012 19:11:10 +0000 (19:11 +0000)]
ar71xx: fix serial clock calculation on AR933x

Closes #12031.

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