[OpenWrt-Devel] [PATCH 1/1] kikwood: uboot-envtools: add plugs boards

Gerald Kerma dreagle at doukki.net
Thu Dec 18 11:41:58 EST 2014


Add some kirkwood plugs to uboot-envtools
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Changes in v2
- fix missing defines in Makefile

Signed-off-by: Gerald Kerma <dreagle at doukki.net>
---
 package/boot/uboot-envtools/files/kirkwood       |  5 ++++-
 target/linux/kirkwood/base-files/lib/kirkwood.sh | 12 ++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/package/boot/uboot-envtools/files/kirkwood b/package/boot/uboot-envtools/files/kirkwood
index b15b8f9..c182417 100644
--- a/package/boot/uboot-envtools/files/kirkwood
+++ b/package/boot/uboot-envtools/files/kirkwood
@@ -17,7 +17,10 @@ case "$board" in
 "ea3500" | \
 "ea4500" | \
 "ib62x0" | \
-"pogo_e02")
+"guruplug-server-plus" | \
+"pogo_e02" | \
+"sheevaplug" | \
+"sheevaplug-esata" )
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
 	;;
 esac
diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh
index 323a997..962b09a 100755
--- a/target/linux/kirkwood/base-files/lib/kirkwood.sh
+++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh
@@ -37,6 +37,18 @@ kirkwood_board_detect() {
 		name="ea4500"
 		;;
 
+	"Globalscale Technologies Guruplug Server Plus")
+		name="guruplug-server-plus"
+		;;
+
+	"Globalscale Technologies SheevaPlug")
+		name="sheevaplug"
+		;;
+
+	"Globalscale Technologies eSATA SheevaPlug")
+		name="sheevaplug-esata"
+		;;
+
 	*)
 		name="generic"
 		;;
-- 
2.1.3
_______________________________________________
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