From patchwork Fri Jun 17 13:24:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 637053 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 3rWMVx20VKz9t1r for ; Sat, 18 Jun 2016 00:06:33 +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=WTR9t/R5; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 21E53B91CBD; Fri, 17 Jun 2016 16:01:18 +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, 17 Jun 2016 16:01:18 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 47867B9148C for ; Fri, 17 Jun 2016 15:25:02 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .open-mesh. - helo: .mail-wm0-f49.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 17 Jun 2016 15:25:01 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id m124so112693825wme.1 for ; Fri, 17 Jun 2016 06:25:01 -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=zsQgiYqtsEIOoAyYmfxrhxo+OXPEGe0bKzVYwnla4+c=; b=WTR9t/R5XouFO+Q4ArO8BDCtcqtdrRo2tuBAAXW1PrX6tTIxIRakGUxVhKue8T17nJ uwExZSAAi9NTDOU1aYJj56WD8lS9pSt05c4CB0VxMU5suRG8ReqMCOqMzvDmx/nT1YN7 hgJYJ50FHnLrhqM1BJi3IO/A2WPYnV2RovGsrORkT5kCD6cxeAoSHRKZ+3cAoQpnU9lf IeKj5lbTA7BQ/8nsLJXmVb9WB7nITrUot7TXHpH3Q3HJ/iCvR/qNyBWlE/kkDN7RYDjh Jnr3TwSsKXT0rmqcTZrBZSGm3QfHDr9Sl6mW/EitlEOfUBv8hFl1bzrkIS6oAxhyWBhz f/0A== 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=zsQgiYqtsEIOoAyYmfxrhxo+OXPEGe0bKzVYwnla4+c=; b=moV22w7sT6/RYvHBrCEMhBW2tlohR06BuylnFg64zZx4AAY7mECof5HY45CBuG12tV gqk6MH8fbJpN9bIz3oYFTr85XWWBRM+ELHojLWLIlHnl55g7POVZ24HoYeqkpw9g2rhn pYoA50DUL16cSF1j3oeVPVYi83nem8iIRJPSys4I9iEPWiJaOMMRK8ik/OHW1FpfYxBR OClbO01DrxeF2eGk/BdZIgb4BFISrtQDkZeVuJ/J6a7rPpqfL20cP95faUaiFpYtw0M8 pqhXhy1vmvGzSM/kzLSvDnEv1jbDDNay6tLBrAR9Smi0dvCmvSA54OVfMooTM3lvsPcM WtVQ== X-Gm-Message-State: ALyK8tK+OEc8VygcdR6oR8Df5zg7SfluSFOJ/bDSwAb0UaOHfXTXNocrII58eORkgWNV20jd X-Received: by 10.194.120.135 with SMTP id lc7mr2320566wjb.34.1466169901357; Fri, 17 Jun 2016 06:25:01 -0700 (PDT) Received: from sven-desktop.home.narfation.org (p2003007C6F7DD1FE04A0165FC0023ED9.dip0.t-ipconnect.de. [2003:7c:6f7d:d1fe:4a0:165f:c002:3ed9]) by smtp.gmail.com with ESMTPSA id z5sm3169521wme.5.2016.06.17.06.25.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Jun 2016 06:25:00 -0700 (PDT) From: Sven Eckelmann To: openwrt-devel@lists.openwrt.org Date: Fri, 17 Jun 2016 15:24:42 +0200 Message-Id: <1466169893-29962-2-git-send-email-sven.eckelmann@open-mesh.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1466169893-29962-1-git-send-email-sven.eckelmann@open-mesh.com> References: <1466169893-29962-1-git-send-email-sven.eckelmann@open-mesh.com> Subject: [OpenWrt-Devel] [PATCH CC 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: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Sven Eckelmann --- Based on following CC backports from 2016-05-19: * https://patchwork.ozlabs.org/patch/624172/ * https://patchwork.ozlabs.org/patch/624173/ * https://patchwork.ozlabs.org/patch/624174/ * https://patchwork.ozlabs.org/patch/624175/ * https://patchwork.ozlabs.org/patch/624176/ * https://patchwork.ozlabs.org/patch/624177/ * https://patchwork.ozlabs.org/patch/624178/ * https://patchwork.ozlabs.org/patch/624179/ * https://patchwork.ozlabs.org/patch/624180/ * https://patchwork.ozlabs.org/patch/624181/ * https://patchwork.ozlabs.org/patch/624182/ * https://patchwork.ozlabs.org/patch/624183/ * https://patchwork.ozlabs.org/patch/624184/ * https://patchwork.ozlabs.org/patch/624185/ * https://patchwork.ozlabs.org/patch/624186/ * https://patchwork.ozlabs.org/patch/624187/ * https://patchwork.ozlabs.org/patch/624188/ * https://patchwork.ozlabs.org/patch/624189/ * https://patchwork.ozlabs.org/patch/624190/ * https://patchwork.ozlabs.org/patch/624191/ * https://patchwork.ozlabs.org/patch/624192/ * https://patchwork.ozlabs.org/patch/624193/ * https://patchwork.ozlabs.org/patch/624194/ * https://patchwork.ozlabs.org/patch/624195/ * https://patchwork.ozlabs.org/patch/624196/ * https://patchwork.ozlabs.org/patch/624197/ * https://patchwork.ozlabs.org/patch/624198/ * https://patchwork.ozlabs.org/patch/624199/ * https://patchwork.ozlabs.org/patch/624200/ * https://patchwork.ozlabs.org/patch/624201/ * https://patchwork.ozlabs.org/patch/624202/ * https://patchwork.ozlabs.org/patch/624203/ * https://patchwork.ozlabs.org/patch/624200/ * https://patchwork.ozlabs.org/patch/624205/ It is a backport of the patch for trunk from 2016-05-20 which waits to be accepted as well: * https://patchwork.ozlabs.org/patch/624537/ target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 3 files changed, 5 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 631459f..9a6b4cf 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -171,6 +171,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/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 9a768cd..d297266 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -293,6 +293,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/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 92ee56d..230df0b 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -563,6 +563,9 @@ ar71xx_board_detect() { *"OM2P HSv2") name="om2p-hsv2" ;; + *"OM2P HSv3") + name="om2p-hsv3" + ;; *"OM2P LC") name="om2p-lc" ;;