aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ramips: switch WSR-1166 and WSR-600 to single-firmware mtd layoutFelix Fietkau2015-04-192-22/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix cevt-r4k hackJohn Crispin2015-04-101-3/+22
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for Microduino MicroWRTJohn Crispin2015-04-096-0/+124
| | | | | | | | | | | | | | | | MicroWRT is an wireless router with 2 USB,1 ethernet port. It has a 16M flash and 64M DDR2 RAM. You can use most interface, such as i2c, SPI, i2s and PCIe. Besides that there are three expansion borad to combine with the core board. The detailed information, please refer to https://www.microduino.cc/wiki/index.php?title=Main_Page This patch adds support for it. Because there is only one port,so disabled VLAN and use eth0 as lan port. and only a power LED control by power pin. Signed-off-by: 盛凯 <shengkai81@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for ZTE Q7John Crispin2015-04-017-0/+124
| | | | | | | | | | | | | | | ZTE Q7 is a wireless router with SD Card,USB,1 ethernet port and a battery.It used MT7620a SoC. I can,t find any information about this router on ZTE's website. But I found this : http://en.cctairmobi.com/plus/list.php?tid=40 This router is the same as ZTE Q7 and later I found that both routers are made by the same company:-D This patch adds support for it. Because there is only one port,I disabled VLAN and use eth0 as lan port. I could only create a sysupgrade firmware because I don't know how the orignal webpage check the uploaded image:-( Signed-off-by: 郭传鈜 <gch981213@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move relocating loader to common locationJonas Gorski2015-03-306-372/+1
| | | | | | | | Allow other targets to use it, too. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45162 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: mt7621 add ECHI OCHI XCHI supportJohn Crispin2015-03-271-0/+5707
| | | | | | | | Lets hope that this time it won't break the other ralink targets. Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop xhci patch, it break !mt7621 buildsJohn Crispin2015-03-261-5928/+0
| | | | | | | | will re-add it tomorrow after fixing it Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: the xhci patch broke ehciJohn Crispin2015-03-261-61/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add default pinctrl node for mt7621 eval kitJohn Crispin2015-03-261-0/+9
| | | | | | | | fixes #19213 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: mt7621 add ECHI OCHI XCHI supportJohn Crispin2015-03-262-0/+5995
| | | | | | | | The usb stroage not working since updated 3.18. Porting from MTK's source code. Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add FireWRT power buttonJohn Crispin2015-03-261-0/+5
| | | | | | Signed-off-by: Jay Weng <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: MT7621 add i2c controller driverJohn Crispin2015-03-261-0/+335
| | | | | | | | | ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code. Last time i got some mess . This is new version. Signed-off-by: Jay Weng <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make ethernet register map u16 instead of u32Felix Fietkau2015-03-224-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: increase NAPI weight for mt7621 to improve routing performance a bit ↵Felix Fietkau2015-03-211-3/+3
| | | | | | | | more Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix LAN/WAN MAC address for WSR-600/1166Felix Fietkau2015-03-201-0/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix WSR-1166 green power LEDFelix Fietkau2015-03-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7621 i2c nameJohn Crispin2015-03-171-2/+2
| | | | | | Signed-off-by: zouxf <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop 3.14 supportJohn Crispin2015-03-1675-31513/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: support change tx/rx ring sizeJohn Crispin2015-03-133-31/+52
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: use random generate mac address instead of default one.John Crispin2015-03-136-10/+6
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add wifi 5g dts info for cy-swr1100John Crispin2015-03-131-1/+8
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: resize the flash partition for FireWRTJohn Crispin2015-03-121-2/+2
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: MT7621 add i2c controller driverJohn Crispin2015-03-122-1/+409
| | | | | | | | ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code. Signed-off-by: daixj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: FireWRT flash size is up to 16M.John Crispin2015-03-111-1/+1
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add FireWRT IO multiplexingJohn Crispin2015-03-111-0/+8
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add missing symbol that broke full buildsJohn Crispin2015-03-101-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move KERNFS to generic configJohn Crispin2015-03-065-5/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-065-5/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-065-5/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-067-7/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configsJonas Gorski2015-03-0112-12/+0
| | | | | | | | | Most MIPS targets have it disabled, so move the symbol to the generic configs to keep target configs small. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: add missing symbolJohn Crispin2015-02-221-0/+1
| | | | | | | | | Defaulting to disabled, based on the value of the (old?) CONFIG_RALINK_USBPHY Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: nexx wt3020: fix status ledJohn Crispin2015-02-221-1/+1
| | | | | | | | | | | For Nexx WT3020 board_name is wt3020, not nexx-wt3020 root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name) wt3020 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: bump to v3.18John Crispin2015-02-192-1/+101
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix the mt7628 dts fileJohn Crispin2015-02-192-10/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Buffalo WZR-AGL300NH target supportJohn Crispin2015-02-165-0/+148
| | | | | | | | | | | | | I got work with this patch. Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons. In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata. signed-off-by: ngc@ff.iij4u.or.jp —— —— git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enables rt288x PCIeJohn Crispin2015-02-163-3/+3
| | | | | | | | | | | To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong. Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus. signed-off-by: ngc@ff.iij4u.or.jp ———— ———— git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix the config filesJohn Crispin2015-02-1412-0/+1098
| | | | | | | | oops, accidently moved instead of copied them Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make the mt7621 irq core with with the new CM apiJohn Crispin2015-02-122-30/+62
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix when tx done is 0 also need to clean interrupt statusJohn Crispin2015-02-111-3/+3
| | | | | | | Signed-off-by: michael lee <igvtee@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips/mt7620: add missing config symbolNicolas Thill2015-02-111-0/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix hw status almost full not work on mt7620 and mt7621John Crispin2015-02-096-6/+31
| | | | | | | | | | | | | | the old FE_INT_STATUS register becomes two registers. FE_INT_STATUS and INT_STATUS. so the hw status almost full must change to read from FE_INT_STATUS register. tx/rx done read from INT_STATUS register. mt7620 datasheet define CNT_GDM1_AF at BIT(29). but after test it should be BIT(13). why? Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: change rt3883 cpu type to 74kcJohn Crispin2015-02-091-1/+1
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Kingston MLW221 and MLWG2 cleanupJohn Crispin2015-02-094-122/+117
| | | | | | | | | | MLW221 dts use tabs NOT spaces. MLWG2 dts typo and 1 tab not spaces 01_leds and diag.sh cleanup Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi MiniJohn Crispin2015-02-091-1/+2
| | | | | | | | | This patch sets the correct location of the mt76 radio in the pcie bridge (pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add mt76 node for Lenovo Y1 and Y1S.John Crispin2015-02-091-0/+9
| | | | | | | | | Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch. Tested on Lenovo Y1. Signed-off-by: 郭传鈜 <gch981213@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add 3.18 supportJohn Crispin2015-02-0981-55/+22696
| | | | | | | | keep default as 3.14, mt7621 gic need to be ported to 3.18 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix patches after 3.14.32 bumpLuka Perkov2015-02-089-57/+54
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73