John Crispin
607ecb249c
ralink: add support for firewrt
...
this is a mt7621 based board
Signed-off-by: wengbj <linux.c@foxmail.com>
SVN-Revision: 44055
2015-01-20 06:34:28 +00:00
Felix Fietkau
9e7cc83edc
ralink: fix ethernet rx buffer size breakage
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44047
2015-01-18 20:17:41 +00:00
Felix Fietkau
a4460ca5a7
ralink: improve check rx sg function. use check frags instead of function call
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44046
2015-01-18 20:17:28 +00:00
Felix Fietkau
b3ca42ec8f
ralink: correct handle hardware rx 2bytes offset
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44045
2015-01-18 20:17:18 +00:00
Felix Fietkau
03ea0cf6f1
ralink: use fe_reset to control all reset
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44044
2015-01-18 20:17:07 +00:00
Felix Fietkau
50588ef192
ralink: improve tx_timeout function
...
* use default timeout value
* print more debug ring info
* move timeout reset function to workqueue
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44043
2015-01-18 20:16:50 +00:00
Felix Fietkau
69ee1807ed
ralink: add ethernet fe and esw reset control bit
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44042
2015-01-18 20:16:44 +00:00
Felix Fietkau
a5b578c2d9
ralink: reduce access to uncached tx/rx dma ring buffer
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44041
2015-01-18 20:16:35 +00:00
Felix Fietkau
68f50c4e2d
ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44028
2015-01-18 09:25:49 +00:00
Felix Fietkau
b0e6e6e2f2
ramips: add mt7621 cpu feature overrides
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44027
2015-01-18 09:25:43 +00:00
Felix Fietkau
f66cca61d2
ramips: refresh kernel patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44025
2015-01-18 09:25:32 +00:00
Felix Fietkau
632be658d5
ramips: add missing copyright info for relocate stub
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44017
2015-01-17 21:22:36 +00:00
Felix Fietkau
40b740b232
ramips: add preliminary support for DIR-860L B1
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44016
2015-01-17 21:20:05 +00:00
Felix Fietkau
33848f14d3
ramips: add code for relocating a kernel to the right place
...
(used if the boot loader wants a different loadaddr/entry)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44014
2015-01-17 21:19:38 +00:00
Felix Fietkau
82f21058a1
ramips: enable the seama mtdsplit parser
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44013
2015-01-17 21:19:30 +00:00
Felix Fietkau
590e0d7f81
ramips: register mt76 device tree info for WSR-1166DHP
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44010
2015-01-17 16:50:59 +00:00
Felix Fietkau
070f67aa9b
ramips: register mt7621 pcie through device tree
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44009
2015-01-17 16:50:51 +00:00
John Crispin
50a5cd829c
ralink: sync mt7621 pcie driver with latest SDK
...
fixes newer ECO versions and a hang on reboot bug
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44008
2015-01-17 14:50:59 +00:00
John Crispin
88df2bd2ff
ramips: add support for Intenso Memory 2 Move USB 3.0
...
This adds support for a rt5350-based "portable nas" solution
from Intenso. The board comes with 32M RAM and 8M Flash, the
built-in HDD is connected/accessible via a usb3.0<->sata
bridge VLI VL701.
The device has 1 Ethernet port (100M/10M), 1 micro b usb 3.0
socket (for charging the battery, or accessing the hdd directly).
Wireless connectivity is provided by the rt5350 SoC [i.e.:
802.11n 1x1 2.4 GHz with a pcb antenna.]
Serial, leds, wifi, ethernet and usb are tested and
as far as I can tell: they are working fine (tm).
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 44001
2015-01-17 14:06:13 +00:00
Felix Fietkau
00db07be58
ramips: fix tx bql related race condition in the ethernet driver
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43995
2015-01-17 13:13:55 +00:00
John Crispin
7a65864344
ralink: add support for Kingston MLWG2
...
This patch adds support for the Kingston Mobilelite Wireless G2 (MLWG2)
http://wiki.openwrt.org/toh/kingston/mlwg2
https://github.com/gmacario/kingston-mlwg2-hack/wiki/Testing-OpenWrt-on-MLWG2
Tested-by: Gianpaolo Macario <gmacario@gmail.com>
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 43990
2015-01-17 07:07:36 +00:00
John Crispin
56a54515df
ramips: add i2c pingroup to the pinmux for rt-n14u
...
i2c pins are wired to wps a reset button
Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
SVN-Revision: 43985
2015-01-17 07:06:59 +00:00
John Crispin
27b82a7990
ramips: fix default led configuration for rt-n14u
...
use new helper function to generate default led configuration
Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
SVN-Revision: 43984
2015-01-17 07:06:51 +00:00
Felix Fietkau
bc78885e70
ramips: add missing -Os cflag for mt7621
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43954
2015-01-13 00:34:49 +00:00
Felix Fietkau
acfc6c153b
ramips: use a larger number of rx descriptors on mt7621 to work around rx overrun related packet loss
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43953
2015-01-13 00:34:45 +00:00
Felix Fietkau
05d4b8c79b
ramips: remove interrupt coalescing, it is unnecessary with napi polling and could reduce throughput
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43952
2015-01-13 00:34:38 +00:00
Felix Fietkau
5b0d18093d
ramips: convert mt7621 images to new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43908
2015-01-10 15:26:53 +00:00
Felix Fietkau
e66f1292aa
ramips: simplify mkimage kernel loadaddr/entry handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43906
2015-01-10 15:26:38 +00:00
Felix Fietkau
48d8bc4f97
ramips: add preliminary Archer C20i support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43898
2015-01-09 15:40:51 +00:00
John Crispin
2120e48e75
ramips: Fix HooToo HT-TM02 support.
...
- Fix LED definitions.
- Add mode-switch slider definition (at GPIO 14).
- Remove unneeded VLAN now that the ethernet driver is fixed and TCP packets get passed correctly now. (This router only has one port.)
- Fix LAN port MAC address, which is defined in the factory partition as WLAN MAC address + 1.
- Fix board name, as the company name is HooToo and not HOOTOO.
- Remove unnecessary packages from the profile. (The end-user is supposed to use mechanisms such as the ImageBuilder in order to add his own set of packages to his own images... while the precompiled images should just contain the core set of packages needed to run the base functions of a wireless router.)
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43883
2015-01-08 20:26:20 +00:00
John Crispin
5ea31bbc58
ramips: Fix for gpio falling interrupt mask
...
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.
Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43882
2015-01-08 20:26:13 +00:00
John Crispin
2ea64717e2
ramips: update BR-6475ND dts
...
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 43881
2015-01-08 20:26:02 +00:00
John Crispin
f9dcd95919
ramips: base-files: Whitespace fixes.
...
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43880
2015-01-08 20:25:55 +00:00
Felix Fietkau
7cc5b6f9e9
all targets: remove all =m kernel config symbols
...
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43842
2015-01-05 13:02:44 +00:00
Felix Fietkau
fd7be4073a
ramips: fix WSR-600DHP flash layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43819
2015-01-03 18:31:27 +00:00
Felix Fietkau
373c84c30b
ramips: fix WSR-1166DHP flash layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43818
2015-01-03 18:31:17 +00:00
Felix Fietkau
ada0452b14
ramips: fix WSR-{600,1166} names
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43817
2015-01-03 18:31:11 +00:00
Felix Fietkau
ca32b89cc0
ramips: fix wsr-1166 sysupgrade support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43816
2015-01-03 18:31:06 +00:00
Felix Fietkau
88e8f99f7f
ramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup to take effect)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43815
2015-01-03 18:30:57 +00:00
Felix Fietkau
bdc35c8ef4
ramips: fix WSR-600 image format
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43814
2015-01-02 21:53:45 +00:00
Felix Fietkau
8eb074756d
ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43813
2015-01-02 21:53:38 +00:00
Felix Fietkau
ed20caeb65
ramips: fix image format for WSR-1166
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43812
2015-01-02 21:53:31 +00:00
Felix Fietkau
10c2bdbc4f
ramips: disable ethernet checksum offloads for mt7621, they are broken
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43811
2015-01-02 21:53:24 +00:00
Felix Fietkau
51b1f0ca5c
ramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is unavailable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43810
2015-01-02 21:53:18 +00:00
Felix Fietkau
81e3014e6d
ramips: rework and fix m25p80 chunked-io support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43808
2015-01-02 21:53:02 +00:00
Felix Fietkau
aefd3c569c
ramips: split mt7621 spi into a separate driver, increase maximum transfer size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43807
2015-01-02 21:52:53 +00:00
Imre Kaloz
6bfd210ade
honor the bootloader's bootargs
...
Only overwrite the bootloader's bootargs if "chosen" exists in the dtb
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43802
2015-01-02 16:48:20 +00:00
John Crispin
0ffb7323d0
ralink: remove partitoon map from mt7621.dtsi
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43720
2014-12-15 15:55:37 +00:00
John Crispin
019ea725aa
add "preinit_regular" diag.sh set_state argument
...
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
Rafał Miłecki
fbea00b031
ramips: update mtd patches to apply after changes from r43700
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43709
2014-12-15 09:10:43 +00:00