Commit graph

1119 commits

Author SHA1 Message Date
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
John Crispin
a75b692557 ralink: add xhci driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39328
2014-01-19 17:27:13 +00:00
John Crispin
f3a243c3dd ramips: Add profile for the Edimax BR-6475nD
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39299
2014-01-15 18:29:51 +00:00
John Crispin
beb29461ff ramips: Add userspace support for the Edimax BR-6475nD
The rt2x00 wifi driver may still need updating to
function with this device.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39298
2014-01-15 18:29:44 +00:00
John Crispin
62dd252b86 ramips: rt3883: Fix a typo in rt3883.dtsi
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39297
2014-01-15 18:29:03 +00:00
John Crispin
9821ce8ed6 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39248
2014-01-12 17:26:24 +00:00
John Crispin
03ef20ce6f ralink: fix eeprom loading
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39245
2014-01-12 14:03:15 +00:00
John Crispin
4282d796ea ralink: fix WHR-600D and WHR-300HP image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39241
2014-01-12 12:12:58 +00:00
John Crispin
a7f53759f5 ralink: fix WHR-600D pcie support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39240
2014-01-12 12:12:53 +00:00
John Crispin
3a64ddd0a1 ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04

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

SVN-Revision: 39237
2014-01-12 12:07:40 +00:00
John Crispin
aa2be01076 ralink: switch to askconsole
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39236
2014-01-12 12:07:34 +00:00
John Crispin
665c51935e ralink: fix uartf memory range size
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39235
2014-01-12 12:07:30 +00:00
John Crispin
6278a892d8 ralink: honour memory@0 node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39234
2014-01-12 12:07:26 +00:00
John Crispin
0ac291d073 ralink: fix rt5350 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39233
2014-01-12 12:07:20 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
John Crispin
9715b61b3c ralink: fix tso regression in the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39168
2013-12-27 21:14:49 +00:00
John Crispin
9739a0b41b ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board

current support status:
usb        works
ethernet   works
buttons    reset, wps
leds       asus:blue:[usb|lan|wan|air|power]
i2c        not tested
uart       not tested
wifi       not yet

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39163
2013-12-25 17:04:50 +00:00
John Crispin
93d8dc870e ramips: add gpio pin 72 in mt7620 chips to dtsi files
describes register set to control last gpio pin on mt7620 platfrom

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39162
2013-12-25 17:04:34 +00:00
John Crispin
6218da5a41 ralink: fix dir810 networking
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39093
2013-12-16 10:16:33 +00:00
Hauke Mehrtens
952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
John Crispin
b4b0a55aab ralink: add mt7621 support
there are still various missing pieces for full support.

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

SVN-Revision: 39040
2013-12-13 10:53:34 +00:00
John Crispin
0ef939c93b ralink: add TSO
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39019
2013-12-09 17:29:29 +00:00
John Crispin
09a933ed73 ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39018
2013-12-09 17:29:24 +00:00
John Crispin
a65c9e5b20 ralink: add mt7620a gdma info to dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39017
2013-12-09 17:29:19 +00:00
John Crispin
d203784841 ralink: add asoc modules
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39016
2013-12-09 17:29:14 +00:00
John Crispin
be10895651 ralink: add partially working asoc driver. codec is not fully functional yet
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39015
2013-12-09 17:29:08 +00:00
John Crispin
231eca9375 ralink: add helper that identifies the mt7620 ECO
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39014
2013-12-09 17:29:03 +00:00
John Crispin
833943b410 ralink: add dma engine support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39013
2013-12-09 17:28:43 +00:00
Gabor Juhos
f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
John Crispin
2370126b9b ramips: Fix initial network configuration for few boards
Argus ATP52B:      ethernet didn't work because of unconfigured switch
Sparklan WCR150GN: add switch config and make single port to be LAN
Dlink DIR-645:     seems to be a redundant case

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

