diff options
author | John Crispin <john@openwrt.org> | 2014-06-02 14:43:35 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-02 14:43:35 +0000 |
commit | 60ec05fdcbcb3dea5e6cf1f47cd1e340807c08f3 (patch) | |
tree | 716e1db5441abc79c984ffb288ecafad3c5b36ee /target/linux/ar71xx/base-files | |
parent | 897b2e4b98cc5861c2bf861cba0196c59f8e5200 (diff) | |
download | mtk-20170518-60ec05fdcbcb3dea5e6cf1f47cd1e340807c08f3.zip mtk-20170518-60ec05fdcbcb3dea5e6cf1f47cd1e340807c08f3.tar.gz mtk-20170518-60ec05fdcbcb3dea5e6cf1f47cd1e340807c08f3.tar.bz2 |
ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.
Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
SVN-Revision: 40969
Diffstat (limited to 'target/linux/ar71xx/base-files')
6 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 33ffee7..d555c5b 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -48,6 +48,7 @@ get_status_led() { ;; dir-505-a1 |\ dir-600-a1 |\ + dir-615-e1 |\ dir-615-e4) status_led="d-link:green:power" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 4338a49..849fd56 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -85,6 +85,7 @@ dir-505-a1) ;; dir-600-a1|\ +dir-615-e1|\ dir-615-e4) ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1" ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 62373e4..e8268ca 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -287,6 +287,7 @@ ap96 |\ airrouter |\ dir-600-a1 |\ dir-615-c1 |\ +dir-615-e1 |\ dir-615-e4 |\ ja76pf |\ mynet-n600 |\ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration index 718a924..093fbc1 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration @@ -58,6 +58,7 @@ ap96|\ airrouter|\ dir-600-a1|\ dir-615-c1|\ +dir-615-e1|\ dir-615-e4|\ ja76pf|\ rb-750|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index a136f4a..8682812 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -280,6 +280,9 @@ ar71xx_board_detect() { *"DIR-600 rev. A1") name="dir-600-a1" ;; + *"DIR-615 rev. E1") + name="dir-615-e1" + ;; *"DIR-615 rev. E4") name="dir-615-e4" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 551d3ce..9315ac0 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -146,6 +146,7 @@ platform_check_image() { dir-505-a1 | \ dir-600-a1 | \ dir-615-c1 | \ + dir-615-e1 | \ dir-615-e4 | \ dir-825-c1 | \ dir-835-a1 | \ |