2017-08-10 14:23:47

by Reizer, Eyal

[permalink] [raw]
Subject: RE: [v6] wlcore: add missing nvs file name info for wilink8

> >
>=20
> Sure, just want to make sure we are not trying to add work around just fo=
r
> A couple of faulty devices.
>=20
> > > 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 w=
ere
> devices
> Produced in the past where the internal fuses were not programmed with a
> valid
> Address before being assembled into the modules.
>=20

Seems like MAC address for wilink6/7 was added to devices that were produce=
d around Q3 of 2010=20
In case you still have this omap3-evm up and can just do a quick check for =
me as I don't have this board, can you try using the following command:

cat /sys/bus/platform/drivers/wl12xx_driver/wl12xx.0.auto/hw_pg_ver

and let me know what the output you get is?

Best Regards,
Eyal


2017-08-13 13:07:58

by Reizer, Eyal

[permalink] [raw]
Subject: RE: [v6] wlcore: add missing nvs file name info for wilink8

> > > >
> > >
> > > Sure, just want to make sure we are not trying to add work around jus=
t
> 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 the=
re were
> > > devices
> > > Produced in the past where the internal fuses were not programmed
> with a
> > > valid
> > > Address before being assembled into the modules.
> > >
> >
> > Seems like MAC address for wilink6/7 was added to devices that were
> produced around Q3 of 2010
> > In case you still have this omap3-evm up and can just do a quick check =
for
> me as I don't have this board, can you try using the following command:
> >
> > cat /sys/bus/platform/drivers/wl12xx_driver/wl12xx.0.auto/hw_pg_ver
> >
> > and let me know what the output you get is?
>=20
> Sure, my omap3-evm has hw_pg_ver set to 3.
>=20
Ok, you have a PG3.0 device. Mac address was added in PG3.1 so it explains
Why the mac address remains zero and not read from fuse.
Will use random mac in case it is read a zero.

Best Regards,
Eyal

2017-08-10 17:26:38

by Tony Lindgren

[permalink] [raw]
Subject: Re: [v6] wlcore: add missing nvs file name info for wilink8

* Reizer, Eyal <[email protected]> [170810 07:24]:
> > >
> >
> > 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.
> >
>
> Seems like MAC address for wilink6/7 was added to devices that were produced around Q3 of 2010
> In case you still have this omap3-evm up and can just do a quick check for me as I don't have this board, can you try using the following command:
>
> cat /sys/bus/platform/drivers/wl12xx_driver/wl12xx.0.auto/hw_pg_ver
>
> and let me know what the output you get is?

Sure, my omap3-evm has hw_pg_ver set to 3.

Regards,

Tony