Gabor Juhos
295e04084c
ramips: setup bc2 mac addresses from the generic network script
...
SVN-Revision: 29377
2011-12-01 22:48:37 +00:00
Gabor Juhos
02f95d4fb3
ramips: combine network setup for all boards in one file
...
Inspired by the patch from Roman Yeryomin. Thanks, Roman!
This removes unnecessary duplication and simplifies network setup for new
boards. It would be a one line change most likely.
[juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards
in order to avoid regression]
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 29376
2011-12-01 22:48:35 +00:00
Vasilis Tsiligiannis
17ccd4aec4
rt305x: Create factory image for Fonera 2.0n
...
SVN-Revision: 28689
2011-10-31 09:23:44 +00:00
Gabor Juhos
ee8077f0fe
ramips: Support for NexAira BC2
...
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]
Signed-off-by: Adam Porter <porter.adam at gmail.com>
SVN-Revision: 28571
2011-10-24 21:49:36 +00:00
Gabor Juhos
18452a753b
ramips: fix switch-port assignment for HW550-3G
...
WAN is on swtich port 0 for Aztech HW550-3G.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28570
2011-10-24 21:49:32 +00:00
Gabor Juhos
68a01c0180
ramips: combine led setup for all boards in one file
...
This removes unnecessary duplication and simplifies led setup for new
boards. It would be a one line change most likely.
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 28569
2011-10-24 21:49:31 +00:00
Gabor Juhos
72e117ec79
ramips: rt305x: add support for the ZyXEL NBG-419N board
...
SVN-Revision: 28078
2011-08-22 20:41:49 +00:00
Gabor Juhos
4b96d3af2a
ramips: rt305x: remove unused defines from mach-nw718.c
...
SVN-Revision: 28077
2011-08-22 20:41:48 +00:00
Gabor Juhos
462ca22e9c
ramips: sort Makefile entries
...
SVN-Revision: 28076
2011-08-22 20:41:47 +00:00
Gabor Juhos
d50494f3bb
ramips: sort RAMIPS_MACH_* defines
...
SVN-Revision: 28075
2011-08-22 20:41:45 +00:00
Gabor Juhos
90686691ce
ramips: fix wireless firmware extraction for wr512-3gn
...
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>
SVN-Revision: 28073
2011-08-22 18:08:45 +00:00
Gabor Juhos
f0049824b9
ramips: remove 'default [yn]' keywords from machine Kconfig entries
...
SVN-Revision: 28054
2011-08-19 15:55:12 +00:00
Gabor Juhos
6720025497
ramips: rt305x: fix wr512n image generation
...
SVN-Revision: 28053
2011-08-19 15:55:11 +00:00
Gabor Juhos
9085b05d9e
ramips: rt305x: support for wr512-3gn-like routers
...
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>
SVN-Revision: 28052
2011-08-19 15:55:10 +00:00
Gabor Juhos
46b101ad0a
ramips: register usb on Belkin F5D8235 v2 and Argus ATP-52-B routers
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 28051
2011-08-19 15:55:08 +00:00
Gabor Juhos
05209860da
ramips: fix wireless on Belkin F5D8235 v2
...
Fix wireless firmware extract from flash for Belkin F5D8235 v2.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 28050
2011-08-19 15:55:07 +00:00
Gabor Juhos
f8ab604eb6
ramips: fix typo in default packages
...
Fix fivebytepypo - there is no such kernel module wpad-mini :)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 28049
2011-08-19 15:55:05 +00:00
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Gabor Juhos
ace8ce0845
ramips: use maccalc instead of hexdump + sed
...
SVN-Revision: 28007
2011-08-15 19:00:23 +00:00
Gabor Juhos
bfc47ffead
ramips: rt305x: fix mac addresses on the Netcore NW718 board
...
SVN-Revision: 28006
2011-08-15 18:55:53 +00:00
Gabor Juhos
17c041cd0b
ramips: add maccalc to the default package list
...
SVN-Revision: 28005
2011-08-15 18:55:52 +00:00
Gabor Juhos
67e480971c
ramips: add input drivers to the default package list
...
SVN-Revision: 28003
2011-08-15 18:55:50 +00:00
Gabor Juhos
35ecf12059
ramips: rt305x: make config and factory partitions read-only on the ATP-52B
...
SVN-Revision: 28002
2011-08-15 18:55:48 +00:00
Gabor Juhos
75e2360ab3
ramips: add uci-defaults scripts to preconfigure USB LEDs
...
SVN-Revision: 28000
2011-08-15 14:12:00 +00:00
Gabor Juhos
e1b176de82
ramips: rt305x: add some USB modules to the default profile
...
SVN-Revision: 27999
2011-08-15 14:11:58 +00:00
Gabor Juhos
169d68c98c
ramips: rt305x: add dwc_otg driver
...
Based on a patch by Layne Edwards <ledwards@astrumtech.net>
SVN-Revision: 27997
2011-08-15 14:11:55 +00:00
Gabor Juhos
0ca16a4600
ramips: rt305x: register the dwc_otg device on the relevant boards
...
SVN-Revision: 27996
2011-08-15 14:11:52 +00:00
Gabor Juhos
addc86fdbd
ramips: rt305x: add dwc_otg platform device
...
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 27995
2011-08-15 14:11:51 +00:00
Gabor Juhos
6ef87ff5e6
ramips: sync kernel config
...
SVN-Revision: 27993
2011-08-15 14:11:48 +00:00
Gabor Juhos
4ee4fc9725
ramips: load the input drivers during preinit
...
SVN-Revision: 27992
2011-08-15 14:11:47 +00:00
Gabor Juhos
a3c7e71ae1
ramips: add support for Argus ATP-52B
...
[The ESW related changes has been removed - juhosg]
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 27991
2011-08-15 14:11:45 +00:00
Gabor Juhos
1ebcf03789
ramips: allow to specify port layout for the switch of the RT305x/RT3350
...
Based on a patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 27990
2011-08-15 14:11:43 +00:00
Gabor Juhos
ea211c4d90
ramips: rt305x: add support for the Netcore NW718 board
...
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
Gabor Juhos
437e184484
ramips: rt305x: add support for the Asus RT-G32 B1 board
...
Based on a patch by: Sergiy <piratfm@gmail.com>
SVN-Revision: 27812
2011-07-28 10:56:30 +00:00
Gabor Juhos
7193f29d96
ramips: rt305x: enable M25P80 driver
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27811
2011-07-28 10:56:28 +00:00
Gabor Juhos
c6db514de8
ramips: rt305x: introduce rt305x_register_spi helper
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27810
2011-07-28 10:56:27 +00:00
Gabor Juhos
57122e7ccc
ramips: add SPI controller driver
...
Based on a patch by Sergiy <piratfm@gmail.com>
SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos
3f986df05f
ramips: rt305x: add support for the DIR-600 B1,B2 boards
...
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos
857c1028ac
ramips: rt305x: change machine id for DIR-300
...
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos
42d3a55347
ramips: rt305x: rename LEDs on the DIR-300-B1
...
SVN-Revision: 27806
2011-07-28 10:56:21 +00:00
Gabor Juhos
39689b648f
ramips: rt305x: sort Kconfig/Makefile entries
...
SVN-Revision: 27805
2011-07-28 10:56:19 +00:00
Gabor Juhos
32c0534516
ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
...
This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B
Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>
SVN-Revision: 27804
2011-07-28 10:56:18 +00:00
Gabor Juhos
57663ce25b
ramips: fix PWH2004 image generation
...
SVN-Revision: 27803
2011-07-28 10:56:15 +00:00
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Gabor Juhos
abb1ca01a7
ramips: fix buffalo image generation
...
SVN-Revision: 27495
2011-07-06 16:46:33 +00:00
Gabor Juhos
1a4e7153b6
ramips: add diag support for RT-N15 and PWH2004
...
Also sort the board names alphabetically.
SVN-Revision: 27478
2011-07-06 08:05:00 +00:00
Gabor Juhos
d6985f5b46
ramips: use the 'router' LED for diagnostic on the WHR-G300N board
...
SVN-Revision: 27477
2011-07-06 08:04:55 +00:00
Gabor Juhos
2cc346b8e0
ramips: create tftp image for the WHR-G300N board
...
SVN-Revision: 27476
2011-07-06 08:04:54 +00:00
Gabor Juhos
0dc18d8586
ramips: create factory image for the WHR-G300N board
...
SVN-Revision: 27474
2011-07-06 08:04:52 +00:00
Gabor Juhos
e9c8218375
ramips: create factory image for DIR-300-B1
...
SVN-Revision: 27439
2011-07-04 06:48:45 +00:00
Gabor Juhos
6e7b802297
ramips: merge 2.6.39 patches
...
SVN-Revision: 27399
2011-07-03 15:02:10 +00:00
Gabor Juhos
646f64d389
ramips: remove 2.6.37 stuff
...
SVN-Revision: 27398
2011-07-03 15:02:09 +00:00
Gabor Juhos
2fc6be00f4
ramips: switch to 2.6.39.2
...
SVN-Revision: 27397
2011-07-03 15:02:07 +00:00
Gabor Juhos
0fde070cf9
ramips: add 2.6.39 support
...
Based on the patches from #9625
SVN-Revision: 27396
2011-07-03 15:02:06 +00:00
Gabor Juhos
c8010517d5
ramips: add hotplug script to extract eeprom for the rt2x00 driver
...
SVN-Revision: 27393
2011-07-03 15:02:01 +00:00
Gabor Juhos
3334d0604e
ramips: specify eeprom file name on RT305X
...
SVN-Revision: 27392
2011-07-03 15:02:00 +00:00
Gabor Juhos
f53cc4c439
ramips: specify eeprom file name on RT288X
...
SVN-Revision: 27391
2011-07-03 15:01:59 +00:00
Gabor Juhos
521e495f4b
ramips: add all supported boards to lib/ramips.sh
...
SVN-Revision: 27389
2011-07-03 15:01:56 +00:00
Gabor Juhos
6f54df889a
ramips: check the size of the uImage in image generation
...
SVN-Revision: 27388
2011-07-03 15:01:55 +00:00
Gabor Juhos
575a5286c8
ramips: use lowercase partiion names on the WCR150GN board
...
SVN-Revision: 27387
2011-07-03 15:01:53 +00:00
Gabor Juhos
31facf0b75
ramips: use different partition names in the DIR-300-B1 image
...
SVN-Revision: 27386
2011-07-03 15:01:52 +00:00
Gabor Juhos
dbe55f08f0
ramips: force word write on flashes with AMD cmdset ( #9252 )
...
SVN-Revision: 27385
2011-07-03 15:01:51 +00:00
Gabor Juhos
f1cf43d468
ramips: update partition map for DIR-300-B1
...
Patch by Layne Edwards from #9252 .
SVN-Revision: 27384
2011-07-03 15:01:49 +00:00
Gabor Juhos
641c87b127
ramips: consistently use 'firmware' name for sysupgrade partitions
...
SVN-Revision: 27383
2011-07-03 15:01:48 +00:00
Gabor Juhos
381d7f05af
ramips: fix a section mismatch warning
...
SVN-Revision: 27382
2011-07-03 15:01:46 +00:00
Gabor Juhos
16ad91d69f
ramips: remove unused include from the common GPIO code
...
SVN-Revision: 27381
2011-07-03 15:01:44 +00:00
Gabor Juhos
c9f3e7082f
ramips: disable watchdog on sysupgrade
...
SVN-Revision: 27380
2011-07-03 15:01:43 +00:00
Gabor Juhos
e70e6f6848
ramips: swap target check in image generation
...
SVN-Revision: 27379
2011-07-03 15:01:42 +00:00
Gabor Juhos
affb57ee27
ramips: update HW550-3G mtd partitions
...
This patch updates the mtd partitions for the Aztech HW550-3G
Signed-off-by: Layne Edwards <ledwards@astrumtech.net>
SVN-Revision: 27378
2011-07-03 15:01:41 +00:00
Gabor Juhos
3099ffe414
ramips: set cp0_perfcount_irq for RT305X
...
SVN-Revision: 27377
2011-07-03 15:01:40 +00:00
Gabor Juhos
d5a7e2f5c1
ramips: initial board support for MOFI3500-3GN
...
This patch adds initial board support for the MoFi Network MOFI3500-3GN
(Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This
router is basically the NA version of the HW550-3G.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26466
2011-04-04 08:43:07 +00:00
Hauke Mehrtens
50c743e79e
kernel: Update to version 2.6.37.6
...
Thank you Peter Wagner for the patch
SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Gabor Juhos
87f5872f35
ramips: remove 2.6.36 stuff
...
SVN-Revision: 26329
2011-03-27 19:20:06 +00:00
Gabor Juhos
90d37adb8d
ramips: switch to 2.6.37
...
SVN-Revision: 26328
2011-03-27 19:20:04 +00:00
Gabor Juhos
1844ea6c7b
ramips: UPF_FIXED_TYPE must be set for the serial ports
...
SVN-Revision: 26327
2011-03-27 19:20:03 +00:00
Gabor Juhos
9ef4785364
ramips: define GPIO chips separately for each SoCs
...
SVN-Revision: 26326
2011-03-27 19:19:59 +00:00
Gabor Juhos
37d6d88869
ramips: move GPIO definitions into a separate header file
...
SVN-Revision: 26325
2011-03-27 19:19:57 +00:00
Gabor Juhos
251a367fb4
ramips: setup GPIO chip functions on the fly
...
SVN-Revision: 26324
2011-03-27 19:19:51 +00:00
Gabor Juhos
b03f2dfcee
ramips: use separate register base for GPIO chips
...
SVN-Revision: 26323
2011-03-27 19:19:48 +00:00
Gabor Juhos
8770359f17
ramips: fix dir-300 mtd layout
...
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 26322
2011-03-27 19:19:45 +00:00
Gabor Juhos
f599459abb
ramips: enable MDIO on the HW550-3G board
...
SVN-Revision: 26321
2011-03-27 19:19:41 +00:00
Gabor Juhos
d701a72760
ramips: add sysupgrade and status LED support for HW550-3G
...
This patch adds sysupgrade and status LED support for the Aztech
HW550-3G. Some LED GPIOs were changed for clarity.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26320
2011-03-27 19:19:40 +00:00
Felix Fietkau
335877a2b3
global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
...
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Gabor Juhos
23518bb2e4
ramips: initial board support for Aztech HW550-3G
...
This patch adds initial support for the Aztech HW550-3G (Ralink
RT3052f SoC, 8MB flash, 32MB dram). Ethernet is not working yet.
Wireless appears to work fine. USB does not work yet (as with other
Ralink boards).
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26123
2011-03-13 16:34:52 +00:00
Florian Fainelli
45c9f5e75e
update to kernel 2.6.36.4
...
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Gabor Juhos
1c92e047c8
ramips: register watchdog device on the rt288x boards
...
SVN-Revision: 25130
2011-01-26 20:48:52 +00:00
Gabor Juhos
2b50cecea6
ramips: add watchdog device for RT288x
...
SVN-Revision: 25129
2011-01-26 20:48:50 +00:00
Gabor Juhos
764aa3fe9c
ramips: register watchdog device on the rt305x boards
...
SVN-Revision: 25128
2011-01-26 20:48:47 +00:00
Gabor Juhos
42e36cf732
ramips: add watchdog device for RT305x
...
SVN-Revision: 25127
2011-01-26 20:48:46 +00:00
Gabor Juhos
16366feafb
ramips: add watchdog driver
...
SVN-Revision: 25126
2011-01-26 20:48:41 +00:00
Gabor Juhos
f38367fcb4
ramips: implement clock API for RT288x
...
SVN-Revision: 25125
2011-01-26 20:48:39 +00:00
Gabor Juhos
b0ffa70248
ramips: implement clock API for RT305X
...
SVN-Revision: 25124
2011-01-26 20:48:35 +00:00
Gabor Juhos
f9e74383a9
ramips: remove extern and __init from function prototypes
...
SVN-Revision: 25123
2011-01-26 20:48:33 +00:00
Gabor Juhos
b99a637795
ramips: ramips_esw: fix typos
...
Patch from #8577 .
SVN-Revision: 24898
2011-01-04 13:44:05 +00:00
Gabor Juhos
d2fdd1dbe1
ramips: remove 2.6.3[24] support
...
SVN-Revision: 24562
2010-12-14 08:00:31 +00:00
Gabor Juhos
1403850be1
ramips: switch to 2.6.36
...
SVN-Revision: 24561
2010-12-14 08:00:29 +00:00
Gabor Juhos
f9898e30fb
ramips: handle OTG interrupt on the RT305x SoC
...
SVN-Revision: 24560
2010-12-14 08:00:25 +00:00
Felix Fietkau
5a351509aa
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
Gabor Juhos
502d21dc2a
ramips: ramips_esw: add more definitions
...
SVN-Revision: 24340
2010-12-08 10:15:33 +00:00
Gabor Juhos
bf58ef7c6d
ramips: ramips_esw: add helper function to set pvid
...
SVN-Revision: 24339
2010-12-08 10:15:28 +00:00
Gabor Juhos
692d379b50
ramips: ramips_esw: add helper function to set vlan members
...
SVN-Revision: 24338
2010-12-08 10:15:25 +00:00
Gabor Juhos
f7c3f91074
ramips: ramips_esw: add helper function to set VLAN id
...
SVN-Revision: 24337
2010-12-08 10:15:22 +00:00
Gabor Juhos
0d2ad7a816
ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
...
SVN-Revision: 24336
2010-12-08 10:15:16 +00:00
Gabor Juhos
7b878dde4b
ramips: ramips_esw: use rt305x_esw prefix in function names
...
SVN-Revision: 24335
2010-12-08 10:15:14 +00:00
Gabor Juhos
0fcedc7bda
ramips: ramips_esw: coding style cleanup
...
SVN-Revision: 24334
2010-12-08 10:15:12 +00:00
Gabor Juhos
48e6a31812
ramips: ramips_esw: add defines for switch register offsets
...
SVN-Revision: 24333
2010-12-08 10:15:07 +00:00
Gabor Juhos
74c13f06df
ramips: ramips_esw: don't touch GPIO_PURPOSE register
...
It must have been set by the board initialization code.
SVN-Revision: 24332
2010-12-08 10:15:04 +00:00
Gabor Juhos
3b9a6adc7d
ramips: ramips_esw: convert it to be a platform driver
...
SVN-Revision: 24331
2010-12-08 10:15:00 +00:00
Gabor Juhos
889729df01
ramips: ramips_esw: move hardware initialization into a separate function
...
SVN-Revision: 24330
2010-12-08 10:14:58 +00:00
Gabor Juhos
8957f39064
ramips: ramips_esw: use a private structure for the functions
...
SVN-Revision: 24329
2010-12-08 10:14:54 +00:00
Gabor Juhos
0449d92dd7
ramips: add support for 2.6.36
...
SVN-Revision: 24270
2010-12-05 20:14:38 +00:00
Gabor Juhos
01a5cb48c8
ramips: default profile fix
...
Fix package names in default profiles.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 24269
2010-12-05 20:14:35 +00:00
Gabor Juhos
47dd3b9fea
ramips: use tabs instead of spaces in mach-f5d8235-v2.c
...
SVN-Revision: 24268
2010-12-05 20:14:30 +00:00
Gabor Juhos
21c8d63505
ramips: add support for Belkin F5D8235 v2 board
...
No support for usb for now.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 24126
2010-11-24 10:01:23 +00:00
Gabor Juhos
64b16b9f34
ramips: Use NET_IP_ALIGN instead of hardcoding 2
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24124
2010-11-24 10:01:18 +00:00
Gabor Juhos
624cfc5c91
ramips: DMA map the correct RX skb size
...
The skb_reserve call prior to DMA mapping the RX skb reduced the skb
data len by 2. To not allow DMA to write behind the skb we should pass
the correct skb data len to the device.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24123
2010-11-24 10:01:16 +00:00
Gabor Juhos
f833e399f2
ramips: Don't trigger BUG_ON due to skb allocation failure
...
Instead just drop the rx'ed frame silently and reuse the already
available buffer.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24122
2010-11-24 10:01:12 +00:00
Gabor Juhos
c6e4124855
ramips: Remove unnecessary skb_put
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24121
2010-11-24 10:01:08 +00:00
Gabor Juhos
69355ee10e
ramips: Allow ethernet interface to be taken down and up again
...
Taking the ramips ethernet interface down and up again resulted in the
driver not receiving any frames anymore. Fix this by correctly disabling
interrupts in the hw on ifdown.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 23243
2010-10-05 14:10:34 +00:00
Imre Kaloz
5f9a6a5431
upgrade kernel versions to the latest stable ones
...
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Gabor Juhos
e5b081335e
ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)
...
The attached patch adds a preliminary support for Prolink PWH2004 board
(Ralink RT305x based). LAN and flash appear to work. However, the USB
port and WLAN I have not managed to activate properly yet, but that
problem appears to be present with other rt305x targets as well(?).
Signed-off-by: Esa Hyytia <esa at netlab.tkk.fi>
SVN-Revision: 23129
2010-09-27 14:43:34 +00:00
Gabor Juhos
39c57eeb31
ramips: allow USB
...
The current defaults for ramips rt305x does not allow the USB
subsystem to be selected/built.
This patch is just a small step in that direction.
Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
SVN-Revision: 23128
2010-09-27 14:42:07 +00:00
Hauke Mehrtens
09e05d833d
kernel: update kernel version to 2.6.34.5
...
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
Gabor Juhos
462dabc7f5
ramips: add support for Sparklan WCR-150GN board
...
This patch adds support for Sparklan WCR-150GN board.
Network configuration should be tweaked to make it work fully. The
reason it's not in this patch is that ramips target should be modified
to support different /etc/config/network files for different boards.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 22658
2010-08-15 09:43:07 +00:00
Florian Fainelli
781c091ea5
fix jffs2 64k and 128k images overwrite each other
...
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 22435
2010-07-31 11:42:17 +00:00
Gabor Juhos
1ca67cba7f
ramips: enable ethernet driver for rt288x
...
SVN-Revision: 22214
2010-07-15 19:45:49 +00:00
Gabor Juhos
2e45ce264d
ramips: register ethernet device on the RT-N15
...
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos
c2ebadc504
ramips: add generic ethernet device for the RT288x
...
SVN-Revision: 22212
2010-07-15 19:45:43 +00:00
Gabor Juhos
0d8c036e56
ramips: add mdio_cfg configuration for the ethernet driver
...
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
Gabor Juhos
d14e9e706e
ramips: Fix bridging in ramips ethernet driver
...
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.
The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.
Fix this by using skb_put to correctly set skb->len and skb->tail.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 22172
2010-07-13 16:52:07 +00:00
Gabor Juhos
27375c5139
ramips: protect GPIO register access with a spinlock
...
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos
9ee8b1f8c6
ramips: sync kernel config
...
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Hauke Mehrtens
e2ce2feedb
kernel: update to kernel 2.6.34.1
...
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Alexandros C. Couloumbis
cd2069a57c
fix commit r21994 (thanks juhosg)
...
SVN-Revision: 21995
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
0409c64e34
fix commit r21993
...
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Gabor Juhos
2dfcdb9465
generic: merge mips multi machine update to generic patches for 2.6.34
...
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
383bd396fa
generic: merge mips multi machine update to generic patches for 2.6.32
...
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
John Crispin
971b7ff50e
Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
...
Signed-off-by: Helmut Schaa
SVN-Revision: 21643
2010-05-31 11:57:32 +00:00
Daniel Dickinson
ba2b75f710
ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced
...
SVN-Revision: 21635
2010-05-30 03:21:00 +00:00
Gabor Juhos
c24397b385
ramips: merge slab patch
...
SVN-Revision: 21607
2010-05-28 19:45:28 +00:00
Gabor Juhos
7ac21ada55
ramips: use COMMAND_LINE_SIZE directly
...
SVN-Revision: 21606
2010-05-28 19:45:24 +00:00
Gabor Juhos
178e4e9927
ramips: add missing 2.6.34 config files
...
SVN-Revision: 21605
2010-05-28 19:45:21 +00:00
Gabor Juhos
b86455a7ec
ramips: refresh 2.6.34 patches
...
SVN-Revision: 21604
2010-05-28 19:45:16 +00:00
Gabor Juhos
fdf1561386
ramips: sync 2.6.32 config
...
SVN-Revision: 21603
2010-05-28 19:45:10 +00:00
John Crispin
0ab7d18462
update to 2.6.34, signed of by russiane39, thx
...
SVN-Revision: 21573
2010-05-26 15:53:05 +00:00
Hauke Mehrtens
b18a1d217b
kernel: update kernel to version 2.6.32.13 and 2.6.33.4
...
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Alexandros C. Couloumbis
fdac9ae836
sync to kernel 2.6.32.12
...
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Nicolas Thill
37b02afe6a
package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
...
SVN-Revision: 21137
2010-04-24 14:08:49 +00:00
Gabor Juhos
60cbdbb686
ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
SVN-Revision: 21083
2010-04-22 09:25:37 +00:00
Nicolas Thill
3162bc1ecf
target/ramips: fix another typo from [20834] ( closes : #7182 )
...
SVN-Revision: 21012
2010-04-19 01:14:29 +00:00
Nicolas Thill
e2b57ecf5f
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Gabor Juhos
de18353622
ramips: nuke clocksource init patch
...
SVN-Revision: 20802
2010-04-11 17:47:30 +00:00
Gabor Juhos
b4bb5ebfaa
ramips: generate sysupgrade images for the rt305x devices
...
SVN-Revision: 20801
2010-04-11 17:47:28 +00:00
Gabor Juhos
7581054e93
ramips: add sysupgrade support
...
SVN-Revision: 20800
2010-04-11 17:47:25 +00:00
Gabor Juhos
09aec474af
ramips: add diag support
...
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
Gabor Juhos
2872bade69
ramips: enable image commandline hack and cmdline partition parsing
...
SVN-Revision: 20798
2010-04-11 17:47:20 +00:00
Gabor Juhos
af05b16c98
ramips: add default profiles
...
SVN-Revision: 20797
2010-04-11 17:47:17 +00:00
Gabor Juhos
0abc7e6d53
ramips: add wpad-mini to the default packages
...
SVN-Revision: 20632
2010-03-31 09:58:33 +00:00
Gabor Juhos
a423c3abee
ramips: annotate device register function prototypes with __init
...
SVN-Revision: 20627
2010-03-31 08:40:28 +00:00
Gabor Juhos
a9f313edea
ramips: register wifi device for the RT2880 based boards
...
SVN-Revision: 20625
2010-03-31 08:40:23 +00:00
Gabor Juhos
9f3d673dbc
ramips: add wifi device for the RT2880 as well
...
SVN-Revision: 20624
2010-03-31 08:40:20 +00:00
Gabor Juhos
1c25cfcde0
ramips: register wifi device on the rt305x based boards
...
SVN-Revision: 20616
2010-03-30 21:24:10 +00:00
Gabor Juhos
ce2ac05602
ramips: sync kernel config
...
SVN-Revision: 20614
2010-03-30 21:24:05 +00:00
John Crispin
6f4052abe0
The ralink rt305x board has a wireless card that can be used with the rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
...
SVN-Revision: 20599
2010-03-30 12:04:05 +00:00
John Crispin
3ad14f304e
Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
...
SVN-Revision: 20596
2010-03-30 10:06:05 +00:00
Gabor Juhos
e66a368bd1
kernel: update to 2.6.32.10
...
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Felix Fietkau
2d305bdc23
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
SVN-Revision: 20149
2010-03-11 18:48:50 +00:00
Nicolas Thill
e1863691d9
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Hauke Mehrtens
0c7b285613
kernel: update to kernel 2.6.32.9
...
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Travis Kemen
5c75e1dd02
update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
...
SVN-Revision: 19591
2010-02-12 01:12:11 +00:00
Imre Kaloz
825b37cc56
clean up handling of some kernel symbols
...
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz
0a52bc58f8
re-sort all target and subtarget config files
...
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Gabor Juhos
1e4e3b21fb
ramips: nuke 2.6.30 support
...
SVN-Revision: 19466
2010-01-31 17:56:41 +00:00
Gabor Juhos
bdc1565554
ramips: enable RTL8366SR driver for the RT288x devices
...
SVN-Revision: 19465
2010-01-31 17:56:38 +00:00
Gabor Juhos
4267623e2e
ramips_eth: cleanup mac_address changing
...
SVN-Revision: 19464
2010-01-31 17:56:36 +00:00
Gabor Juhos
b16aaf5fac
ramips_eth: update register offsets
...
SVN-Revision: 19463
2010-01-31 17:56:33 +00:00
Gabor Juhos
72b08b729a
ramips_eth: pass sys_clk via platform_data
...
SVN-Revision: 19462
2010-01-31 17:56:30 +00:00
Gabor Juhos
9ab88ce62d
ramips_eth: add helper functions to {ed,dis}able interrupts
...
SVN-Revision: 19446
2010-01-31 12:48:53 +00:00
Gabor Juhos
224edd2575
ramips_eth: remove unnecessary typecasts
...
SVN-Revision: 19445
2010-01-31 12:48:51 +00:00
Gabor Juhos
8aceaf96be
ramips_eth: simplify tx_next computation
...
SVN-Revision: 19444
2010-01-31 12:48:48 +00:00
Gabor Juhos
21b06bd2c0
ramips_eth: simplify tx descriptor initialization
...
SVN-Revision: 19443
2010-01-31 12:48:46 +00:00
Gabor Juhos
d0fb66e3a4
ramips_eth: pass 'raeth_priv' struct directly to dma specific functions
...
SVN-Revision: 19442
2010-01-31 12:48:43 +00:00
Gabor Juhos
c9d8869d1b
ramips: switch to 2.6.32
...
SVN-Revision: 19441
2010-01-31 12:48:41 +00:00
Gabor Juhos
f0be6ab20c
ramips_eth: convert to use netdev_ops
...
SVN-Revision: 19440
2010-01-31 12:48:38 +00:00
Gabor Juhos
d37975f6b2
ramips_eth: fix invalid register writes
...
SVN-Revision: 19417
2010-01-30 15:26:02 +00:00
Gabor Juhos
43e1dd85c2
ramips_eth: move memset call out from the loop
...
SVN-Revision: 19416
2010-01-30 15:25:59 +00:00
Gabor Juhos
ea4ce3b6fd
ramips_eth: header file cleanup
...
SVN-Revision: 19415
2010-01-30 15:25:57 +00:00
Gabor Juhos
67cd819da6
ramips_eth: coding style cleanup
...
SVN-Revision: 19414
2010-01-30 15:25:55 +00:00
Gabor Juhos
a4e85bbceb
ramips: register gpio buttons on the Fonera 2.0N board
...
SVN-Revision: 19413
2010-01-30 15:25:52 +00:00
Gabor Juhos
8823482a02
ramips: register gpio buttons on the WHR-G300N board
...
SVN-Revision: 19412
2010-01-30 15:25:49 +00:00
Gabor Juhos
35f47a3654
ramips: register gpio buttons on the V22RW-2x2 board
...
SVN-Revision: 19411
2010-01-30 15:25:47 +00:00
Gabor Juhos
30a397fd5e
ramips: register gpio buttons on the DIR-300 revB board
...
SVN-Revision: 19410
2010-01-30 15:25:44 +00:00
Gabor Juhos
f9b053e87f
ramips: fix wrong base addresses for the RT288x
...
SVN-Revision: 19409
2010-01-30 15:25:41 +00:00
Gabor Juhos
8448caa6ad
ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
...
SVN-Revision: 19408
2010-01-30 15:25:36 +00:00
Gabor Juhos
94c9590e91
ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
...
SVN-Revision: 19407
2010-01-30 15:25:33 +00:00
Gabor Juhos
55185915de
ramips: cleanup WZR-AGL300NH board support file
...
SVN-Revision: 19406
2010-01-30 15:25:29 +00:00
Gabor Juhos
0530dd9849
ramips: register gpio-buttons on the RT-N15 board
...
SVN-Revision: 19405
2010-01-30 15:25:25 +00:00
Gabor Juhos
9327f02b7b
ramips: add common gpio-buttons device
...
SVN-Revision: 19404
2010-01-30 15:25:20 +00:00
Gabor Juhos
4af1f533bb
ramips: register rtl8366s device on the RT-N15 board
...
SVN-Revision: 19403
2010-01-30 15:25:16 +00:00
Gabor Juhos
e2dde81ead
ramips: sanitize return value of ramips_gpio_get
...
SVN-Revision: 19401
2010-01-30 15:25:08 +00:00