From patchwork Fri Aug 18 14:15:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 803257 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b="tW2tKMxy"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xYlW46SRtz9sDB for ; Sat, 19 Aug 2017 00:16:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0CF99895A3; Fri, 18 Aug 2017 14:16:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cLFS0hbyBo3N; Fri, 18 Aug 2017 14:16:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4F1958958D; Fri, 18 Aug 2017 14:16:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 36EA61C0622 for ; Fri, 18 Aug 2017 14:16:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 304AF8958D for ; Fri, 18 Aug 2017 14:16:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q1H0qta-GPHO for ; Fri, 18 Aug 2017 14:16:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 50B3E89589 for ; Fri, 18 Aug 2017 14:16:11 +0000 (UTC) Received: by mail-wr0-f175.google.com with SMTP id y96so68397876wrc.1 for ; Fri, 18 Aug 2017 07:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=3qtv111i6XXd28L6N+V8ZwK2mbbnsEhR+uyYjKSelk0=; b=tW2tKMxyeWYBecNGqtpyx+VTbYE4H8YYDwev9ZD7N0a56porAxW1iImE9iDm1b9cCO qTgLpkSqQmRABB4O4GiUM1zc5qcNDqFAi5mnor3Wv/vX0zVNmvgOY+lM4Ie6CddhimpP mVX/4U87CJ/1dq9KAcDQz6aaU0JapbHv5+JhBryQ8GgzOC9kKdcAyWTo+53q1Cqs0Q0z SAHWfWaxMAPfxrELsXbnBIEqteNZNjMxkzGlVRHoxZcPxTrbkl8188J6K4uxCfyvDagk 7LiosEqHBqYvPCVHDbKXtktnxnoowhOyT3PfA2zk+PTHCHLPRWZxD9RHWi+UaWNCv9Lb Qg0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=3qtv111i6XXd28L6N+V8ZwK2mbbnsEhR+uyYjKSelk0=; b=tCIkoaIYVCepmggqs0Ni+yhGEBDOdFVKNL6g8nztESbW8ufa9p83wbE+HXJT/IvpXj NihzA1imFTeyBYV6tlAiGvGj7bpkp8GigprLDSyID8UcAm/21QZX0eK6k/lKhajrHLpO eFefZsijG4y8X0hoEKOowEYgvmCjTaZeqU3vOvnlCvLZ1OwcWaF5HQSN29PHBQASQIT1 TXYjDnuDUOnioRDgBKKH6Qpm9q+deWMh2xM/tpnwN6wxeOI2GNWqmv/JAhzsiL73PMcM PThqbSS1Jt3NzI04NlrCB1x4CRD+8OowGG525zr8ZGjP7ndqlolcdp+Euuvvnll85/UY ZENg== X-Gm-Message-State: AHYfb5h/dng1UytZ7NN7SmdxrrVTYLZPnQwFQQUVMYbRPe6Cf5HjOojX OZsvC0FwVRfO/hubt5c= X-Received: by 10.223.152.19 with SMTP id v19mr6033640wrb.60.1503065769671; Fri, 18 Aug 2017 07:16:09 -0700 (PDT) Received: from t450s.lan (LMontsouris-657-1-10-89.w90-63.abo.wanadoo.fr. [90.63.251.89]) by smtp.googlemail.com with ESMTPSA id 16sm8359889wrx.26.2017.08.18.07.16.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Aug 2017 07:16:08 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Fri, 18 Aug 2017 16:15:52 +0200 Message-Id: <20170818141552.1749-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.14.1 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH] board/boundarydevices: add mac parameter for BD-SDMAC in bootscript X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Our new WiFi 802.11ac BT4.1 module (BD-SDMAC [1]) driver allows to override the wlan MAC address using a module parameter. Since its driver is now included in our external repository [2], update the bootscript so it sets the parameter for that driver too. As a FYI, $wlmac is based on Ethernet MAC address located in fuses. [1] https://boundarydevices.com/product/bd_sdmac_wifi/ [2] https://github.com/boundarydevices/buildroot-external-boundary Signed-off-by: Gary Bisson --- board/boundarydevices/common/6x_bootscript.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/board/boundarydevices/common/6x_bootscript.txt b/board/boundarydevices/common/6x_bootscript.txt index 2fc687aff4..af5822a88b 100644 --- a/board/boundarydevices/common/6x_bootscript.txt +++ b/board/boundarydevices/common/6x_bootscript.txt @@ -106,6 +106,7 @@ fi if itest.s "x" != "x${wlmac}" ; then setenv bootargs ${bootargs} wlcore.mac=${wlmac} + setenv bootargs ${bootargs} wlan.mac=${wlmac} fi if itest.s "x" != "x${gpumem}" ; then