SVN-Revision: 38960
2013-11-30 08:36:56 +00:00
John Crispin
f8fe6a090a ramips: Fix dts typos
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 38959
2013-11-30 08:36:47 +00:00
John Crispin
bb2b428a5c ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38917
2013-11-26 09:51:57 +00:00
John Crispin
6295f38c8f ralink: add mac address detection for Asus RT-G32 b1
http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38910
2013-11-25 14:09:08 +00:00
John Crispin
93e9a71538 base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38909
2013-11-25 08:34:55 +00:00
John Crispin
8ee2b91ddd ralink: fix up the mt7530 driver to work properly with gmac2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38905
2013-11-25 08:34:23 +00:00
John Crispin
d84238ad26 ralink: add LRO support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38904
2013-11-25 08:34:12 +00:00
John Crispin
f732ed4500 ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38903
2013-11-25 08:34:01 +00:00
John Crispin
5b437e204f ralink: set the mac addr via the dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38902
2013-11-25 08:33:42 +00:00
John Crispin
d175740783 ralink: set wmr-300 mac properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38872
2013-11-19 21:13:24 +00:00
John Crispin
40109bb89b ralink: add missing CONFIG_ symbol to mt7620n
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38867
2013-11-19 16:33:43 +00:00
John Crispin
82e6242798 ralink: add support for ralink mt7620 nand eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38848
2013-11-18 09:35:41 +00:00
John Crispin
a17e5159ac ralink: improve mt7620n detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38847
2013-11-18 09:35:32 +00:00
John Crispin
f307b35c8b ralink: add mt7620 nand driver
This is a minor rework of the SDK driver. This driver needs a full rewrite.

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

SVN-Revision: 38846
2013-11-18 09:35:23 +00:00
John Crispin
9d4eb0ac91 ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38845
2013-11-18 09:35:14 +00:00
John Crispin
3d547b740a ralink: make usb work on the mt7530 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38844
2013-11-18 09:34:46 +00:00
John Crispin
269cbfa06a ralink: add mt7620n dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38829
2013-11-17 13:22:01 +00:00
John Crispin
5c2e867460 ramips: fix wmr300 network detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38828
2013-11-17 13:14:46 +00:00
John Crispin
dce9b292bf ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38823
2013-11-16 20:28:52 +00:00
Felix Fietkau
9aca892304 ramips: use dd bs=4096k instead of bs=4M to make it more portable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38806
2013-11-14 19:16:04 +00:00
Felix Fietkau
682e134b02 ramips: select kmod-rt2800-soc by default (if available)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38784
2013-11-13 10:29:10 +00:00
John Crispin
191af20982 ramips: use gpio-button-hotplug in favour of the input variant
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38735
2013-11-11 13:40:20 +00:00
John Crispin
33111eff95 ramips: make the rfkill switch work on fonera20n
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38734
2013-11-11 13:40:17 +00:00
John Crispin
3de4bdc36f ralink: revert 38348 as it breaks network on the hame-mpr
https://dev.openwrt.org/changeset/38348
https://dev.openwrt.org/ticket/14403#comment:1

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

SVN-Revision: 38669
2013-11-07 12:45:52 +00:00
John Crispin
4bb29e9df6 ralink: fix c&p error in gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38668
2013-11-07 12:45:48 +00:00
Gabor Juhos
35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Gabor Juhos
379b509362 ramips: enable building of TEW-692GR images
The TEW-692GR images are missing since r36169. Uncomment
the board specific macro in image/Makefile, in order to
generate those again.

Only build tested. No idea if the the image works or not,
I have bricked my TEW-692GR a few months ago.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38603
2013-10-30 07:06:24 +00:00
Gabor Juhos
dfd4311355 ramips: fix number of GPIOs for RT3352
The RT3352 SoC only supports 46 GPIO lines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38602
2013-10-30 07:06:23 +00:00
Gabor Juhos
9186fb342e ramips: remove trailing whitespaces from .dts{,i} files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38601
2013-10-30 07:06:22 +00:00
John Crispin
176b41d441 ralink: add package for mt7620 sdhci
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38553
2013-10-28 06:47:56 +00:00
John Crispin
36e029b3eb ralink: dont include mt7620 sdhci support inside the kernel
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38552
2013-10-28 06:47:48 +00:00
John Crispin
7c7225a19d ralink: add support for missing mt7620 mux values
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38551
2013-10-28 06:47:39 +00:00
John Crispin
43de7c1cfa ralink: add support for 2 new mt7620 boards made by buffalo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38550
2013-10-28 06:47:31 +00:00
John Crispin
849f74f930 ralink: pinctrl fix for non muxed pins
Pins with no mux option failed to be recognized as gpios.

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

