summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 3cd5c0f9a..9e09e6907 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -36,6 +36,9 @@ get_status_led() {
esr-9753)
status_led="esr-9753:orange:power"
;;
+ f5d8235-v1)
+ set_usb_led "f5d8235-v1:green:usb"
+ ;;
fonera20n)
status_led="fonera20n:green:power"
;;
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 47f7f016a..259c5d75f 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
@@ -41,6 +41,7 @@ case "$FIRMWARE" in
rt2x00_eeprom_extract "devconf" 0 272
;;
+ f5d8235-v1 | \
f5d8235-v2)
rt2x00_eeprom_extract "u-boot" 262144 272
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index f98162c6b..7e58ef043 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -35,6 +35,7 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
+ f5d8235-v1 | \
rt-n15)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "rtl8366s" "1" "1"
@@ -67,6 +68,7 @@ ramips_setup_macs()
argus-atp52b | \
b2c | \
+ f5d8235-v1 | \
nw718 | \
rt-n15 | \
wl-351)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index f05fc3d71..0a336eaec 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -65,6 +65,9 @@ ramips_board_name() {
*"ESR-9753")
name="esr-9753"
;;
+ *"F5D8235 v1")
+ name="f5d8235-v1"
+ ;;
*"F5D8235 v2")
name="f5d8235-v2"
;;