diff options
author | John Crispin <blogic@openwrt.org> | 2015-10-05 10:25:47 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-10-05 10:25:47 +0000 |
commit | 15b0581b58416e7692d8d4e51b65e1c494d2bc57 (patch) | |
tree | 707d8cd8e915bb73951d9d017e0db0e14225df5c /target/linux/ramips/base-files/lib | |
parent | eda4f8b66414e2ddfacd33596a23f6c48d71e31f (diff) | |
download | master-187ad058-15b0581b58416e7692d8d4e51b65e1c494d2bc57.tar.gz master-187ad058-15b0581b58416e7692d8d4e51b65e1c494d2bc57.tar.bz2 master-187ad058-15b0581b58416e7692d8d4e51b65e1c494d2bc57.zip |
ramips: Add base-files for HiWiFi HC5x61 models
HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them.
The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval.
v3 fix
1: Fixed model order
2: Remove manufacturer name from model name
3: Use a hacky but prettier way to get mac address.
Signed-off-by: Xiaoning Kang <kangxn@163.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47111 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 9 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index d242235564..b89a88c27c 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -169,6 +169,15 @@ ramips_board_detect() { *"FreeStation5") name="freestation5" ;; + *"HC5661") + name="hc5661" + ;; + *"HC5761") + name="hc5761" + ;; + *"HC5861") + name="hc5861" + ;; *"HG255D") name="hg255d" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 2f6c6246ab..44d41c1406 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -55,6 +55,7 @@ platform_check_image() { firewrt|\ fonera20n|\ freestation5|\ + hc5*61|\ hg255d|\ hlk-rm04|\ hpm|\ |