From 08fb5fb326b3c39951f50472889ec7b66fd09e41 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 26 Jul 2014 20:35:46 +0000 Subject: [PATCH] ramips: fix sysupgrade for asiarf awm003 Since the earlier r41797 change, the board_name for awm003 has been miscalculated, and sysupgrade has been broken. This seems to fix it. Signed-off-by: Russell Senior SVN-Revision: 41837 --- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index f9ab1e33bafe..ff3c2a5e5deb 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -55,6 +55,9 @@ ramips_board_detect() { *"AsiaRF AWM002 EVB") name="awm002-evb" ;; + *"AsiaRF AWM003 EVB") + name="awm003-evb" + ;; *"AsiaRF AWAPN2403") name="awapn2403" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 8ada58b296c3..1ab3ab510f3a 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -26,6 +26,7 @@ platform_check_image() { ar725w | \ asl26555 | \ awm002-evb | \ + awm003-evb | \ awapn2403 | \ bc2 | \ broadway | \ -- 2.30.2