1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-02-19 16:44:49 +00:00
parent 2029a65c6e
commit f6ba1d4f8c
14 changed files with 141 additions and 1 deletions

View File

@@ -69,6 +69,9 @@ get_status_led() {
rt-n56u)
status_led="asus:blue:power"
;;
sl-r7205)
status_led="sl-r7205:green:status"
;;
v11st-fe)
status_led="v11st-fe:green:status"
;;

View File

@@ -60,6 +60,7 @@ case "$FIRMWARE" in
omni-emb | \
rt-n15 | \
rt-n56u | \
sl-r7205 | \
v11st-fe | \
v22rw-2x2 | \
w502u | \

View File

@@ -60,6 +60,9 @@ case $board in
nw718)
set_usb_led "nw718:amber:usb"
;;
sl-r7205)
set_wifi_led "rt2800pci-phy0::radio"
;;
v11st-fe)
set_wifi_led "rt2800pci-phy0::radio"
;;

View File

@@ -23,6 +23,7 @@ ramips_setup_interfaces()
argus-atp52b | \
b2c | \
nw718 | \
sl-r7205 | \
w502u | \
wr6202)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -99,6 +100,7 @@ ramips_setup_macs()
f5d8235-v1 | \
nw718 | \
rt-n15 | \
sl-r7205 | \
wl-351)
lan_mac=$(ramips_get_mac_binary factory 4)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)

View File

@@ -9,9 +9,10 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
bc2 |\
esr-9753 |\
nw718 |\
rt-n56u |\
esr-9753)
sl-r7205)
mac=$(ramips_get_mac_binary factory 4)
mac=$(maccalc or "$mac" "02:00:00:00:00:00")
ifconfig eth0 hw ether $mac 2>/dev/null

View File

@@ -104,6 +104,9 @@ ramips_board_name() {
*"RT-N56U")
name="rt-n56u"
;;
*"Skyline SL-R7205"*)
name="sl-r7205"
;;
*"Sparklan WCR-150GN")
name="wcr-150gn"
;;

View File

@@ -29,6 +29,7 @@ platform_check_image() {
rt-g32-b1 | \
rt-n15 | \
rt-n56u | \
sl-r7205 | \
w502u |\
wr6202 |\
v22rw-2x2 | \