From patchwork Thu Dec 18 16:41:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DrEagle X-Patchwork-Id: 422613 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 90BD8140082 for ; Fri, 19 Dec 2014 03:42:39 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 2F2A2281612; Thu, 18 Dec 2014 17:40:21 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 51115281612 for ; Thu, 18 Dec 2014 17:40:17 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -7.6 Received: from village.gk2.net (village.gk2.net [109.190.23.135]) by arrakis.dune.hu (Postfix) with ESMTP for ; Thu, 18 Dec 2014 17:40:15 +0100 (CET) Received: from BARATARIA.nation.gk2.net (VILLAGE.nation.gk2.net [192.168.1.254]) by village.gk2.net (Postfix) with ESMTPSA id 0EB4421126; Thu, 18 Dec 2014 17:42:06 +0100 (CET) From: Gerald Kerma To: openwrt-devel@lists.openwrt.org Date: Thu, 18 Dec 2014 17:41:58 +0100 Message-Id: <1418920918-21163-1-git-send-email-dreagle@doukki.net> X-Mailer: git-send-email 2.1.3 Cc: luka@openwrt.org Subject: [OpenWrt-Devel] [PATCH 1/1] kikwood: uboot-envtools: add plugs boards X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 --- 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" ;;