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

382 Commits

Author SHA1 Message Date
juhosg
649cff937e ramips: add maccalc to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:52 +00:00
juhosg
9822240003 ramips: add input drivers to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:50 +00:00
juhosg
76a008f572 ramips: rt305x: make config and factory partitions read-only on the ATP-52B
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:48 +00:00
juhosg
4a471f8a39 ramips: add uci-defaults scripts to preconfigure USB LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:12:00 +00:00
juhosg
3571551891 ramips: rt305x: add some USB modules to the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:58 +00:00
juhosg
a6ff6c1f36 ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:55 +00:00
juhosg
bf5f735641 ramips: rt305x: register the dwc_otg device on the relevant boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:52 +00:00
juhosg
5f106959f5 ramips: rt305x: add dwc_otg platform device
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:51 +00:00
juhosg
8ab9233b7b ramips: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:48 +00:00
juhosg
b73e813a88 ramips: load the input drivers during preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:47 +00:00
juhosg
ef3572bede ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:45 +00:00
juhosg
8b59aa7786 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:43 +00:00
juhosg
ea7f49d513 ramips: rt305x: add support for the Netcore NW718 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:32 +00:00
juhosg
793574f571 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:30 +00:00
juhosg
23e474a920 ramips: rt305x: enable M25P80 driver
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:28 +00:00
juhosg
1e8820b752 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:27 +00:00
juhosg
501b3f6109 ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:25 +00:00
juhosg
2ba08ae27e ramips: rt305x: add support for the DIR-600 B1,B2 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:24 +00:00
juhosg
ce72e8dfb5 ramips: rt305x: change machine id for DIR-300
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:22 +00:00
juhosg
8583804fdd ramips: rt305x: rename LEDs on the DIR-300-B1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:21 +00:00
juhosg
f8afb5e291 ramips: rt305x: sort Kconfig/Makefile entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:19 +00:00
juhosg
4a7f515821 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:18 +00:00
juhosg
53c9a5ce63 ramips: fix PWH2004 image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:15 +00:00
nbd
de95026813 rtl8366: unify rtl8366s and rtl8366rb platform data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:23 +00:00
juhosg
90433b3461 ramips: fix buffalo image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 16:46:33 +00:00
juhosg
b016341cf1 ramips: add diag support for RT-N15 and PWH2004
Also sort the board names alphabetically.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:05:00 +00:00
juhosg
6451badb13 ramips: use the 'router' LED for diagnostic on the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:55 +00:00
juhosg
eaafa6fa91 ramips: create tftp image for the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:54 +00:00
juhosg
c96ab0c002 ramips: create factory image for the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:52 +00:00
juhosg
f3959aee0f ramips: create factory image for DIR-300-B1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 06:48:45 +00:00
juhosg
f2053cb231 ramips: merge 2.6.39 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:10 +00:00
juhosg
e98854a51f ramips: remove 2.6.37 stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:09 +00:00
juhosg
748af8b575 ramips: switch to 2.6.39.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:07 +00:00
juhosg
f7ed0bfe29 ramips: add 2.6.39 support
Based on the patches from #9625

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:06 +00:00
juhosg
a728a666aa ramips: add hotplug script to extract eeprom for the rt2x00 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:01 +00:00
juhosg
88b8c44b87 ramips: specify eeprom file name on RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:00 +00:00
juhosg
556577659d ramips: specify eeprom file name on RT288X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:59 +00:00
juhosg
a6e5da490d ramips: add all supported boards to lib/ramips.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:56 +00:00
juhosg
f9e19ce202 ramips: check the size of the uImage in image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:55 +00:00
juhosg
cf68680797 ramips: use lowercase partiion names on the WCR150GN board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:53 +00:00
juhosg
f1d6b8e6a9 ramips: use different partition names in the DIR-300-B1 image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:52 +00:00
juhosg
a46ef02052 ramips: force word write on flashes with AMD cmdset (#9252)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:51 +00:00
juhosg
db3a7e64a2 ramips: update partition map for DIR-300-B1
Patch by Layne Edwards from #9252.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:49 +00:00
juhosg
f65d6ac4d9 ramips: consistently use 'firmware' name for sysupgrade partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:48 +00:00
juhosg
45b5e79de8 ramips: fix a section mismatch warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:46 +00:00
juhosg
17d001231c ramips: remove unused include from the common GPIO code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:44 +00:00
juhosg
9589c35dd3 ramips: disable watchdog on sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:43 +00:00
juhosg
7807b0552e ramips: swap target check in image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:42 +00:00
juhosg
b1476a05c2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:41 +00:00
juhosg
d786690857 ramips: set cp0_perfcount_irq for RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:40 +00:00
juhosg
bb8dd176cc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:43:07 +00:00
hauke
84b3048574 kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:59:07 +00:00
juhosg
ddab68cdd2 ramips: remove 2.6.36 stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:06 +00:00
juhosg
a406ef4fe7 ramips: switch to 2.6.37
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:04 +00:00
juhosg
3caf3c48cf ramips: UPF_FIXED_TYPE must be set for the serial ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:03 +00:00
juhosg
6513a4df99 ramips: define GPIO chips separately for each SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:59 +00:00
juhosg
5045f0c4da ramips: move GPIO definitions into a separate header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:57 +00:00
juhosg
8e5950efc5 ramips: setup GPIO chip functions on the fly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:51 +00:00
juhosg
bcee5bee58 ramips: use separate register base for GPIO chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:48 +00:00
juhosg
95e40f5581 ramips: fix dir-300 mtd layout
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:45 +00:00
juhosg
2e12b6720f ramips: enable MDIO on the HW550-3G board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:41 +00:00
juhosg
4d41fe6013 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:40 +00:00
nbd
d46648401a 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 01:07:12 +00:00
juhosg
8cde29c6b1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 16:34:52 +00:00
florian
ea7e9693a2 [kernel] update to kernel 2.6.36.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:07 +00:00
juhosg
68f33c556b ramips: register watchdog device on the rt288x boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:52 +00:00
juhosg
78f0155856 ramips: add watchdog device for RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:50 +00:00
juhosg
f019ef96de ramips: register watchdog device on the rt305x boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:47 +00:00
juhosg
a86c456862 ramips: add watchdog device for RT305x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:46 +00:00
juhosg
8e047f5e1f ramips: add watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:41 +00:00
juhosg
e388e46ebb ramips: implement clock API for RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:39 +00:00
juhosg
86f7e2834f ramips: implement clock API for RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:35 +00:00
juhosg
b2dc6c86ee ramips: remove extern and __init from function prototypes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:33 +00:00
juhosg
f370a85b20 ramips: ramips_esw: fix typos
Patch from #8577.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-04 13:44:05 +00:00
juhosg
c4174021ac ramips: remove 2.6.3[24] support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:31 +00:00
juhosg
a12045ff00 ramips: switch to 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:29 +00:00
juhosg
779b986847 ramips: handle OTG interrupt on the RT305x SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:25 +00:00
nbd
574f469e14 base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 08:01:21 +00:00
juhosg
602f2d5e4f ramips: ramips_esw: add more definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:33 +00:00
juhosg
ec52e89b08 ramips: ramips_esw: add helper function to set pvid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:28 +00:00
juhosg
4059133e7d ramips: ramips_esw: add helper function to set vlan members
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:25 +00:00
juhosg
9e9816322c ramips: ramips_esw: add helper function to set VLAN id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:22 +00:00
juhosg
293e4ff8cc ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:16 +00:00
juhosg
8b6afc3a6a ramips: ramips_esw: use rt305x_esw prefix in function names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:14 +00:00
juhosg
808e953c0a ramips: ramips_esw: coding style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:12 +00:00
juhosg
39deae4b99 ramips: ramips_esw: add defines for switch register offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:07 +00:00
juhosg
1600b801ec ramips: ramips_esw: don't touch GPIO_PURPOSE register
It must have been set by the board initialization code.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:04 +00:00
juhosg
bc4cb1b39f ramips: ramips_esw: convert it to be a platform driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:00 +00:00
juhosg
a3373ca948 ramips: ramips_esw: move hardware initialization into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:14:58 +00:00
juhosg
1fcc0bf36c ramips: ramips_esw: use a private structure for the functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:14:54 +00:00
juhosg
5d6fe3e144 ramips: add support for 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:38 +00:00
juhosg
50fe7cc694 ramips: default profile fix
Fix package names in default profiles.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:35 +00:00
juhosg
8b65736401 ramips: use tabs instead of spaces in mach-f5d8235-v2.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:30 +00:00
juhosg
ed0adccdff ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:23 +00:00
juhosg
d59a23df99 ramips: Use NET_IP_ALIGN instead of hardcoding 2
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:18 +00:00
juhosg
37b545f00f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:16 +00:00
juhosg
c523394925 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:12 +00:00
juhosg
e0af17401f ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:08 +00:00
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
hauke
4d8bddbd83 kernel: update to kernel 2.6.32.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 10:16:47 +00:00
thepeople
8fce8f5924 update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 01:12:11 +00:00