Commit graph

1227 commits

Author SHA1 Message Date
Felix Fietkau
69d79ea951 ramips: use highmem on the FireWRT board
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45890
2015-06-04 21:45:24 +00:00
Felix Fietkau
d7023e105f ramips: enable highmem support for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45889
2015-06-04 21:45:12 +00:00
Felix Fietkau
7a23eae245 ramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues with kernel_menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45888
2015-06-04 21:45:01 +00:00
Felix Fietkau
e56b6f6e66 ramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45847
2015-05-30 09:39:37 +00:00
Felix Fietkau
1e659c29ec ramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45846
2015-05-30 09:01:41 +00:00
Felix Fietkau
a6df9f0472 ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45845
2015-05-29 22:42:32 +00:00
Felix Fietkau
5d6788f773 ramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45844
2015-05-29 21:42:06 +00:00
Felix Fietkau
420cdb3783 ramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45843
2015-05-29 21:25:23 +00:00
Felix Fietkau
8b42d93358 ramips: implement sysupgrade support for whr-300hp2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45842
2015-05-29 21:13:28 +00:00
John Crispin
adbec3f132 ramips: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45820
2015-05-29 11:28:10 +00:00
John Crispin
3f9999b44b ramips: dont set illacc to y by default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45795
2015-05-27 20:06:06 +00:00
John Crispin
302a9f8982 ramips: diable ill_acc driver by default
this treacled down via the stable tree and wandered into 3.18.14

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45793
2015-05-27 20:02:04 +00:00
Felix Fietkau
83703fc076 ramips: check size after padding
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>

SVN-Revision: 45777
2015-05-27 14:56:22 +00:00
Jonas Gorski
caea19a3e0 ramips: fix hang on boot on rt305x
Fix an upstream regression on 3.18+ that causes rt305x based devices
to hang on boot.

Fixes #19715.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45747
2015-05-25 18:02:32 +00:00
John Crispin
870cd41936 rampis: add support for status led on ASUS RT-N14U
The diag.sh script lacked an entry for the status led on the RT-N14U,
map it to the asus:blue:power led which is also used by the boot loader
to report boot status (eg. TFTP recovery mode VS normal boot)

Signed-off-by: Matteo Panella <m.panella@level28.org>

SVN-Revision: 45725
2015-05-23 15:27:10 +00:00
John Crispin
9c86abae0e ramips: Adding support for AXIMCom MR-102N 3G/4G Travel Mobile Router
MR-102N is a RT3050F based wireless router(32M RAM + 8M NOR flash) with 1 USB
and 1 ethernet port.  The original product information can be found at:
http://www.aximcom.com/en/MR-102N

Signed-off-by:	Tai-hwa Liang <atliang@gmail.com>

SVN-Revision: 45724
2015-05-23 15:27:05 +00:00
John Crispin
4810f3f803 ramips: fix switch names for several boards in device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45723
2015-05-23 15:26:51 +00:00
John Crispin
5e96c2d541 ramips: add support for Comfast CF-WR800N
This patch adds support for Comfast CF-WR800N, a wall-plug wireless router
based on the MT7620N SoC with one Ethernet port and a 802.11n 2.4 GHz radio.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 45722
2015-05-23 15:26:39 +00:00
Jonas Gorski
76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45711
2015-05-21 19:32:46 +00:00
Imre Kaloz
f86c07d8d4 The ability to read MAC addresses from MTD is useful for other targets besides ramips and lantiq as well.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 45596
2015-05-03 17:56:32 +00:00
Jonas Gorski
954004eccc kernel: disable INET_LRO by default
INET_LRO deprecated and there are exactly two drivers using it, neither
being included in any of the targets enabling INET_LRO. At the same time
both drivers needing it select it.

So just disable it for everyone.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45584
2015-04-28 13:31:08 +00:00
John Crispin
03dd7b6bdb ralink: the systick clocksource was calculating a bad bogo mips value
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45554
2015-04-21 12:42:42 +00:00
Felix Fietkau
d808d9be86 ramips: switch WSR-1166 and WSR-600 to single-firmware mtd layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45507
2015-04-19 16:31:54 +00:00
John Crispin
607a7a35be ralink: fix cevt-r4k hack
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45342
2015-04-10 08:27:44 +00:00
John Crispin
b7f19a5b26 ramips: Add support for Microduino MicroWRT
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>

