1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 09:50:16 +02:00
Commit Graph

184 Commits

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:10:34 +00:00
kaloz
7e99ea9fe6 [kernel]: upgrade kernel versions to the latest stable ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 10:40:41 +00:00
juhosg
1a883422c6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:43:34 +00:00
juhosg
b2d27833af 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:42:07 +00:00
hauke
eac32f68e6 kernel: update kernel version to 2.6.34.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 13:26:06 +00:00
juhosg
ef0f04cf25 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15 09:43:07 +00:00
florian
cc84d9a7e1 [ramips] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:42:17 +00:00
juhosg
6236135893 ramips: enable ethernet driver for rt288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:49 +00:00
juhosg
7b74a280aa ramips: register ethernet device on the RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:46 +00:00
juhosg
4c2865eceb ramips: add generic ethernet device for the RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:43 +00:00
juhosg
12e2f4aadf ramips: add mdio_cfg configuration for the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:40 +00:00
juhosg
fa4dd3d5de 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:07 +00:00
juhosg
675367fe81 ramips: protect GPIO register access with a spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:04 +00:00
juhosg
76ca646102 ramips: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:02 +00:00
hauke
30feff8b48 kernel: update to kernel 2.6.34.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
acoul
b6ff7d438a fix commit r21994 (thanks juhosg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:46:45 +00:00
acoul
47e09d34e4 fix commit r21993
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:35:12 +00:00
juhosg
0119024a6b generic: merge mips multi machine update to generic patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:52 +00:00
juhosg
22b785a14d generic: merge mips multi machine update to generic patches for 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:46 +00:00
blogic
18cc5a3810 Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31 11:57:32 +00:00
cshore
893b30dab6 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:21:00 +00:00
juhosg
47cea815ee ramips: merge slab patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:28 +00:00
juhosg
3ab0d99857 ramips: use COMMAND_LINE_SIZE directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:24 +00:00
juhosg
06ec6493fe ramips: add missing 2.6.34 config files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:21 +00:00
juhosg
6c5721aff2 ramips: refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:16 +00:00
juhosg
237bd79c54 ramips: sync 2.6.32 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:10 +00:00
blogic
d756ab6289 [ramips] update to 2.6.34, signed of by russiane39, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-26 15:53:05 +00:00
hauke
2f05a5f0ef kernel: update kernel to version 2.6.32.13 and 2.6.33.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
acoul
63ed400246 sync to kernel 2.6.32.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 14:30:08 +00:00
nico
7716517d56 package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 14:08:49 +00:00
juhosg
3e39b51297 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 09:25:37 +00:00
nico
b4cd93a0eb target/ramips: fix another typo from [20834] (closes: #7182)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 01:14:29 +00:00
nico
bca3f225e9 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
juhosg
eb4297a352 ramips: nuke clocksource init patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:30 +00:00
juhosg
52a2bdc2ed ramips: generate sysupgrade images for the rt305x devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:28 +00:00
juhosg
c540e18b68 ramips: add sysupgrade support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:25 +00:00
juhosg
a635a19c37 ramips: add diag support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:23 +00:00
juhosg
501e9e372c ramips: enable image commandline hack and cmdline partition parsing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:20 +00:00
juhosg
079e50813d ramips: add default profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 17:47:17 +00:00
juhosg
e75dc44dca ramips: add wpad-mini to the default packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 09:58:33 +00:00
juhosg
67ab18e38a ramips: annotate device register function prototypes with __init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:28 +00:00
juhosg
b7a96a32ea ramips: register wifi device for the RT2880 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:23 +00:00
juhosg
c03509e141 ramips: add wifi device for the RT2880 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:20 +00:00
juhosg
c44ee422c3 ramips: register wifi device on the rt305x based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:10 +00:00
juhosg
08ce1c443c ramips: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:05 +00:00
blogic
0f85365209 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 12:04:05 +00:00
blogic
37bcda62c0 [ramips] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 10:06:05 +00:00
juhosg
b4fcbf1114 kernel: update to 2.6.32.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
nbd
2c8b7a1910 the mips -ffreestanding patch has been unnecessary for a long time now, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
nico
8fe94a14fe do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00