1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 02:27:11 +02:00
Commit Graph

24839 Commits

Author SHA1 Message Date
juhosg
3868d762d1 ar71xx: use the RLE library for RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
juhosg
6142d590e3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
juhosg
41be3a0bd3 ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
juhosg
6f0a45267a ar71xx: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
nbd
c0c235b52c mac80211: bump PKG_RELEASE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:19:21 +00:00
nbd
a069149927 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
2012-09-08 13:18:58 +00:00
nbd
de017af48d 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
2012-09-08 11:10:54 +00:00
florian
08b17128a1 [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
2012-09-08 09:51:05 +00:00
florian
555155f8ea [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
2012-09-07 10:31:58 +00:00
florian
c46c99ab6a [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
2012-09-07 10:31:54 +00:00
cshore
60244743f9 [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
2012-09-06 18:15:26 +00:00
nbd
22a3f4be87 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
2012-09-06 15:05:30 +00:00
luka
507c46269b lantiq: fix sx76x default uci network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 00:09:46 +00:00
florian
d6378b5278 [mcs814x] add some ohci workarounds to make ohci work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:19:29 +00:00
juhosg
dddb52eedf 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
2012-09-05 20:08:43 +00:00
juhosg
07073dcb27 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
2012-09-05 20:08:42 +00:00
blogic
e937e774c9 [x86] add missing kvm_guest kernel options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:38:42 +00:00
juhosg
34d7147aef 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
2012-09-05 19:26:50 +00:00
juhosg
b4336504ba 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
2012-09-05 19:22:51 +00:00
juhosg
cb29036b4a 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
2012-09-05 19:22:48 +00:00
florian
8e3e58e908 [mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:51 +00:00
florian
902cbf7fcc [mcs814x] pad squashfs image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:46 +00:00
florian
cfcbecc91d [mcs814x] add Generic and dLAN USB Extender profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:40 +00:00
florian
cfcb04f63c [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
2012-09-03 10:26:01 +00:00
nbd
1f8154c1de hostapd: fix ap+sta issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 16:06:24 +00:00
juhosg
311f77fe3e 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
2012-08-29 10:37:55 +00:00
juhosg
32b0679079 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
2012-08-29 10:37:54 +00:00
juhosg
ddc3f6ec51 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
2012-08-29 10:37:53 +00:00
juhosg
0802aeffc1 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
2012-08-29 10:37:51 +00:00
juhosg
741e00ab5e iwinfo: add hwinfo of AR9280 2T2R PCIe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:49 +00:00
juhosg
c4ce5d343d 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
2012-08-29 10:37:47 +00:00
juhosg
2a86045d51 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
2012-08-29 10:37:45 +00:00
juhosg
0464c077a4 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
2012-08-29 10:37:43 +00:00
juhosg
4cf75bc115 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
2012-08-29 10:37:41 +00:00
juhosg
1bac05a581 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
2012-08-29 10:37:40 +00:00
juhosg
90dab951da 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
2012-08-29 10:37:38 +00:00
juhosg
746f915308 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
2012-08-29 10:37:36 +00:00
juhosg
d6de6b1e83 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
2012-08-29 10:37:35 +00:00
juhosg
b1408695b0 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
2012-08-29 10:37:33 +00:00
juhosg
cf40a16727 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
2012-08-29 10:37:32 +00:00
juhosg
80cd7e164b 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
2012-08-29 10:37:30 +00:00
juhosg
1631af0254 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
2012-08-29 10:11:55 +00:00
jow
fe803515fe 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
2012-08-29 10:10:46 +00:00
blogic
63c7dfbc7e [openssl] revert threadsafe patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:08:30 +00:00
jow
23dada0898 [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
2012-08-29 10:07:08 +00:00
nbd
008b73b3ce ath9k: add fix to improve reliability of powersave clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 08:16:34 +00:00
nbd
542b91ec01 mac80211: reorganize patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 08:16:31 +00:00
juhosg
c4f6306026 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
2012-08-27 18:09:57 +00:00
juhosg
8bdd622adf 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
2012-08-27 14:55:38 +00:00
juhosg
54b8dcd696 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
2012-08-27 14:55:37 +00:00