From patchwork Fri May 20 16:03:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 624538 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rBCSf6vWZz9t7P for ; Sat, 21 May 2016 02:05:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=open-mesh-com.20150623.gappssmtp.com header.i=@open-mesh-com.20150623.gappssmtp.com header.b=KpqYrDf2; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id D2CA6B92329; Fri, 20 May 2016 18:04:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Fri, 20 May 2016 18:04:17 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9FFFFB92314 for ; Fri, 20 May 2016 18:04:08 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 20 May 2016 18:04:08 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id a17so179616741wme.0 for ; Fri, 20 May 2016 09:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UNVRIzBQbwbE92BkXvmCZPgsfEOuzufoOGHxodIjb6s=; b=KpqYrDf2v3fqaGvrrO+wSkdQtzcIkaUx2zLpUE3biITz3vYMiqCXFwObV4/c9b3tK3 +9jd6xL7c6W1aU7Noq7JQ10muwsqVsadZhBJYsIGDLvZMrbAOaTTg1X6VVDjXhBuX6B9 H8mCAhRfdslb0eN9wxT9KunQBvh3Dvcv2GjOCYKSdDSluD0agprmudZnpGvIQfCtJ+zw rTRj7I+D88i1q6cydy7agI79PkuDzYDwO1pMJR9S39/N6hHi51BxB7ip0Scu8ZJdk+9M yWeU3JsT3zs19cvNmn5IfQF2ct8SZPOQizJ+yufMdRIR0KI4IloJDCedXgwEqQnaR3iW G4qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UNVRIzBQbwbE92BkXvmCZPgsfEOuzufoOGHxodIjb6s=; b=EIK9J9uDWLIdJQXbuRKycoxt4D6xAn3c8cUT020QxXrSUmQAhJ2U1kFgXFXPIqA76F 9SQ1PG86UeDpn9Xew+uXVGi0vOlwTQKQPjnThIYPCA6/rBq9NocB0zu8VjUyNm9D3trx LsU9Kwg8qBr7a6wVp8n6BQoGcVKInTat7BXujkECHZ9dSUU6mhDgGxM2A5IRg5b259hD X6Ewz96KNY5APBgYgYYD258YYg8JhEIQr5zt1lgCfIUBWBYZPQHdHlsrRgsBRKrbxG9l WmwdgY4NwTJUh30yLYfCI5+5FkNEvQf0DJjsEwo1+gaPyq5pkcXEwOO2DIWVJJYm3SG8 POUw== X-Gm-Message-State: AOPr4FVOBsUIi8YbpE485t1R6FPc/y4lCFb5U9AgY7nHdY+06s5al82bK3um9lEScXiKxxW1 X-Received: by 10.194.81.106 with SMTP id z10mr4162037wjx.163.1463760247965; Fri, 20 May 2016 09:04:07 -0700 (PDT) Received: from sven-desktop.home.narfation.org (p579E7469.dip0.t-ipconnect.de. [87.158.116.105]) by smtp.gmail.com with ESMTPSA id kc2sm20435437wjb.5.2016.05.20.09.04.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 May 2016 09:04:07 -0700 (PDT) From: Sven Eckelmann To: openwrt-devel@lists.openwrt.org Date: Fri, 20 May 2016 18:03:50 +0200 Message-Id: <1463760240-12418-3-git-send-email-sven.eckelmann@open-mesh.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1463760240-12418-1-git-send-email-sven.eckelmann@open-mesh.com> References: <1463760240-12418-1-git-send-email-sven.eckelmann@open-mesh.com> Subject: [OpenWrt-Devel] [PATCH 03/13] ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sven Eckelmann MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Sven Eckelmann --- target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 1 + target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh index bc362a7..270ef40 100644 --- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh @@ -47,6 +47,7 @@ platform_check_image_target_openmesh() [ "$board" = "om2p-lc" ] && return 0 [ "$board" = "om2p-hs" ] && return 0 [ "$board" = "om2p-hsv2" ] && return 0 + [ "$board" = "om2p-hsv3" ] && return 0 echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" return 1 ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 9f8a14b..2e01419 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -321,6 +321,7 @@ platform_check_image() { om2pv2 | \ om2p-hs | \ om2p-hsv2 | \ + om2p-hsv3 | \ om2p-lc | \ om5p | \ om5p-an | \ @@ -579,6 +580,7 @@ platform_do_upgrade() { om2pv2 | \ om2p-hs | \ om2p-hsv2 | \ + om2p-hsv3 | \ om2p-lc | \ om5p | \ om5p-an | \