SVN-Revision: 38540
2013-10-26 12:24:55 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
John Crispin
9a97c56535 ralink: fix default vlan mapping for MT7620a_MT7610e
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38418
2013-10-15 14:56:49 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
John Crispin
b93e5498ae ralink: fixes mpr a1/a2 network setup
Signed-off-by: Suschman <suschman@gmx.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38348
2013-10-09 10:08:52 +00:00
John Crispin
e382d2c7e6 ralink: add support for the mt7530 eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38345
2013-10-08 21:10:15 +00:00
John Crispin
697bb191b0 ralink: add missing header file to mt7530 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38344
2013-10-08 21:10:00 +00:00
John Crispin
c903de043e ralink: fix asiarf image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38324
2013-10-07 15:02:44 +00:00
John Crispin
ddcb800018 ralink: split mt7530 driver out of the gsw driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38323
2013-10-07 15:02:39 +00:00
John Crispin
c077698e38 ralink: build recovery images for dcs930 ip cam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38322
2013-10-07 15:02:35 +00:00
John Crispin
420c62205b ralink: DIR610A1 Fix remaining issues
This patch fixes:

 - Ethernet and Wireless LEDs
 - Wireless MAC Address
 - Remove whitespaces from dts file

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 38321
2013-10-07 15:02:31 +00:00
John Crispin
5eacfc1c60 ralink: MT7620 eval board pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38320
2013-10-07 15:02:27 +00:00
John Crispin
cc58dd26d3 ralink: make cevt systick selectable via kconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38319
2013-10-07 15:02:23 +00:00
John Crispin
baf9d53792 ralink: fix mt7620a pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38318
2013-10-07 15:02:18 +00:00
John Crispin
65bb48cf23 ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38265
2013-09-30 20:48:39 +00:00
John Crispin
52fe1211b3 ralink: fix DIR-320-B1 board detection
https://dev.openwrt.org/ticket/14226

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

SVN-Revision: 38264
2013-09-30 20:48:34 +00:00
John Crispin
396cb4f405 ralink: Change size of image for DIR-320 B1 to 8MB
http://patchwork.openwrt.org/patch/4102/

Signed-off-by: Vladimir Stolyarov <xakep6666@yandex.ru>

SVN-Revision: 38263
2013-09-30 20:48:27 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Felix Fietkau
a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
2013-09-26 17:53:14 +00:00
Gabor Juhos
0380904acb kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38182
2013-09-25 17:13:24 +00:00
Gabor Juhos
76a1617063 ramips: sync 3.10 configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38181
2013-09-25 16:39:23 +00:00
John Crispin
08abb8822b ralink: make dcs930 uvc camera work
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38054
2013-09-19 05:57:00 +00:00
John Crispin
c0f6bf05f4 ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38053
2013-09-19 05:56:46 +00:00
John Crispin
898c164b46 ralink: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38052
2013-09-19 05:56:31 +00:00
John Crispin
5722b32acf ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129

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

SVN-Revision: 38040
2013-09-18 16:31:37 +00:00
John Crispin
8cd1c99707 ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38026
2013-09-17 21:45:44 +00:00
John Crispin
66bed0b019 ralink: change subtarget order
this will make image builder build rt305x targets per default

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

