Commit Graph

220 Commits (a5acf1e9f6c571f4ccddf9b5d86b01d51fd1a84b)

Author SHA1 Message Date
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
13 years ago
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
13 years ago
Florian Fainelli 45c9f5e75e update to kernel 2.6.36.4
SVN-Revision: 25580
14 years ago
Gabor Juhos 1c92e047c8 ramips: register watchdog device on the rt288x boards
SVN-Revision: 25130
14 years ago
Gabor Juhos 2b50cecea6 ramips: add watchdog device for RT288x
SVN-Revision: 25129
14 years ago
Gabor Juhos 764aa3fe9c ramips: register watchdog device on the rt305x boards
SVN-Revision: 25128
14 years ago
Gabor Juhos 42e36cf732 ramips: add watchdog device for RT305x
SVN-Revision: 25127
14 years ago
Gabor Juhos 16366feafb ramips: add watchdog driver
SVN-Revision: 25126
14 years ago
Gabor Juhos f38367fcb4 ramips: implement clock API for RT288x
SVN-Revision: 25125
14 years ago
Gabor Juhos b0ffa70248 ramips: implement clock API for RT305X
SVN-Revision: 25124
14 years ago
Gabor Juhos f9e74383a9 ramips: remove extern and __init from function prototypes
SVN-Revision: 25123
14 years ago
Gabor Juhos b99a637795 ramips: ramips_esw: fix typos
Patch from #8577.

SVN-Revision: 24898
14 years ago
Gabor Juhos d2fdd1dbe1 ramips: remove 2.6.3[24] support
SVN-Revision: 24562
14 years ago
Gabor Juhos 1403850be1 ramips: switch to 2.6.36
SVN-Revision: 24561
14 years ago
Gabor Juhos f9898e30fb ramips: handle OTG interrupt on the RT305x SoC
SVN-Revision: 24560
14 years ago
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
14 years ago
Gabor Juhos 502d21dc2a ramips: ramips_esw: add more definitions
SVN-Revision: 24340
14 years ago
Gabor Juhos bf58ef7c6d ramips: ramips_esw: add helper function to set pvid
SVN-Revision: 24339
14 years ago
Gabor Juhos 692d379b50 ramips: ramips_esw: add helper function to set vlan members
SVN-Revision: 24338
14 years ago
Gabor Juhos f7c3f91074 ramips: ramips_esw: add helper function to set VLAN id
SVN-Revision: 24337
14 years ago
Gabor Juhos 0d2ad7a816 ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
SVN-Revision: 24336
14 years ago
Gabor Juhos 7b878dde4b ramips: ramips_esw: use rt305x_esw prefix in function names
SVN-Revision: 24335
14 years ago
Gabor Juhos 0fcedc7bda ramips: ramips_esw: coding style cleanup
SVN-Revision: 24334
14 years ago
Gabor Juhos 48e6a31812 ramips: ramips_esw: add defines for switch register offsets
SVN-Revision: 24333
14 years ago
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
14 years ago
Gabor Juhos 3b9a6adc7d ramips: ramips_esw: convert it to be a platform driver
SVN-Revision: 24331
14 years ago
Gabor Juhos 889729df01 ramips: ramips_esw: move hardware initialization into a separate function
SVN-Revision: 24330
14 years ago
Gabor Juhos 8957f39064 ramips: ramips_esw: use a private structure for the functions
SVN-Revision: 24329
14 years ago
Gabor Juhos 0449d92dd7 ramips: add support for 2.6.36
SVN-Revision: 24270
14 years ago
Gabor Juhos 01a5cb48c8 ramips: default profile fix
Fix package names in default profiles.

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

SVN-Revision: 24269
14 years ago
Gabor Juhos 47dd3b9fea ramips: use tabs instead of spaces in mach-f5d8235-v2.c
SVN-Revision: 24268
14 years ago
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
14 years ago
Gabor Juhos 64b16b9f34 ramips: Use NET_IP_ALIGN instead of hardcoding 2
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24124
14 years ago
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
14 years ago
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
14 years ago
Gabor Juhos c6e4124855 ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24121
14 years ago
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
14 years ago
Imre Kaloz 5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
14 years ago
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
14 years ago
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
14 years ago
Hauke Mehrtens 09e05d833d kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
14 years ago
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
14 years ago
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
14 years ago
Gabor Juhos 1ca67cba7f ramips: enable ethernet driver for rt288x
SVN-Revision: 22214
14 years ago
Gabor Juhos 2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
14 years ago
Gabor Juhos c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
14 years ago
Gabor Juhos 0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
14 years ago
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
14 years ago
Gabor Juhos 27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
14 years ago
Gabor Juhos 9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
14 years ago