SDIO WIFI (brcm43430)

1,281 views
Skip to first unread message

Vishnu Patekar

unread,
Jan 18, 2016, 8:30:43 PM1/18/16
to Arend van Spriel, linux...@googlegroups.com
Hello Arend,

I've A83T BPI-m3 board, which includes AP6212(brcm43430). I'm trying
to make it work for mainline linux and brcm driver.

After enabling mmc1, It could read vendor: 0x02d0 device: 0xa9a6. from
/sys/bus/mmc/devices/mmc1:0001/mmc1:0001:1

BRCM driver loads the firmware files, however, it gives below errors
and wlan0 is not available:

dmesg | grep brcm
[ 1.187459] brcmfmac: brcmf_of_probe: interrupt could not be mapped
[ 1.194419] brcmfmac: F1 signature read @0x18000000=0x1530a9a6
[ 1.197807] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive
strength init done for chip 43430 rev 0 pmurev 24
[ 2.310138] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000):
clkctl 0x50
[ 3.319433] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000):
clkctl 0x50
[ 4.349022] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000):
clkctl 0x50


There are no brcm43430 firmware files at
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/brcm
So, used firmware:
https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm80211/brcm/brcmfmac43430-sdio.bin
and .txt.

Could you please help me in this regard ?


Regards,
Vishnu

Arend van Spriel

unread,
Jan 19, 2016, 4:23:34 AM1/19/16
to Vishnu Patekar, linux...@googlegroups.com, brcm80211-dev-list, hans de Goede
On 19-1-2016 2:30, Vishnu Patekar wrote:
> Hello Arend,
>
> I've A83T BPI-m3 board, which includes AP6212(brcm43430). I'm trying
> to make it work for mainline linux and brcm driver.
>
> After enabling mmc1, It could read vendor: 0x02d0 device: 0xa9a6. from
> /sys/bus/mmc/devices/mmc1:0001/mmc1:0001:1
>
> BRCM driver loads the firmware files, however, it gives below errors
> and wlan0 is not available:
>
> dmesg | grep brcm
> [ 1.187459] brcmfmac: brcmf_of_probe: interrupt could not be mapped

Not sure whether this might cause an issue. Could be a devicetree issue.

Regards,
Arend

Vishnu Patekar

unread,
Jan 19, 2016, 8:57:45 AM1/19/16
to Arend van Spriel, linux...@googlegroups.com, brcm80211-dev-list, hans de Goede
Hello Arend,

On Tue, Jan 19, 2016 at 5:20 PM, Arend van Spriel <ar...@broadcom.com> wrote:
> On 19-1-2016 2:30, Vishnu Patekar wrote:
>> Hello Arend,
>>
>> I've A83T BPI-m3 board, which includes AP6212(brcm43430). I'm trying
>> to make it work for mainline linux and brcm driver.
>>
>> After enabling mmc1, It could read vendor: 0x02d0 device: 0xa9a6. from
>> /sys/bus/mmc/devices/mmc1:0001/mmc1:0001:1
>>
>> BRCM driver loads the firmware files, however, it gives below errors
>> and wlan0 is not available:
>>
>> dmesg | grep brcm
>> [ 1.187459] brcmfmac: brcmf_of_probe: interrupt could not be mapped
>
> Not sure whether this might cause an issue. Could be a devicetree issue.

Yes, it was a device tree issue, it's now fixed.

still, it's not working,
[ 2.319200] brcmfmac: brcmf_sdio_firmware_callback failed:
dev=mmc1:0001:1, err=0
.
.....
[ 4.405585] brcmfmac: brcmf_sdio_remove Disconnected

detailed log with brcmfmac.debug=30, :http://pastebin.com/PbJYxFhP
Reply all
Reply to author
Forward
0 new messages