From 936511304079e29d09b385ee3fbd1a233465c198 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 12 Aug 2012 12:48:24 +0000 Subject: ramips: add D-Link DIR-620 A1 support Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser SVN-Revision: 33142 --- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 3 files changed, 5 insertions(+) (limited to 'target/linux/ramips/base-files/lib') 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 f701b7e075..a6c88ed961 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 @@ -13,6 +13,7 @@ preinit_set_mac_address() { ifconfig eth0 hw ether $mac 2>/dev/null ;; bc2 |\ + dir-620-a1 |\ esr-9753 |\ freestation5 |\ nw718 |\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 0089e0ddcc..8dcda484a6 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -80,6 +80,9 @@ ramips_board_name() { *"DIR-600 B2") name="dir-600-b2" ;; + *"DIR-620 A1") + name="dir-620-a1" + ;; *"DAP-1350") name="dap-1350" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index eb9a0d1206..2548e1d6da 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -21,6 +21,7 @@ platform_check_image() { dir-300-b1 | \ dir-600-b1 | \ dir-600-b2 | \ + dir-620-a1 | \ dap-1350 | \ esr-9753 | \ fonera20n | \ -- cgit v1.2.3