SVN-Revision: 38025
2013-09-17 21:45:39 +00:00
Gabor Juhos
a0d6cd4f49 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38002
2013-09-15 17:03:29 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Gabor Juhos
a76371970e ramips: remove lantiq specific patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37830
2013-08-23 17:07:28 +00:00
Gabor Juhos
9330662208 ramips: use correct image size parameter for DIR-610 A1
Fixes the following error:

  bash: line 0: [: ralink_default_fw_size_4M: integer expression expected

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37829
2013-08-23 17:07:27 +00:00
Gabor Juhos
0ebe286761 ramips: use correct parameters in the Seama template
Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37828
2013-08-23 17:07:26 +00:00
Gabor Juhos
3afc3824ca ramips: update the RT3883 PCI patch
Fix the following warning:

  arch/mips/pci/pci-rt3883.c: In function 'rt3883_pci_probe':
  arch/mips/pci/pci-rt3883.c:458:4: warning: use of 'h' length modifier with 'a' type character [-Wformat]

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37827
2013-08-23 17:07:25 +00:00
John Crispin
dc7164d4ef ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37785
2013-08-14 19:35:27 +00:00
John Crispin
97a7daa72f ramips: fix typo in network uci_defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37784
2013-08-14 19:08:55 +00:00
John Crispin
41f62983d3 ramips: dts file cleanup
cleanup some inconsistencies in the dts files

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

SVN-Revision: 37783
2013-08-14 19:08:44 +00:00
John Crispin
36e3424fa5 ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37780
2013-08-14 18:15:35 +00:00
John Crispin
632a3e3a79 ramips: various updates to the mt7620 dtsi file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37779
2013-08-14 18:15:26 +00:00
John Crispin
9e5b0cc19c ramips: update v3.10 patches
Sync the patches with those sent upstream for v3.12.

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

SVN-Revision: 37778
2013-08-14 18:15:15 +00:00
Gabor Juhos
9257d556c2 ramips: re-implement PCI mux
Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37708
2013-08-05 12:49:19 +00:00
Gabor Juhos
c80dd34924 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37707
2013-08-05 12:35:22 +00:00
John Crispin
169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
2013-08-01 14:31:15 +00:00
John Crispin
ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
2013-08-01 14:31:09 +00:00
John Crispin
54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
2013-08-01 14:31:04 +00:00
John Crispin
0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
2013-08-01 14:30:58 +00:00
John Crispin
23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
2013-08-01 14:30:53 +00:00
John Crispin
aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37635
2013-08-01 14:30:46 +00:00
John Crispin
046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
2013-08-01 14:30:33 +00:00
Felix Fietkau
28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
2013-07-30 08:00:25 +00:00
John Crispin
c2600d13d1 ramips: fix indenting of spi partitions inside dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37609
2013-07-29 13:10:26 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
John Crispin
8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
2013-07-27 09:23:52 +00:00
John Crispin
13b7ab81cf ralink: gpio driver should not set gpio to input when irq is querired
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37567
2013-07-27 09:23:45 +00:00
John Crispin
eb089abd28 ramips: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37566
2013-07-27 09:23:40 +00:00
John Crispin
718b47f0b4 ramips: MPR-A2 should use memory auto detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37565
2013-07-27 09:23:34 +00:00
John Crispin
115c6f85cf ramips: enable usb phy support on rt5350
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37564
2013-07-27 09:23:29 +00:00
John Crispin
f4c4ca0b00 ralink: switch back to dwc_otg ... dwc2 seems to not work well with 3G modems
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37563
2013-07-27 09:23:24 +00:00
John Crispin
c4413b6e08 ramips: unbreak asiarf dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37561
2013-07-26 15:19:19 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
John Crispin
04aaf7a03e ramips: disable hg255d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37532
2013-07-25 17:03:08 +00:00
John Crispin
7feebeb193 ramipe: disable HG255D support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37531
2013-07-25 16:55:48 +00:00
John Crispin
9b2c7be0c4 ramips: important patch for HG255D
r37505 add support for Huawei HG255D, but it only tested under a community hacked u-boot ("lintel u-boot"), which has a different mtd layout compared to origin one. If you install it on a box with origin u-boot, the origin factory part will be destroyed, and your wifi interface will never up!!!

This patch shrink firmware part in mtd layout to exclude origin factory part, and  I will prepare another patch to fix the eeprom extract issue for box with origin u-boot.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37530
2013-07-25 16:01:58 +00:00
John Crispin
3ad136d9e3 ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

Signed-off-by Jon Smirl <jonsmirl@gmail.com>

SVN-Revision: 37521
2013-07-24 08:54:41 +00:00
John Crispin
3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
2013-07-23 13:07:00 +00:00
John Crispin
0cc1e2acb4 ramips: Add support for Huawei HG255D in trunk
HG255D is a kind of popular low-end home gateway in China, this patch bring the the trunk support for it. It is adapted from a local Chinese community (www.right.com.cn), so credit should given to them.

This patch is tested to work except trivial LED issues.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37505
2013-07-22 15:36:39 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
John Crispin
8d0cd50f30 ralink: set remove dwc_otg from default packages and use dwc2 instead
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37499
2013-07-22 13:52:52 +00:00
John Crispin
ffe389c4c5 ralink: remove dwc_otg from modules.mk
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37498
2013-07-22 13:52:44 +00:00
John Crispin
5525b2136e ralink: set v3.10 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37497
2013-07-22 13:52:32 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
John Crispin
8028fb8096 ramips: add sysupgarde support for wl-330n3g
https://dev.openwrt.org/ticket/13891

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

SVN-Revision: 37376
2013-07-17 09:44:57 +00:00
John Crispin
dd22304691 ramips: make the old dwc driver depend on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37357
2013-07-15 21:06:03 +00:00
John Crispin
072e1a254c ramips: add v3.10 kernel config files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37356
2013-07-15 21:05:58 +00:00
John Crispin
cb6375c20a ramips: fix ehci/ohci OF binding
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37354
2013-07-15 21:05:47 +00:00
John Crispin
12a099eb07 ramips: update dtsi files to work with dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37353
2013-07-15 21:05:42 +00:00
John Crispin
e8ebcffd02 ramips: add a explicit reset to dwc2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37352
2013-07-15 21:05:36 +00:00
John Crispin
bd78f2b56e ramips: add a patch to make dwc2 work with boards that have an old bootloader
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37339
2013-07-15 11:34:13 +00:00
John Crispin
a0de18807b ramips: add ralink v3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37331
2013-07-15 10:06:55 +00:00
John Crispin
f7cf157712 ramips: disable ill_acc driver by default
The driver seems to be causoing boot rpoblems on some SoCs

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

SVN-Revision: 37314
2013-07-14 18:01:00 +00:00
John Crispin
89c0392736 ralink: drop v3.8 support
Signed-off-by: John Crispin <blogic@opewnrt.org>

SVN-Revision: 37311
2013-07-14 18:00:34 +00:00
Hauke Mehrtens
e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
2013-07-13 22:43:10 +00:00
John Crispin
099188695a ralink: vlan offloading is causing problems. disable it
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37203
2013-07-08 16:34:52 +00:00
John Crispin
a6091a5c71 ralink: unbreak ralink i2c support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37202
2013-07-08 09:01:57 +00:00
John Crispin
a154693bab ralink: add i2c-ralink kmod info
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37200
2013-07-08 09:01:47 +00:00
John Crispin
2da37a713e ramips: fix RT-N13U gpio buttons
https://dev.openwrt.org/ticket/13795

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

SVN-Revision: 37163
2013-07-04 13:31:23 +00:00
Felix Fietkau
5986a18c16 ramips: update wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37112
2013-06-30 21:03:48 +00:00
Jonas Gorski
0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

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

SVN-Revision: 37103
2013-06-30 13:10:12 +00:00
John Crispin
6875316646 ramips: unbreak initramfs generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37080
2013-06-29 08:41:03 +00:00
John Crispin
77b9fd52a6 ramips: fix ethernet driver
make sure the driver does not crash under load

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

SVN-Revision: 37058
2013-06-28 11:22:11 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
John Crispin
36209234ab ramips: fix rt2x00 ethernet compile bug
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37043
2013-06-27 16:45:40 +00:00
John Crispin
0d4e00c337 ramips: add missing symbols to rt288x config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37042
2013-06-27 16:45:26 +00:00
John Crispin
1706c8d29a ramips: fix ethernet stability issue introduced by recent kernel upgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37041
2013-06-27 16:28:06 +00:00
John Crispin
5063f712a6 ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.

Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 37027
2013-06-24 12:39:28 +00:00
John Crispin
d3723f93c6 ramips: make rt3883 usb work properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37024
2013-06-24 12:06:56 +00:00
John Crispin
dca18caa79 ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37021
2013-06-24 11:09:50 +00:00
John Crispin
55fb6f3a05 ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37016
2013-06-23 15:50:49 +00:00
John Crispin
67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
2013-06-21 16:53:47 +00:00
John Crispin
e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
2013-06-21 16:53:43 +00:00
John Crispin
fc9532aeaa ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>

SVN-Revision: 36898
2013-06-10 08:24:56 +00:00
John Crispin
30786d2dd0 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 36897
2013-06-10 08:24:50 +00:00
John Crispin
1756047518 ramips: set correct description for rt305x subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36775
2013-05-30 15:59:56 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
John Crispin
036fb79052 ramips: drop 3.7 support
Signed-off-by; John Crispin <blogic@openwrt.org>

SVN-Revision: 36572
2013-05-07 10:58:44 +00:00
John Crispin
16a17b318a ramips: properly setup the FEATURES variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36571
2013-05-07 10:58:30 +00:00
John Crispin
bd6e12d904 ramips: fix memory detection rt5350
Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 36568
2013-05-06 18:23:56 +00:00
John Crispin
899120ddef ramips: enable dsp extensions for rt305x and rt3883
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36567
2013-05-06 16:45:59 +00:00
John Crispin
849ff98669 ramips: fix fypo in ethernet driver rt288x, rt3883
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 36565
2013-05-06 16:45:43 +00:00
John Crispin
eddd7f5773 ramips: Update ARC Freestation profile
These devices are actually built around the 8devices Carambola dev board.

ARC FreeStation, Flex mARC, iFlex, and SplitStation devices are
supported with this image, see "ARCFlex Firmware Downloads":
http://www.antennas.com/wiki/index.php?title=ARC-OS_Firmware_Downloads_and_Revision_History

Funnily enough if present the external USB wlan ends up being wlan-0, with the
SoC device being wlan-1.

- Invert port map so special handling of vlan config can be removed.
- Add LED config similar to original ArcOS firmware.
- Add GPIO export for enabling PoE passthrough from ethernet port 0 to port 1
- Get MACs from factory partition.
- Update description to list supported devices.
- Carambola uses RT3050 (not RT3052), though my Carambola CPU
  actually reports itself as being an RT3350 while still having
  RT3050F markings.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36564
2013-05-06 16:45:35 +00:00
John Crispin
4f1ff28f08 ramips: Support setting active_low in devicetree gpio-export
Support setting active_low in devicetree gpio-export.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36563
2013-05-06 16:45:27 +00:00
John Crispin
6af3b6721b ralink: unbreak uart pinmux handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36562
2013-05-06 16:45:20 +00:00
John Crispin
7c04b3bd66 ramips: fix gpio base numbering
make banks 0 based to unbreak userland ABI

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

SVN-Revision: 36561
2013-05-06 16:45:12 +00:00
John Crispin
338ff04cab ramips: add gpio base properties to dtsi files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36560
2013-05-06 16:45:04 +00:00
John Crispin
65760ede8b ramips: unbreak rt2880 support
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36559
2013-05-06 16:44:56 +00:00
John Crispin
28bdb9efe9 ramips: fix DIR-602D1 flash size
Fix DIR-620D1 flash size.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 36558
2013-05-06 16:44:47 +00:00
John Crispin
1c89a60431 ramips: unbreak gpio handling for uart mux group
this should fix the handling of corner cases

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

SVN-Revision: 36543
2013-05-04 11:36:51 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
John Crispin
eff12a630d ramips: move dlink profile to correct sub folder - 2nd try
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36489
2013-04-30 10:34:20 +00:00
John Crispin
1db4587bc7 ramips: move dlink profile to correct sub folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36487
2013-04-30 08:24:26 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Gabor Juhos
c63bb1a18e ramips: rt3883: fix build error
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36451
2013-04-26 16:55:28 +00:00
John Crispin
e141b73f9d ramips: remove now unneeded user-space board detection
Now that ALL5002 and ALL5003 each got their own DTS and board names, remove
the now no longer needed user-space part which previously differentiated between
ALL5002 and ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3558/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36436
2013-04-25 19:03:05 +00:00
John Crispin
cf3885eb0f ramips: introduce DTS for ALL5003
Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c.
With the change to DTS, this is no longer accurate, as ALL5002 is based on
Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding
rt5350.dtsi need to be included for ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3557/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36435
2013-04-25 19:03:01 +00:00
John Crispin
978567a89e ramips: set preinit interface to eth0 by default.
This makes any ramips device accessible via ethernet in failsafe mode.

Based on: https://dev.openwrt.org/changeset/36322

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3567/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36434
2013-04-25 19:02:57 +00:00
John Crispin
7bfab6e308 ramips: Add Alpha ASL-26555 support.
This board uses a TrendChip SOC with its own RAM/Flash for ADSL support.
We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN.

There are two versions (Chile 8MB and Spain 16MB).

Wiki: http://wiki.openwrt.org/toh/alpha/asl26555

Signed-off-by: Esteban Benito <estebanjbs@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3571/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36433
2013-04-25 19:02:53 +00:00
John Crispin
c7216d0cab ramips: Add support of D-link DIR-620D1
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36432
2013-04-25 19:02:48 +00:00
John Crispin
deb3635923 ramips: sync kernel patches with the mips-next tree
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36431
2013-04-25 19:02:42 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
John Crispin
e3003ea2a9 fix prepare_generic_squashfs
prepare_generic_squashfs was called twice on the generated images breaking mount_root

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

SVN-Revision: 36349
2013-04-17 11:54:09 +00:00
John Crispin
8001e6a689 fix rt305x gpio
https://dev.openwrt.org/ticket/13359

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

SVN-Revision: 36343
2013-04-16 06:58:18 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
John Crispin
d3a46c4b7f update rt2880 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36327
2013-04-12 18:57:01 +00:00
John Crispin
92259c4803 fix up the rt2880 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36326
2013-04-12 18:56:53 +00:00
John Crispin
a6424245e6 fix RT-N15 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36325
2013-04-12 18:56:44 +00:00
John Crispin
7af1fa46ad update rt2880.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36324
2013-04-12 18:56:36 +00:00
John Crispin
fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
John Crispin
bc7b310959 move memory detect node to dtsi files
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36290
2013-04-09 14:19:36 +00:00
John Crispin
48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
John Crispin
e468abcae0 remove bootargs from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36288
2013-04-09 14:19:28 +00:00
John Crispin
82c3b7ce26 add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36287
2013-04-09 14:19:24 +00:00
John Crispin
f1e9d30ffc add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36286
2013-04-09 14:19:20 +00:00
John Crispin
fcd962cc71 set of_node before registring the switch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36285
2013-04-09 14:19:17 +00:00
Gabor Juhos
130f67210a ramips: TEW-691GR.dts fixes
* fix pinmux settings
* remove spi node
* add nor-flash node
* enable mdio-bus and add phy handle

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36276
2013-04-08 12:34:17 +00:00
Gabor Juhos
a4a148f222 ramips: rt3883: enable the AR8216 driver
It is needed for the TEW-69{1,2}GR boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36275
2013-04-08 12:34:15 +00:00
Gabor Juhos
a9d977b2af ramips: add profile for the Omnima EMB-HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36274
2013-04-08 11:12:04 +00:00
Gabor Juhos
82705b30b3 ramips: OMNI-EMB-HPM.dts fixes
* add mdio-bus and phy nodes
* set phy-handle for the ethernet node
* define flash partiions
* cleanup flash node properties

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36273
2013-04-08 11:12:03 +00:00
Gabor Juhos
909fabe574 ramips: add mdio-bus node to rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36272
2013-04-08 11:12:02 +00:00
Gabor Juhos
78ee80f2e8 ramips: fix MDIO/PHY handling
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36271
2013-04-08 11:12:01 +00:00
Gabor Juhos
30e5bae84a ramips: fix console speed for OMNI-EMB-HPM
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36270
2013-04-08 08:24:51 +00:00
Gabor Juhos
cd7ce5226d ramips: avoid invalid pointer dereference in pinmux code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36269
2013-04-08 08:24:50 +00:00
Gabor Juhos
4c85227cf4 ramips: TEW-692GR.dts fixes
* fix pinmux settings
* remove spi node
* add PCI node
* add nor-flash node

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36268
2013-04-08 07:11:35 +00:00
Gabor Juhos
97635d7a8e ramips: add PCI node into RTN56U.dts
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36264
2013-04-07 20:56:22 +00:00