Commit graph

41 commits

Author SHA1 Message Date
Gabor Juhos
b0449ccf04 ramips: W306R V2.0 - GPIO and Network fixes
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
       removing a line(default is correct), and reversed the
       Lan/wan layout LLLLW to WLLLL.

Added: image/Makefile now builds -factory.bin files. I am
       unsure of the accepted way to change the makefile but
       the name of the image needs to be 'linkn Kernel Image'
       in order to be accepted by the OEM firmware.

Known issue: eth0 (internal switch i think has mac address:
       00:11:22:33:44:55  but i think it should be same as
       the lan).
Known issue: Pressing the reset button has no noticable effect,
       i would expect the router to boot failsafe if being
       pressed on boot, reboot if short press and reset all
       to default if long press.

[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]

Signed-off-by: David Pearce <david_18051985@hotmail.com>

SVN-Revision: 31557
2012-05-02 19:17:59 +00:00
Gabor Juhos
1ab80c7817 ramips: rt305x: add support for the UR-336UN board
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31451
2012-04-23 16:56:06 +00:00
Gabor Juhos
fc88a363c0 ramips: rt305x: add initial support for Tenda W306R V2.0
More device info at: http://wiki.openwrt.org/toh/tenda/w306r

Signed-off-by: David Pearce <David_18051985@hotmail.com.au>
[juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages
from the profile, change broken GPIO number]

SVN-Revision: 31396
2012-04-21 12:30:40 +00:00
Jo-Philipp Wich
e9c4d3d1f2 ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
SVN-Revision: 31144
2012-03-29 16:03:04 +00:00
Gabor Juhos
e4e24c5512 ramips: rt305x: add add support for the Asus WL-330N board
[juhosg: reorder several lines in order to keep things sorted
alphabetically]

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31100
2012-03-27 19:29:57 +00:00
Gabor Juhos
c0974b46a5 ramips: merge identical switch configuration entries
SVN-Revision: 30688
2012-02-22 19:46:19 +00:00
Gabor Juhos
a9101a144c ramips: use unified switch identifiers in uci-defaults/network
SVN-Revision: 30687
2012-02-22 19:46:17 +00:00
Gabor Juhos
b6522f372f ramips: fix VLAN config of the RT-N15
SVN-Revision: 30686
2012-02-22 19:46:15 +00:00
Gabor Juhos
3489515a7e ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]

Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>

SVN-Revision: 30645
2012-02-19 16:44:49 +00:00
Florian Fainelli
3ceebbba14 add Ralink V11ST-FE board support
This board is equipped with:
- 4MB of NOR Flash
- 32MB of SDRAM
- IC+ IP175C switch
- one Mini-PCI slot

SVN-Revision: 30561
2012-02-15 21:13:11 +00:00
Gabor Juhos
99c019fb0d ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
2012-02-13 15:18:04 +00:00
Gabor Juhos
34a9ccf544 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30452
2012-02-11 15:31:18 +00:00
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
2012-02-11 15:11:36 +00:00
Gabor Juhos
59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
2012-02-11 15:11:34 +00:00
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
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
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
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
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
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
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