Commit Graph

52 Commits (27bb12af0f6efb44537e87e05d1309405d70f32b)

Author SHA1 Message Date
Gabor Juhos 02a01a16c7 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
SVN-Revision: 30529
13 years ago
Gabor Juhos 99c019fb0d ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
13 years ago
Gabor Juhos 34a9ccf544 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30452
13 years ago
Gabor Juhos 9cde29f1a7 ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19.

This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210

It's also worth noting that this board has a GPIO line to control the
power to the USB port.

[juhosg:
 - fix checkpatch warnings,
 - reorder Kconfig entry,
 - merge the sysupgrade patch,
 - add GPL header]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 30434
13 years ago
Gabor Juhos 59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos 809fe38e41 ramips fix f5d8235-v1 diag LED support
SVN-Revision: 29857
13 years ago
Gabor Juhos e9d8deaaed ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

SVN-Revision: 29847
13 years ago
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
13 years ago
Gabor Juhos 98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
13 years ago
Gabor Juhos 723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
13 years ago
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
13 years ago
Gabor Juhos 2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
13 years ago
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
13 years ago
Gabor Juhos 43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
13 years ago
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
13 years ago
Gabor Juhos 4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
13 years ago
Gabor Juhos cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
13 years ago
Gabor Juhos b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
13 years ago
Gabor Juhos 3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
13 years ago
Gabor Juhos 80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
13 years ago
Gabor Juhos 4f6c58adac ramips: use /lib/functions/uci-defaults.sh
SVN-Revision: 29386
13 years ago
Gabor Juhos 569d8de6d6 ramips: simplify uci-defaults/network script
SVN-Revision: 29383
13 years ago
Gabor Juhos 66c9a351dd ramips: setup mac and network interfaces from separate functions
SVN-Revision: 29382
13 years ago
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
13 years ago
Gabor Juhos 295e04084c ramips: setup bc2 mac addresses from the generic network script
SVN-Revision: 29377
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos 72e117ec79 ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
13 years ago
Gabor Juhos 9085b05d9e ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28052
13 years ago
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
13 years ago
Gabor Juhos ace8ce0845 ramips: use maccalc instead of hexdump + sed
SVN-Revision: 28007
13 years ago
Gabor Juhos bfc47ffead ramips: rt305x: fix mac addresses on the Netcore NW718 board
SVN-Revision: 28006
13 years ago
Gabor Juhos 75e2360ab3 ramips: add uci-defaults scripts to preconfigure USB LEDs
SVN-Revision: 28000
13 years ago
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
13 years ago
Gabor Juhos ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
13 years ago
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
13 years ago
Gabor Juhos 3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
13 years ago
Gabor Juhos 42d3a55347 ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
13 years ago
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
13 years ago
Gabor Juhos 1a4e7153b6 ramips: add diag support for RT-N15 and PWH2004
Also sort the board names alphabetically.

SVN-Revision: 27478
13 years ago
Gabor Juhos d6985f5b46 ramips: use the 'router' LED for diagnostic on the WHR-G300N board
SVN-Revision: 27477
13 years ago
Gabor Juhos c8010517d5 ramips: add hotplug script to extract eeprom for the rt2x00 driver
SVN-Revision: 27393
13 years ago
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
13 years ago
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
13 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 09aec474af ramips: add diag support
SVN-Revision: 20799
14 years ago