diff options
author | John Crispin <john@openwrt.org> | 2014-01-12 12:07:40 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-01-12 12:07:40 +0000 |
commit | 3a64ddd0a18efe3c8fbf65579dca58672bf04fb1 (patch) | |
tree | a66a25850d99aab74b4096857a96b2cabfb6bbc5 /target/linux/ramips/base-files/lib | |
parent | aa2be01076ad95910548baf5c45dd6fe217ce485 (diff) | |
download | upstream-3a64ddd0a18efe3c8fbf65579dca58672bf04fb1.tar.gz upstream-3a64ddd0a18efe3c8fbf65579dca58672bf04fb1.tar.bz2 upstream-3a64ddd0a18efe3c8fbf65579dca58672bf04fb1.zip |
ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39237
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 1 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 5 insertions, 0 deletions
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 | \ |