Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752678AbdHJGgz (ORCPT ); Thu, 10 Aug 2017 02:36:55 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:35022 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752330AbdHJGgu (ORCPT ); Thu, 10 Aug 2017 02:36:50 -0400 From: "Reizer, Eyal" To: Tony Lindgren CC: Kalle Valo , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "sebastian.reichel@collabora.co.uk" , Julian Calaby Subject: RE: [v6] wlcore: add missing nvs file name info for wilink8 Thread-Topic: [v6] wlcore: add missing nvs file name info for wilink8 Thread-Index: AQHTEOPJBSumwybcskWe/+8ZG1iekaJ7ph6QgAB/9ACAACTrJoAAGzEAgAC58SA= Date: Thu, 10 Aug 2017 06:35:46 +0000 Message-ID: <8665E2433BC68541A24DFFCA87B70F5B36422C65@DFRE01.ent.ti.com> References: <1502264840-10569-1-git-send-email-eyalr@ti.com> <8665E2433BC68541A24DFFCA87B70F5B36420E5A@DFRE01.ent.ti.com> <20170809172651.GA3934@atomide.com> <20170809211620.GF3934@atomide.com> In-Reply-To: <20170809211620.GF3934@atomide.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.167.188.94] x-exclaimer-md-config: f9c360f5-3d1e-4c3c-8703-f45bf52eff6b Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v7A6b0ET023428 Content-Length: 1945 Lines: 49 > > > > Sorry for top posting (mobile...) > > I have verified with system design and the data sheet that every wilink 6/7 > chip has a mac address in fuse so probably the board you have (pretty old, > right?) has this mac address in fuse. Maybe it was from very early batches? > Anyway I see no reason to change it. > > Anyway the calibrator can be used to store a different one into the nvs file > that will overide it. > > Well clearly at least this one does not have any valid hardware > mac address, the hardware mac address is broken with all zeroes. > Looks like it is not really all zeros but rather 00:00:00:00:00:01. I wonder if it is just a one board issue or not... > It seems that you can easily add a check for empty mac address, no? > And you already showed a version that falls back to a random mac > address. > Of course I can add a check for this but need to make sure it is not just one private case. Do you happen to have another omap3-evm and can check if this is a typical case For the wilink modules that were assembled on this EVM? I have not seen another module here that showed this issue and want to make Sure it is really a common issue before adding additional checks to the kernel. > The fact that is old does not change a thing, we still need to > support it no matter what the data sheet and your system design > says. A fix that breaks other things is not really a fix :) > Sure, just want to make sure we are not trying to add work around just for A couple of faulty devices. > > I have verified using a couple of com6 modules with an am335x-evm and > they had mac addresses read ok. > > Sounds like there are multiple variants of the wl12xx > available then. > I am trying to find out internally if there is a possibility that there were devices Produced in the past where the internal fuses were not programmed with a valid Address before being assembled into the modules. Best Regards, Eyal