[OpenWrt-Devel] [PATCH] ramips: fix sysupgrade for asiarf awm003

Russell Senior russell at personaltelco.net
Sat Jul 26 06:35:01 EDT 2014


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 <russell at personaltelco.net>
---
 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 f9ab1e3..ff3c2a5 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 8ada58b..1ab3ab5 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.0.0


-- 
Russell Senior, President
russell at personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list