aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ralink: make sure a mii_bus is loaded before accesing its stateJohn Crispin2014-10-301-4/+4
| | | | | | | | this caused a crash on boot Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43120
* ralink: load mt7530 driver on the 3 buffalo unitsJohn Crispin2014-10-301-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43119
* ralink: mt7530 - force wan port upJohn Crispin2014-10-301-5/+14
| | | | | | | | some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43117
* ralink: fix mt7530 for newer silicon revisionsJohn Crispin2014-10-301-10/+7
| | | | | | | | latest mt7530 silicon seems to have a different phy id. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43113
* ramips: improve ralink ethernet driverJohn Crispin2014-10-291-458/+1434
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change list: * add tx scatter gather function. * add software rx vlan offload to let GRO work. * add jumbo frame support. because use build_skb so max MTU is 3812. * enable hardware tx vlan. * enable GRO and remove LRO. because it can improve performance and can work on forwarding. * enable/fix tx padding function. * let napi handle tx clean up. * support ethtool operation. now support message level, hardware status and coalesce. * ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it. Notes: * build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a. * TCP NAT performance improve. test with netperf. - rt2880(gigabit) from 5x to 12x Mbps. - rt3x5x from 6x to 94 Mbps. - rt5250 from 5x to 8x Mbps. - rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame. - mt7620 still 94Mbps. * TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 43108
* ralink: fix switch config on mt7530 evbJohn Crispin2014-10-292-0/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43105
* ralink: fix a off by 4 bug in mt7530John Crispin2014-10-291-63/+112
| | | | | | | | 0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43104
* ramips: add support for A5-V11 board (resubmit)John Crispin2014-10-297-0/+152
| | | | | | | | | | (Reposted due to an issue with the patchwork server during original submission) Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key) Signed-off-by: Gareth Bryan <gareth@mx9.org> SVN-Revision: 43102
* ramips: fix filenames in PorayDualSize factory imagesJohn Crispin2014-10-261-2/+2
| | | | SVN-Revision: 43073
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
* ramips: add comments for image/Makefile.John Crispin2014-10-201-1/+20
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42991
* firmware-utils: restore compilation of mkhilinkfw.John Crispin2014-10-201-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42989
* ramips: add support for Nexx WT3020 devicesJohn Crispin2014-10-208-0/+213
| | | | SVN-Revision: 42983
* ramips: sort boards in upgrade/platform.sh alphabeticallyJohn Crispin2014-10-201-18/+18
| | | | SVN-Revision: 42982
* ramips: fix usercfg partition offset for WHR-1166DFelix Fietkau2014-10-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42958
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-142-2/+2
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* ralink: Build 8M image for 7Links PX-4885John Crispin2014-10-134-40/+85
| | | | | | | | | 7Links PX-4885 (clones) can also be purchased with 8MB flash. Creating images for these routers, use dtsi for common part Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42892
* ralink: various i2c related fixesJohn Crispin2014-10-101-20/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42868
* ramips: add support for Nexx WT1520John Crispin2014-10-108-1/+120
| | | | | | Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 42867
* ralink: various i2c fixesJohn Crispin2014-10-061-31/+66
| | | | | | | | the driver did not handle all states correctly causing a deadlock of the i2c hw block. Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it> SVN-Revision: 42807
* ramips: D-Link DIR-810L: make led naming consistent with other boardsJohn Crispin2014-10-062-5/+5
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 42789
* ralink: Add missing code to free GPIO on Ralink SoCJohn Crispin2014-10-061-11/+27
| | | | | | | Signed-off-by: schildt@ibr.cs.tu-bs.de Acked-by: info@gerhard-bertelsmann.de SVN-Revision: 42788
* ramips: Support for RAMIPS based Tripmate HT-TM02 boardJohn Crispin2014-10-068-0/+153
| | | | | | | | | | | | Provides support for the Tripmate HT-TM02 personal router including LEDs and reset button. “Mode” switch is not supported. New profile includes full set of packages required to enable LEDs, USB, and LUCI. Patches were applied against trunk snapshot r42649. Functionality has been tested in AP, basic wifi client, wifi router, and routed client modes - all good. Signed-off-by: Ron Curry <wingspinner@gmail.com> SVN-Revision: 42785
* ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds ↵John Crispin2014-09-192-4/+8
| | | | | | naming SVN-Revision: 42619
* ralink: drop dwc_otg support. dwc2 seems stableJohn Crispin2014-09-192-24537/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42617
* ralink: drop 3.10 supportJohn Crispin2014-09-1287-66599/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42481
* kernel: update 3.14 to 3.14.18Luka Perkov2014-09-1063-974/+244
| | | | | | | | Targets were build tested and patches are refreshed. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42463
* ralink: dwc_otg->dwc2John Crispin2014-09-0815-19/+19
| | | | | | | | | | the old dwc_otg driver is starting to fall apart and fails on newer 3g modems and some storage devices. switch to the upstream dwc2 driver which is no longer in staging/. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42446
* ralink: add dwc2 device_reset() callJohn Crispin2014-09-081-0/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42445
* target: set myself as maintainerJohn Crispin2014-08-301-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42335
* ralink: DIR-645 picks up incorrect MAC address in DTS fileJohn Crispin2014-08-281-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42321
* ramips: unbreak i2c for 3.14John Crispin2014-08-281-27/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42315
* ralink: set 3.14 as defaultJohn Crispin2014-08-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42305
* ralink: the mt7620 evb has a usb portJohn Crispin2014-08-251-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42293
* ralink: a few 3.14 related fixesJohn Crispin2014-08-254-142/+111
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42292
* ralink: fix mt7620 ohci 3.14John Crispin2014-08-252-50/+45
| | | | | | | | the ohci phy was not reset properly Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42291
* ralink: fix mt7620 ohci 3.10John Crispin2014-08-251-2/+3
| | | | | | | | the ohci phy was not reset properly Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42290
* ralink: mt7620 has obchi/ehci and not dwc2John Crispin2014-08-252-2/+2
| | | | | | | | fix the default package selection Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42289
* ramips: enable second SPI for VoCoreJohn Crispin2014-08-252-11/+11
| | | | | | | | This patch enables the second SPI as spidev and also fixes some typos. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42277
* ramips: second spi device on rt5350John Crispin2014-08-253-2/+738
| | | | | | | | | | | | | | | | This is based on Jon Smirl's patch with the following changes: - Set CS polarity as low by default. - Add support for changing CS polarity. - Add support for changing LSB/MSB. - Add support for changing SPI mode. - Fix indentations. I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42276
* ramips: fix OMNI-PLUG.dtsJohn Crispin2014-08-211-113/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42232
* ramips: add omni plug ledsJohn Crispin2014-08-181-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42201
* ramips: Add support for Omnima MiniPlugJohn Crispin2014-08-184-0/+233
| | | | | | | | This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk> SVN-Revision: 42200
* ramips: fix switch config for Edimax 3G-6200nJohn Crispin2014-08-181-1/+1
| | | | | | | | Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42194
* ralink: clean up HAME profiles, remove unnecessary packages.John Crispin2014-08-181-4/+2
| | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42192
* ramips: add mpr-a1 to default profileJohn Crispin2014-08-181-0/+1
| | | | | | | | Add hame mpr-a1 to default ramips profile. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42191
* ramips: Hame: change LED name mpr-x -> hameJohn Crispin2014-08-184-8/+8
| | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42190
* ramips: make use of the new board detection layerJohn Crispin2014-08-182-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42186
* ramips: add a workaround to fix failsafe on RT5350John Crispin2014-08-181-1/+18
| | | | | | | | | Due to TCP connections not working when VLAN is disabled, this is needed to get failsafe functional. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 42179
* ramips: enable additional GPIOs on HAME MPR-A1John Crispin2014-08-181-1/+4
| | | | | | | | | | | | | | | According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose 6 unused GPIOs, only one of them working as configured in the current DTS. This patch enables GPIO22-26. Tested on hardware. [1] http://i.imgur.com/kHVW2Ox.jpg [2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698 Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 42178