SVN-Revision: 45331
2015-04-09 10:32:37 +00:00
John Crispin
449c5f7b30 ramips: Add support for ZTE Q7
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>

SVN-Revision: 45208
2015-04-01 08:31:46 +00:00
Jonas Gorski
703c41cf01 ramips: move relocating loader to common location
Allow other targets to use it, too.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45162
2015-03-30 20:20:08 +00:00
John Crispin
ddb5ab2acf ralink: mt7621 add ECHI OCHI XCHI support
Lets hope that this time it won't break the other ralink targets.

Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 45067
2015-03-27 19:07:29 +00:00
John Crispin
40d25d3eb5 ralink: drop xhci patch, it break !mt7621 builds
will re-add it tomorrow after fixing it

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45028
2015-03-26 16:24:19 +00:00
John Crispin
2cedb63d84 ralink: the xhci patch broke ehci Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45027
2015-03-26 14:49:26 +00:00
John Crispin
21e0f98903 ralink: add default pinctrl node for mt7621 eval kit
fixes #19213

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45022
2015-03-26 12:23:02 +00:00
John Crispin
0a9e38bb21 ralink: mt7621 add ECHI OCHI XCHI support
The usb stroage not working since updated 3.18. Porting from MTK's source code.

Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 45021
2015-03-26 10:59:51 +00:00
John Crispin
024e0c1835 ralink: add FireWRT power button
Signed-off-by: Jay Weng <fl.service@t-firefly.com>

SVN-Revision: 45019
2015-03-26 10:59:36 +00:00
John Crispin
10aa09b731 ralink: MT7621 add i2c controller driver
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>

SVN-Revision: 45018
2015-03-26 10:59:31 +00:00
Felix Fietkau
e890a3bc9a ramips: make ethernet register map u16 instead of u32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44940
2015-03-22 15:11:14 +00:00
Felix Fietkau
37912d66c2 ramips: increase NAPI weight for mt7621 to improve routing performance a bit more
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44918
2015-03-21 12:08:07 +00:00
Felix Fietkau
975e1357e6 ramips: fix LAN/WAN MAC address for WSR-600/1166
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44903
2015-03-20 09:37:07 +00:00
Felix Fietkau
dac483acb4 ramips: fix WSR-1166 green power LED
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44898
2015-03-19 21:51:44 +00:00
John Crispin
553528371b ralink: fix mt7621 i2c name
Signed-off-by: zouxf <fl.service@t-firefly.com>

SVN-Revision: 44868
2015-03-17 09:44:14 +00:00
John Crispin
7648d80c90 ralink: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44811
2015-03-16 07:39:46 +00:00
John Crispin
c7229b96b7 ralink: support change tx/rx ring size
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44741
2015-03-13 08:38:08 +00:00
John Crispin
2c94eef5df ralink: use random generate mac address instead of default one.
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44740
2015-03-13 08:38:01 +00:00
John Crispin
800da5a02e ralink: add wifi 5g dts info for cy-swr1100
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44739
2015-03-13 08:37:45 +00:00
John Crispin
835b17c333 ralink: resize the flash partition for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44691
2015-03-12 10:06:31 +00:00
John Crispin
8c19f53007 ralink: MT7621 add i2c controller driver
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>

SVN-Revision: 44690
2015-03-12 10:06:17 +00:00
John Crispin
0496393f9c ralink: FireWRT flash size is up to 16M.
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44661
2015-03-11 15:55:28 +00:00
John Crispin
260dea38fb ralink: add FireWRT IO multiplexing
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44660
2015-03-11 15:55:16 +00:00
John Crispin
9654b38319 ralink: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44642
2015-03-10 11:03:16 +00:00
John Crispin
d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44615
2015-03-06 07:56:47 +00:00
John Crispin
f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
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>

SVN-Revision: 44614
2015-03-06 07:56:34 +00:00