Commit graph

184 commits

Author SHA1 Message Date
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