aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ralink: init tx/rx vlan offload register for mt7621Felix Fietkau2015-01-242-5/+23
| | | | | | | | | | on mt7621 don't have tx vlan vid registers. so set FE_REG_FE_DMA_VID_BASE to 0. set rx vlan offload register to disable. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: use fe_max_buf_size to get rx buffer sizeFelix Fietkau2015-01-241-7/+5
| | | | | | | | | | the rx_buf_size now is 1534 when mtu is 1500. the ethernet frame with vlan tag and FCS is 1522. so the buffer is enough. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ethernet vlan tx offload support checkFelix Fietkau2015-01-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Tenda 3G150BJohn Crispin2015-01-228-1/+137
| | | | | | | | | | | | | | | Add suport for Tenda 3G150B: - cpu: Ralink RT5350F - flash: 4MB - ram: 32MB - 1x USB 2.0 - 1x RJ45 - one reset button - battery powered (BP-4L, 3.7V 1450mAh) Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve and fix Memory 2 Move supportJohn Crispin2015-01-223-19/+13
| | | | | | | | | | | | | | | | | This patch is a follow up for my previous patch: "ramips: add support for Intenso Memory 2 Move USB 3.0". It fixes a couple of errors in the DTS (one of which broke the gpio-buttons). The kmod-leds-gpio dependency has been dropped as it is already part of the ramips target. Furthermore the ramdisk/uImage image is generated by default for the rt3050 subtarget. This image is needed to flash OpenWrt for the first time onto the device via TFTP. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for firewrtJohn Crispin2015-01-206-1/+116
| | | | | | | | this is a mt7621 based board Signed-off-by: wengbj <linux.c@foxmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix ethernet rx buffer size breakageFelix Fietkau2015-01-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: improve check rx sg function. use check frags instead of function callFelix Fietkau2015-01-183-14/+8
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: correct handle hardware rx 2bytes offsetFelix Fietkau2015-01-183-13/+25
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: use fe_reset to control all resetFelix Fietkau2015-01-188-41/+28
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: improve tx_timeout functionFelix Fietkau2015-01-184-15/+87
| | | | | | | | | | * use default timeout value * print more debug ring info * move timeout reset function to workqueue Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add ethernet fe and esw reset control bitFelix Fietkau2015-01-189-0/+44
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: reduce access to uncached tx/rx dma ring bufferFelix Fietkau2015-01-184-53/+81
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messagesFelix Fietkau2015-01-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7621 cpu feature overridesFelix Fietkau2015-01-181-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: refresh kernel patchesFelix Fietkau2015-01-185-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing copyright info for relocate stubFelix Fietkau2015-01-172-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44017 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add preliminary support for DIR-860L B1Felix Fietkau2015-01-176-3/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add code for relocating a kernel to the right placeFelix Fietkau2015-01-175-0/+365
| | | | | | | | (used if the boot loader wants a different loadaddr/entry) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable the seama mtdsplit parserFelix Fietkau2015-01-171-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt76 device tree info for WSR-1166DHPFelix Fietkau2015-01-171-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt7621 pcie through device treeFelix Fietkau2015-01-172-27/+98
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: sync mt7621 pcie driver with latest SDKJohn Crispin2015-01-171-25/+19
| | | | | | | | fixes newer ECO versions and a hang on reboot bug Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Intenso Memory 2 Move USB 3.0John Crispin2015-01-178-0/+152
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix tx bql related race condition in the ethernet driverFelix Fietkau2015-01-171-4/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for Kingston MLWG2John Crispin2015-01-177-0/+134
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add i2c pingroup to the pinmux for rt-n14uJohn Crispin2015-01-171-1/+1
| | | | | | | | i2c pins are wired to wps a reset button Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix default led configuration for rt-n14uJohn Crispin2015-01-171-2/+2
| | | | | | | | use new helper function to generate default led configuration Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing -Os cflag for mt7621Felix Fietkau2015-01-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use a larger number of rx descriptors on mt7621 to work around rx ↵Felix Fietkau2015-01-131-0/+4
| | | | | | | | overrun related packet loss Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove interrupt coalescing, it is unnecessary with napi polling and ↵Felix Fietkau2015-01-137-78/+40
| | | | | | | | could reduce throughput Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: convert mt7621 images to new image building codeFelix Fietkau2015-01-101-29/+43
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: simplify mkimage kernel loadaddr/entry handlingFelix Fietkau2015-01-101-16/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add preliminary Archer C20i supportFelix Fietkau2015-01-095-0/+153
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix HooToo HT-TM02 support.John Crispin2015-01-086-43/+31
| | | | | | | | | | | | | - 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix for gpio falling interrupt maskJohn Crispin2015-01-081-0/+42
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update BR-6475ND dtsJohn Crispin2015-01-082-2/+4
| | | | | | | | Update firmware location for 2.4GHz radio on the Edimax BR-6475nD. Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: base-files: Whitespace fixes.John Crispin2015-01-082-6/+6
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: remove all =m kernel config symbolsFelix Fietkau2015-01-056-22/+0
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix WSR-600DHP flash layoutFelix Fietkau2015-01-031-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix WSR-1166DHP flash layoutFelix Fietkau2015-01-031-3/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix WSR-{600,1166} namesFelix Fietkau2015-01-033-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix wsr-1166 sysupgrade supportFelix Fietkau2015-01-031-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: on mt7621 only enable xhci for the eval board (still needs patch ↵Felix Fietkau2015-01-032-0/+6
| | | | | | | | cleanup to take effect) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix WSR-600 image formatFelix Fietkau2015-01-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLITFelix Fietkau2015-01-026-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix image format for WSR-1166Felix Fietkau2015-01-022-1/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: disable ethernet checksum offloads for mt7621, they are brokenFelix Fietkau2015-01-021-1/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use netif_receive_skb instead of napi_gro_receive when rx csum ↵Felix Fietkau2015-01-021-1/+4
| | | | | | | | offload is unavailable Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rework and fix m25p80 chunked-io supportFelix Fietkau2015-01-023-94/+120
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43808 3c298f89-4303-0410-b956-a3cf2f4a3e73