From 04e4ff282ad359485afe34deb658f36ffb34c16f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 3 Aug 2014 11:13:52 +0000 Subject: ramips:support Lenovo AC1200 Wireless router Lenovo AC1200 series has two types, Y1 and Y1S. Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port. Signed-off-by: Lintel SVN-Revision: 41961 --- target/linux/ramips/base-files/lib/ramips.sh | 6 ++++++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/lib') diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index a6dcbca..a24842e 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -325,6 +325,12 @@ ramips_board_detect() { *"ZBT WR8305RT") name="wr8305rt" ;; + *"Lenovo Y1") + name="y1" + ;; + *"Lenovo Y1S") + name="y1s" + ;; *) name="generic" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index a39596d..08b3745 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -96,7 +96,9 @@ platform_check_image() { wrtnode |\ x5 |\ x8 |\ - zbt-wa05) + zbt-wa05 |\ + y1 |\ + y1s) [ "$magic" != "27051956" ] && { echo "Invalid image type." return 1 -- cgit v1.1