[LEDE-DEV] Cubietruck / WiFi:brcmfmac / SDIO / firmware

Bastian Bittorf bb at npl.de
Tue Nov 8 01:53:53 PST 2016


* Mathias Kresin <dev at kresin.me> [08.11.2016 10:44]:
> 2016-11-08 8:54 GMT+01:00 Bastian Bittorf <bb at npl.de>:
> > with recent trunk r2116 i cannot get WiFi working.
> > First it only seems the SDIO-support must be activated
> > CONFIG_BRCMFMAC_SDIO=y (which is not!) but even with this i see:
> >
> > root at lede:~ :) dmesg | grep -i brcm
> > [   11.319793] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.bin failed with error -2
> > [   11.329540] brcmfmac mmc1:0001:1: Falling back to user helper
> > [   11.345082] firmware brcm!brcmfmac43362-sdio.bin: firmware_loading_store: map pages failed
> 
> Package brcmfmac-firmware-43362-sdio is installed?

now it is, i already found it digging through the makefiles:
(it's just the dependency missing in the makefile)

root at CubieNAS:~ :) dmesg | grep -i brc 
[   15.018376] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[   15.047205] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[   15.059210] usbcore: registered new interface driver brcmfmac

root at CubieNAS:~ :) uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='11'
wireless.radio0.frag='off'
wireless.radio0.path='platform/soc at 01c00000/1c12000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.hwmode='11g'
wireless.radio0.chanbw='20'
wireless.radio0.distance='100'
wireless.radio0.beacon_int='250'
wireless.radio0.txpower='10'
wireless. at wifi-iface[0]=wifi-iface
wireless. at wifi-iface[0].device='radio0'
wireless. at wifi-iface[0].network='wlan'
wireless. at wifi-iface[0].mode='ap'
wireless. at wifi-iface[0].disabled='0'
wireless. at wifi-iface[0].disassoc_low_ack='1'
wireless. at wifi-iface[0].max_inactivity='30'
wireless. at wifi-iface[0].mcast_rate='1000'
wireless. at wifi-iface[0].ssid='weimar.freifunk.net'

it does not matter if 'ap' or 'ibss', the dev 'wlan0' keep down.
when doing 'ip link set dev wlan0 up' and 'if dev wlan0 scan' i get
a large/fine list, so it receives...

but when bringing the interface up the kernel says:
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

and yes:
oot at CubieNAS:~ :) ip address show dev wlan0
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN qlen 1000
    link/ether 6c:fa:a7:16:12:5a brd ff:ff:ff:ff:ff:ff

bye, bastian



More information about the Lede-dev mailing list