From 5278bbb19694dc08f06a53f48d5985dcf685bed1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 12 Jan 2014 12:07:40 +0000 Subject: ralink: add HLK-RM04 support https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39237 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 0c4ee13930..96665bdf7f 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 @@ -27,6 +27,7 @@ preinit_set_mac_address() { dir-620-a1 |\ esr-9753 |\ freestation5 |\ + hlk-rm04 | \ mpr-a1 | \ mpr-a2 | \ dir-300-b7 | \ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index d62002ea7c..24aad1f174 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -136,6 +136,9 @@ ramips_board_detect() { *"MoFi Network MOFI3500-3GN") name="mofi3500-3gn" ;; + *"HILINK HLK-RM04") + name="hlk-rm04" + ;; *"HAME MPR-A1") name="mpr-a1" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index babeaf2180..0230a1829b 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -48,6 +48,7 @@ platform_check_image() { freestation5 | \ hw550-3g | \ hg255d | \ + hlk-rm04 | \ ip2202 | \ m3 | \ m4 | \ -- cgit v1.2.3