Commit graph

937 commits

Author SHA1 Message Date
John Crispin
2e8c6e4128 ramips: add wmac to mt7620a device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41445
2014-07-01 10:26:33 +00:00
John Crispin
5f6e7e1f44 ramips: add wmac to mt7620n device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41444
2014-07-01 10:26:30 +00:00
John Crispin
bbd8f9c96a ramips: enable wmac clock for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41443
2014-07-01 10:26:25 +00:00
John Crispin
22c4f2475b ralink: refresh kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41353
2014-06-26 13:47:50 +00:00
John Crispin
994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
2014-06-26 13:47:42 +00:00
John Crispin
975728813a ralink: fix up WRTNode vs WRTNODE in the dts file
https://dev.openwrt.org/ticket/16899

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

SVN-Revision: 41343
2014-06-26 11:43:26 +00:00
John Crispin
021e728962 ralink: Update MT7530 switch driver.
- Support set VLAN ID of each vlan.
- Support untag feature.
- Replace register address with C MACRO.
- There are 8 ports for MT7530 actually.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

SVN-Revision: 41331
2014-06-24 18:14:14 +00:00
John Crispin
9284956ad8 ramips: cleanup some rt305x profiles
move both asus boards to asus.mk
rename HW5503G profile to HW550-3G to match name in image/Makefile
(fixes #16599)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41271
2014-06-19 14:13:07 +00:00
John Crispin
dc5fe5f73f ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

SVN-Revision: 41224
2014-06-16 18:57:20 +00:00
John Crispin
4d7ed2a8a0 ramips: fixes XDXRN502J reset button
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41217
2014-06-16 18:54:53 +00:00
John Crispin
2fe435081d ramips: add vlan configuration for asiarf awm002-evb
Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41216
2014-06-16 18:54:48 +00:00
John Crispin
ab390d6c05 ramips: restore AWM002-EVB profile in asiarf.mk
In a recent revision (r41177) John Crispin removed the profile for the
AsiaRF AWM002 eval board while adding another AsiaRF board.  This
patch restores AWM002 and also corrects a misspelling and an
apparently errant reference to an Allnet ALL0239-3G device.

Signed-off-by: Galen Seitz <galens@seitzassoc.com>
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41215
2014-06-16 18:54:42 +00:00
John Crispin
6d213a644d ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41177
2014-06-13 09:16:15 +00:00
Felix Fietkau
231f15c9db ramips: fix rt2x00 handling of default packages for subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41145
2014-06-11 17:01:19 +00:00
John Crispin
3306a4f9ab ralink: fix asiarf/awm002 switch setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40939
2014-06-02 12:44:57 +00:00
John Crispin
7437d84814 ralink: add seama image can be upgrade by sysupgrade
generate sysupgrade image by combine two images.
one is kernel image with seama header.
another is root fs image.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40922
2014-06-02 12:43:49 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
John Crispin
712dec1027 ramips: add missing profile for DIR-615-D
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40911
2014-06-02 12:43:07 +00:00
John Crispin
9b728bebfb ramips: fix not set lan/wan mac address
The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40910
2014-06-02 12:43:04 +00:00
John Crispin
813a7c3827 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40908
2014-06-02 12:42:52 +00:00
John Crispin
efd09832fe ramips: Support for Teltonika RUT5XX
Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>

SVN-Revision: 40907
2014-06-02 12:42:48 +00:00
John Crispin
583b908bc7 ralink: Enable Asus RT-N10+ in menuconfig targets
This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk).
Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org>

SVN-Revision: 40903
2014-06-02 12:41:45 +00:00
John Crispin
4a7a0d2536 ralink: add dir-645 to the eeprom hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40561
2014-04-23 07:52:56 +00:00
John Crispin
720a0a1df1 ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40557
2014-04-23 07:51:57 +00:00
John Crispin
cd5f3584e2 ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>

SVN-Revision: 40554
2014-04-22 08:08:51 +00:00
John Crispin
284ada8a3e ramips: build factory-compatible image for AR725W
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40552
2014-04-22 08:08:42 +00:00
John Crispin
cb91087991 ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40550
2014-04-22 08:08:35 +00:00
John Crispin
2b2d274bfa ramips: Add Airlink101 AR725W board support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40549
2014-04-22 08:08:31 +00:00
John Crispin
010dcd092f ralink: add port_init for rt2880
Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40504
2014-04-13 18:01:08 +00:00
John Crispin
7ae1d573ae Fix Asus rt-n15 board support
* gpio leds and buttons
* ethernet

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40494
2014-04-12 21:22:04 +00:00
John Crispin
3d6ba83fe4 rt2880 DT fixes
* add pinctrl
* fix ethernet port
* make wifi available by default

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40493
2014-04-12 21:22:00 +00:00
John Crispin
fa86c30538 Fix pinmux-rt2880
The last arg to FUNC() is count, not last pin.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40492
2014-04-12 21:21:56 +00:00
John Crispin
73160c1ad6 Add wmac clock for rt2880
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40491
2014-04-12 21:21:53 +00:00
John Crispin
72803e0e27 Don't try to generate whr-g300n image if it's going to be more than 4M
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40489
2014-04-12 21:21:44 +00:00
Gabor Juhos
d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
John Crispin
f1e31f8266 ralink: fix WHR-300HP2 mtd size
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40419
2014-04-07 15:10:26 +00:00
Felix Fietkau
8f41856f1f ramips: fix regression from r39949 (#15382)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40391
2014-04-06 00:09:50 +00:00
John Crispin
5b6ceab69b ralink: fix chuncked-io module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40342
2014-03-30 19:03:55 +00:00
Gabor Juhos
627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
John Crispin
4835ea949f ralink: add missing OF node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39950
2014-03-18 19:22:13 +00:00
John Crispin
332b94fbd5 ralink: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39949
2014-03-18 19:21:56 +00:00
John Crispin
375e02ac3d ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39896
2014-03-12 19:33:01 +00:00
John Crispin
96fa58bafd ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39786
2014-03-07 09:54:59 +00:00
Gabor Juhos
f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
John Crispin
b56bef28d7 ralink: add support for na930
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39611
2014-02-18 13:33:25 +00:00
John Crispin
55383946dc ralink: add gpio_uartf mux group
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39610
2014-02-18 13:33:20 +00:00
John Crispin
363512b8c6 ralink: fix the gpio mode mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39609
2014-02-18 13:33:16 +00:00
Gabor Juhos
a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
John Crispin
ebaa3817a7 ralink: activate xhci config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39330
2014-01-19 17:27:31 +00:00
John Crispin
a818a3cf8f ralink: backport various fixes from linux-mti
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39329
2014-01-19 17:27:22 +00:00