Return-path: Received: from mail-wm0-f44.google.com ([74.125.82.44]:37727 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753107AbdF3Vfo (ORCPT ); Fri, 30 Jun 2017 17:35:44 -0400 Received: by mail-wm0-f44.google.com with SMTP id i127so57863605wma.0 for ; Fri, 30 Jun 2017 14:35:44 -0700 (PDT) Subject: Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data To: "Luis R. Rodriguez" Cc: Li@suse.de, Yi , Johannes Berg , Pavel Machek , Daniel Wagner , Tom Gundersen , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Greg Kroah-Hartman , Kalle Valo , David Gnedt , Tony Lindgren , Sebastian Reichel , Ivaylo Dimitrov , Aaro Koskinen , Takashi Iwai , AKASHI Takahiro , David Woodhouse , Bjorn Andersson , Grazvydas Ignotas , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, =?UTF-8?Q?Micha=c5=82_Kazior?= References: <0fd90416-f33c-a6be-14fd-5e964583e9cb@broadcom.com> <20170515231339.GF17314@wotan.suse.de> <0c43c825-df2a-b427-4b67-f17fd644667f@broadcom.com> <20170623215319.GU21846@wotan.suse.de> From: Arend van Spriel Message-ID: (sfid-20170630_233619_104314_03F8FADB) Date: Fri, 30 Jun 2017 23:35:41 +0200 MIME-Version: 1.0 In-Reply-To: <20170623215319.GU21846@wotan.suse.de> Content-Type: text/plain; charset=utf-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 23-06-17 23:53, Luis R. Rodriguez wrote: > On Tue, May 16, 2017 at 10:41:08AM +0200, Arend Van Spriel wrote: >> On 16-5-2017 1:13, Luis R. Rodriguez wrote: >>> Since no upstream delta is needed for firmwared I'd like to first encourage >>> evaluating the above. While distributions don't carry it yet that may be seen as >>> an issue but since what we are looking for are corner cases, only folks needing >>> to deploy a specific solution would need it or a custom proprietary solution. >> >> Ok. I will go try and run firmwared in OpenWrt on a router platform. >> Have to steal one from a colleague :-p Will study firmwared. > > Arend, curious how this effort goes. Its important to me as we know then that > if this works its a good approach to recommend moving forward which should also > prove less complex than that soup we had with the custom fallback stuff. Hi Luis, So I looked at firmwared and we basically need to extend it. For our router platform we need to obtain nvram calibration data from an MTD partition which contains the raw data, ie. no file-system on it. So firmwared would need some sort of configuration to map a particular firmware file to some action obtaining the data like kicking off some mtd-utils in my case. Regards, Arend