[yocto] [meta-chip] Wifi driver on CHIP boards?

Andrei Gherzan andrei at gherzan.ro
Fri Feb 23 05:07:31 PST 2018


On Thu, Feb 22, 2018 at 8:34 PM, Drew Moseley <drew.moseley at northern.tech>
wrote:

> On 09/04/2017 06:17 AM, Andrei Gherzan wrote:
>
> On Wed, Aug 30, 2017 at 11:44 PM, Drew Moseley <drew.moseley at northern.tech
> > wrote:
>
>> Has anyone managed to use the onboard WIFI for the CHIP boards in the
>> current meta-chip repo?  I added the kernel-module-r8723bs and rtl8723bs
>> packages to my build and setup a wpa_supplicant.conf that works on other
>> boards but I get error messages about power save. A few google searches
>> suggested some power save changes but nothing I tried worked.
>>
>> root at chip:~# ifup wlan0
>> Successfully initialized wpa_supplicant
>> [  172.875000] rtl8723bs: accquire FW from file:rtlwifi/rtl8723bs_nic.bin
>> [  174.225000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
>> [  174.235000] RTL8723BS: set bssid:00:00:00:00:00:00
>> ioctl[SIOCSIWAP]: Operation not permitted
>> udhcpc (v1.24.1) started
>> Sending discover...
>> [  175.855000] RTL8723BS: nolinked power save enter
>> Sending discover...
>> Sending discover...
>> No lease, forking to background
>> root at chip:~# [  184.580000] RTL8723BS: nolinked power save leave
>> [  184.800000] RTL8723BS: set bssid:20:c9:d0:18:7a:95
>> [  184.810000] RTL8723BS: set ssid [caribbean] fw_state = 0x00000088
>> [  194.605000] RTL8723BS: nolinked power save enter
>> [  195.850000] RTL8723BS: nolinked power save leave
>> [  196.060000] RTL8723BS: set bssid:00:00:00:00:00:00
>>
>>
> We use the same packages in resinos to add wifi support and everything
> seems sane. However we only tested with NM not directly with wpa.
>
> ref: https://github.com/resin-os/resin-chip/pull/23
>
> Andrei
>
>
> Andrei,
>
> Are you certain this is working in resinos currently?  I modified my
> config to use NetworkManager and it has similar behavior.  The "nolinked
> power save" messages are evidently debug so I ignore them but I do get the
> following:
>
> [  246.050000] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state =
> 0x00000008
> [  246.145000] RTL8723BS: start auth
> [  246.150000] RTL8723BS: auth success, start assoc
> [  249.225000] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state =
> 0x00000008
> [  249.420000] RTL8723BS: start auth
> [  249.430000] RTL8723BS: auth success, start assoc
> [  252.885000] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state =
> 0x00000008
> [  253.105000] RTL8723BS: start auth
> [  253.115000] RTL8723BS: auth success, start assoc
> [  257.075000] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state =
> 0x00000008
> [  257.305000] RTL8723BS: start auth
> [  257.315000] RTL8723BS: auth success, start assoc
> [  268.225000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
>
> and then no connection.  I even disabled encryption temporarily on my wifi
> and was unable to connect.
>
> I tried to build a resinos image for CHIP to try it but was unsuccessful.
> Do you have any binaries I can try?
>
> Also, I installed the stock debian from flash.getchip.com and it was able
> to connect so my hardware seems solid.
>

We dropped currently the work on getting chip support on resin. Or at least
we postponed it so I don't have any binaries. But at that point wifi was
working. I haven't played with the board lately so can't say too much about
it.

One thing I would do is:
1. compare the wifi firmware on yocto and debian ones
2. check the driver it uses (both the same?)
3. kernel versions?

--
Andrei Gherzan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180223/2fadcb75/attachment.html>


More information about the yocto mailing list