diff options
Diffstat (limited to 'target/linux/ramips/base-files')
7 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index b167c520bd..26f0d1f0af 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -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" ;; diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 6d90c25975..eb756a5e5f 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -60,6 +60,7 @@ case "$FIRMWARE" in omni-emb | \ rt-n15 | \ rt-n56u | \ + sl-r7205 | \ v11st-fe | \ v22rw-2x2 | \ w502u | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds index 891a1a7b3c..d8f3c0cba6 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/leds @@ -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" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index a36341ca15..2b8c1ab254 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -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) diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 9f5c02446c..66eb6b98a4 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -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 diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 07bdf16051..728f525d68 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -104,6 +104,9 @@ ramips_board_name() { *"RT-N56U") name="rt-n56u" ;; + *"Skyline SL-R7205"*) + name="sl-r7205" + ;; *"Sparklan WCR-150GN") name="wcr-150gn" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 2bcfa4b821..a2f351353c 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -29,6 +29,7 @@ platform_check_image() { rt-g32-b1 | \ rt-n15 | \ rt-n56u | \ + sl-r7205 | \ w502u |\ wr6202 |\ v22rw-2x2 | \ |