Commit graph

47 commits

Author SHA1 Message Date
Gabor Juhos
b3fdd931d1 ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
This patch adds support for the Sitecom WL-341 v3 and other Sercomm
IP1006RRv2 based boards for sysupgrade support and for the initial
flash through pushbutton initiated recovery mode with the special
partition table and fixes for the quirks and things required by the
modified bootloader.

There is a known bug, Wi-Fi is not working on my board probably
because of the lack of RAM (the board only has 16MiB ram -- half of
the normal amount for non rebadged versions, but there is an empty
slot for another ram chip,) but I don't know for sure. The driver
loads but hostapd fails to load so I think it's not related to the
specific device except for the lack of RAM.

Moreover, only 7 of the 11 onboard leds are confirmed working, it
seems that one of the others is always on and the remaining ones are
connected to the wireless card leds already recognized by OpenWrt

[juhosg: reordered some parts in order to keep things sorted
alphabetically]

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

SVN-Revision: 29910
2012-01-26 10:44:23 +00:00
Gabor Juhos
944c8aacdb ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29883
2012-01-24 11:48:47 +00:00
Gabor Juhos
9cf1d4e06e ramips: scripts updates
In this patch:

* rename Argus leds to avoid underscores
* rename Belkin F5D8235 v1 leds from f5d8234 to f5d8235
* remove Belkin F5D8235 v1 status led defined as storage led (it was
  defined as usb led earlier, just in wrong place) - it should have
  router led as in v2
* add Argus, Sparklan and Belkin F5D8235 v2 status leds
* add Belkin F5D8235 v1 and v2 usb leds
* fix Belkin F5D8235 v2 network config generation and mac address axtraction
* fix Sparklan board identification
* add Sparklan usb led (this board doesn't have usb connector by
  default and the led is hidden also but if you are going to solder
  the connector then you'll see the led too)
* add Sparklan network config generation and mac address extraction
* fix empty string test in network script and...
* ...sort case entries by the first board in the list

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

SVN-Revision: 29871
2012-01-23 10:23:32 +00:00
Gabor Juhos
809fe38e41 ramips fix f5d8235-v1 diag LED support
SVN-Revision: 29857
2012-01-22 18:11:39 +00:00
Gabor Juhos
e9d8deaaed ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

SVN-Revision: 29847
2012-01-22 13:43:23 +00:00
Gabor Juhos
244c322d25 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29617
2011-12-28 08:43:43 +00:00
Gabor Juhos
98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
2011-12-28 08:43:32 +00:00
Gabor Juhos
723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
2011-12-27 16:56:30 +00:00
Gabor Juhos
7b1e525b56 ramips: initial support for Sitecom WL-351 v1 002
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 29604
2011-12-23 14:27:16 +00:00
Gabor Juhos
2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
2011-12-23 14:27:10 +00:00
Gabor Juhos
0c38d36488 ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

SVN-Revision: 29533
2011-12-14 20:51:26 +00:00
Gabor Juhos
43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Gabor Juhos
5ef6ec4a31 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

SVN-Revision: 29454
2011-12-05 17:27:07 +00:00
Gabor Juhos
4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
Gabor Juhos
3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
2011-12-01 22:48:54 +00:00
Gabor Juhos
80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
2011-12-01 22:48:51 +00:00
Gabor Juhos
4f6c58adac ramips: use /lib/functions/uci-defaults.sh
SVN-Revision: 29386
2011-12-01 22:48:48 +00:00
Gabor Juhos
569d8de6d6 ramips: simplify uci-defaults/network script
SVN-Revision: 29383
2011-12-01 22:48:45 +00:00
Gabor Juhos
66c9a351dd ramips: setup mac and network interfaces from separate functions
SVN-Revision: 29382
2011-12-01 22:48:43 +00:00
Gabor Juhos
2dd79d55c7 ramips: Sparklan wcr-150gn board fixes
* Fix partition sizes.
 * Add buttons and leds.
 * Register usb.
 * Remove unnecessary stuff from image Makefile
 * Fix rt2x00 eeprom extract.

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

SVN-Revision: 29380
2011-12-01 22:48:41 +00:00
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
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
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
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
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
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
75e2360ab3 ramips: add uci-defaults scripts to preconfigure USB LEDs
SVN-Revision: 28000
2011-08-15 14:12:00 +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
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
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
42d3a55347 ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
2011-07-28 10:56:21 +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
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
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
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
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
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
09aec474af ramips: add diag support
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
John Crispin
d95163658c adds ethernet driver, esw needs to be moved to swconfig, driver is missing rt288x support, not a platform device yet
SVN-Revision: 18128
2009-10-23 16:51:51 +00:00
Gabor Juhos
051c44e0c5 initial support for RT288x/RT305x
SVN-Revision: 17439
2009-08-30 19:15:51 +00:00