diff options
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 29d3c31275..2f83f221f1 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -195,6 +195,10 @@ kn_rf|\ kng_rc) set_wifi_led "$boardname:green:wifi" ;; +lava,lr-25g001) + ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "wlan1" + ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "wlan0" + ;; linkits7688) ucidef_set_led_wlan "wifi" "wifi" "linkit-smart-7688:orange:wifi" "phy0tpt" ;; diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 6d5db45c50..043607df5b 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -353,6 +353,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "4:lan" "6@eth0" ;; + lava,lr-25g001|\ tew-691gr|\ tew-692gr|\ wlr-6000) @@ -475,7 +476,8 @@ ramips_setup_macs() ;; dlink,dwr-116-a1|\ dlink,dwr-118-a2|\ - dlink,dwr-921-c1) + dlink,dwr-921-c1|\ + lava,lr-25g001) wan_mac=$(jboot_config_read -m -i $(find_mtd_part "config") -o 0xE000) lan_mac=$(macaddr_add "$wan_mac" 1) ;; 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 711b8388ba..aee446d156 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 @@ -56,7 +56,8 @@ case "$FIRMWARE" in case $board in dlink,dwr-116-a1|\ dlink,dwr-118-a2|\ - dlink,dwr-921-c1) + dlink,dwr-921-c1|\ + lava,lr-25g001) wan_mac=$(jboot_config_read -m -i $(find_mtd_part "config") -o 0xE000) wifi_mac=$(macaddr_add "$wan_mac" 1) jboot_eeprom_extract "config" 0xE000 diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index f54f2fbe77..ecc4650f68 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -295,7 +295,8 @@ platform_check_image() { dlink,dwr-116-a1|\ dlink,dwr-118-a2|\ dlink,dwr-921-c1|\ - dwr-512-b) + dwr-512-b|\ + lava,lr-25g001) [ "$magic" != "0404242b" ] && { echo "Invalid image type." return 1 |