From patchwork Fri May 20 16:03:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 624537 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 3rBCS655P8z9t6l for ; Sat, 21 May 2016 02:04:38 +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=rUAu8rH5; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 116E2B92320; Fri, 20 May 2016 18:04:11 +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:11 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 3D140B92310 for ; Fri, 20 May 2016 18:04:07 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 20 May 2016 18:04:07 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id n129so89218892wmn.1 for ; Fri, 20 May 2016 09:04:07 -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=7R7ow5F1COIk0Kxr9W+/LqFkEkZUWDzKocL9et+LZyA=; b=rUAu8rH5QPyOBDMVNVoXKxyL0iKTCLJTUgIJMb5cAWy4ixO22vUMNq/9FZi01b/uXc eYZfPAykLZ7vy0c1siNQCeHdmoLRDUU6jbrKIljs5RW4v6KFPnDdogPMtbHX7OzDWGmD EmVDhz2LxR7y/PlEQfJGUgGMWqGBuiYAu56cE6k4aEtNEEvz8dgA+qRj1y9OYDgV0/R+ JV1hexRqvk54D8oNRWE2FVyYHV5aMS7rvq4GEtmbswWqyeFQ0kjTYGB0PDxWrMale+fW ZE+OhSTKQMzjv/3x/HU9lxXdXnHIemu6q03QT+9/U02wzzak8LvRpGZ1tBT10DHn3PHU EBBw== 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=7R7ow5F1COIk0Kxr9W+/LqFkEkZUWDzKocL9et+LZyA=; b=axqt4ZcSJUQfx0ZgMKWW0woAhyL/4P0ftSa9sqiNkupRqK7QJ71+Ck74G4FxrUJaSf Tu9Ite40fGTgEXGs4fs8U0+lg6OZPVBNBnoWJ/hmqjaYZmNnUmXrXUxm06wgOy50TcZc uWqWaZnvrJpRReGSx1wpQtmfRgmNdbE2cWasan+k13yJ/z9RblPBUTAPeS5ln0EML5PE 5up0WB981gAOvCFoXyRZMIvtKc48ANI3cHRhLKDhtNXvmn48VRiVxak/Oc0qPUJREJz5 h0MScuEnmdSGH0YWwGX74seR2P+eEs/DQnQQYwpyUJkk8Nz63RqK3RlN1iYufohZUtsG ZIbQ== X-Gm-Message-State: AOPr4FXaaE4LBzQLR3TDbX88OnHyDOVUCNaALTkY/Op0l2ypg0eiCT0HMG1pBdMjWVSRir2F X-Received: by 10.28.127.81 with SMTP id a78mr4597462wmd.34.1463760246666; Fri, 20 May 2016 09:04:06 -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 on2sm20443425wjc.32.2016.05.20.09.04.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 May 2016 09:04:06 -0700 (PDT) From: Sven Eckelmann To: openwrt-devel@lists.openwrt.org Date: Fri, 20 May 2016 18:03:49 +0200 Message-Id: <1463760240-12418-2-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 02/13] ar71xx: add user-space support 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/etc/board.d/01_leds | 1 + target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 3 files changed, 5 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 39b21ca..e003ebaa 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -383,6 +383,7 @@ om2p | \ om2pv2 | \ om2p-hs | \ om2p-hsv2 | \ +om2p-hsv3 | \ om2p-lc) ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0" ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index f95a72d..ec89470 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -207,6 +207,7 @@ get_status_led() { om2pv2 | \ om2p-hs | \ om2p-hsv2 | \ + om2p-hsv3 | \ om2p-lc) status_led="om2p:blue:power" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d71b8ba..d00ef8e 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -640,6 +640,9 @@ ar71xx_board_detect() { *"OM2P HSv2") name="om2p-hsv2" ;; + *"OM2P HSv3") + name="om2p-hsv3" + ;; *"OM2P LC") name="om2p-lc" ;;