Commit Graph

21677 Commits (80d2da9f0ffcc665ac7a383b571bc07574dd3aff)

Author SHA1 Message Date
Gabor Juhos 069f544d2b ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
SVN-Revision: 33318
2012-09-05 19:26:50 +00:00
Gabor Juhos 81bb246a8d ar71xx: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33317
2012-09-05 19:22:51 +00:00
Gabor Juhos 6c7b776ae0 ramips: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33316
2012-09-05 19:22:48 +00:00
Florian Fainelli 94a45be66b enable CFI command set 0002 FORCE_WORD_WRITE
SVN-Revision: 33315
2012-09-03 20:25:51 +00:00
Florian Fainelli 19cbe80501 pad squashfs image
SVN-Revision: 33314
2012-09-03 20:25:46 +00:00
Florian Fainelli 1964753c22 add Generic and dLAN USB Extender profiles
SVN-Revision: 33313
2012-09-03 20:25:40 +00:00
Florian Fainelli e88e20d975 nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

SVN-Revision: 33312
2012-09-03 10:26:01 +00:00
Felix Fietkau 088a126240 hostapd: fix ap+sta issues
SVN-Revision: 33311
2012-08-29 16:06:24 +00:00
Gabor Juhos 11c3392b7f Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions.

SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos eb9a97a360 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos 02cb5f9dcd ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
2012-08-29 10:37:53 +00:00
Gabor Juhos b0da5b73b8 ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
SVN-Revision: 33307
2012-08-29 10:37:51 +00:00
Gabor Juhos b2d4ae6615 iwinfo: add hwinfo of AR9280 2T2R PCIe
SVN-Revision: 33306
2012-08-29 10:37:49 +00:00
Gabor Juhos 54d8a55eed 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>

SVN-Revision: 33305
2012-08-29 10:37:47 +00:00
Gabor Juhos bc4763a399 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>

SVN-Revision: 33304
2012-08-29 10:37:45 +00:00
Gabor Juhos 1617f226a9 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>

SVN-Revision: 33303
2012-08-29 10:37:43 +00:00
Gabor Juhos bb0785880a 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>

SVN-Revision: 33302
2012-08-29 10:37:41 +00:00
Gabor Juhos f1b9d77912 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>

SVN-Revision: 33301
2012-08-29 10:37:40 +00:00
Gabor Juhos 1f3400d3b4 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>

SVN-Revision: 33300
2012-08-29 10:37:38 +00:00
Gabor Juhos 3b17f1deb8 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>

SVN-Revision: 33299
2012-08-29 10:37:36 +00:00
Gabor Juhos 358c7e47f2 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>

SVN-Revision: 33298
2012-08-29 10:37:35 +00:00
Gabor Juhos 86ff39c2cb mac80211/rt2800: integrate cosmetic changes in rt3352 support
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33297
2012-08-29 10:37:33 +00:00
Gabor Juhos 326426b388 uboot-envtools: add configration for ramips devices
uboot-env settings for ALL0239-3G, ALL0256N, ALL5002.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33296
2012-08-29 10:37:32 +00:00
Gabor Juhos 0c5688cc38 ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
SVN-Revision: 33295
2012-08-29 10:37:30 +00:00
Gabor Juhos 5fdbb33db4 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>

SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Jo-Philipp Wich 803b98f7a3 iwinfo: add hwinfo for Rt3050 and maintain alphabetic order
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33293
2012-08-29 10:10:46 +00:00
John Crispin 8703cf92d0 revert threadsafe patch
SVN-Revision: 33292
2012-08-29 10:08:30 +00:00
Jo-Philipp Wich 95738d97a9 ppp: introduce "authfail" option which specifies whether pppd should attempt to re-authenticate after a failed PAP/CHAP auth
SVN-Revision: 33291
2012-08-29 10:07:08 +00:00
Felix Fietkau c965569d21 ath9k: add fix to improve reliability of powersave clients
SVN-Revision: 33290
2012-08-29 08:16:34 +00:00
Felix Fietkau eb896ce900 mac80211: reorganize patches
SVN-Revision: 33289
2012-08-29 08:16:31 +00:00
Gabor Juhos 4405faae26 gemini: fix bus ids for PHY devices (closes: #12082)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33288
2012-08-27 18:09:57 +00:00
Gabor Juhos f2030c3113 ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33287
2012-08-27 14:55:38 +00:00
Gabor Juhos d65c06c15c ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33286
2012-08-27 14:55:37 +00:00
Gabor Juhos 4079f3163f ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33285
2012-08-27 14:55:36 +00:00
Gabor Juhos abffa4ecfb ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33284
2012-08-27 14:55:35 +00:00
Gabor Juhos 9130e1121a uboot-envtools: add configuration for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33283
2012-08-27 14:55:33 +00:00
Gabor Juhos 1d96b0275c ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33282
2012-08-27 14:55:32 +00:00
Gabor Juhos eebdd633e4 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos cca873e8e0 ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Felix Fietkau e85962926a mac80211: fix a crash on accessing stale skb->dev references
SVN-Revision: 33279
2012-08-27 12:23:25 +00:00
Felix Fietkau 4a04899c5e ath9k: fix PA predistortion training, fixes hang issues and most likely also fixes #12073
SVN-Revision: 33278
2012-08-27 11:10:36 +00:00
Felix Fietkau 7a341980fa ath9k: add a patch to fix ASPM related issues
SVN-Revision: 33277
2012-08-27 11:07:23 +00:00
Felix Fietkau b639f7f0a4 madwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)
SVN-Revision: 33276
2012-08-26 20:47:39 +00:00
Gabor Juhos fccf1f5105 generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

SVN-Revision: 33275
2012-08-26 09:27:56 +00:00
Gabor Juhos 5a9c7fda3e 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>

SVN-Revision: 33274
2012-08-26 08:15:11 +00:00
John Crispin 27aa659f37 add missin -lpthread to the util - build bots spotted this
SVN-Revision: 33273
2012-08-26 06:31:04 +00:00
Gabor Juhos f3d5edffdc ar71xx: image: fix TL-WR1043ND board id (#12079)
SVN-Revision: 33272
2012-08-26 06:30:37 +00:00
Gabor Juhos 245fe6a76c 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

SVN-Revision: 33270
2012-08-24 10:01:01 +00:00
John Crispin fc1d7255ee add safethread
SVN-Revision: 33269
2012-08-24 09:58:42 +00:00
John Crispin de3c3d7181 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>

SVN-Revision: 33266
2012-08-24 06:15:06 +00:00