Jump to content

Recommended Posts

Posted (edited)

Hi all, 

 

I am trying get wifi working on Nanopi neo air with the Mainline kernel v4.12.12. I enabled brcmfmac driver in the kernel.  Downloaded the corresponding firmware(brcmfmac43430-sdio.bin) for AP6212 from : https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/brcm.  I have applied patch to the device tree to enable wifi (https://www.spinics.net/lists/arm-kernel/msg563666.html)

 

I couldn't get the firmware loaded properly.  Here's the log. 

[   85.922929] brcmfmac: brcmf_attach Enter
[   85.922967] brcmfmac: brcmf_proto_attach Enter
[   85.922990] brcmfmac: brcmf_fweh_register event handler registered for PSM_WATCHDOG
[   85.923078] brcmfmac: brcmf_sdio_probe completed!!
[   85.923088] brcmfmac: brcmf_fw_get_firmwares_pcie enter: dev=mmc1:0001:1
[   85.923292] usbcore: registered new interface driver brcmfmac
[   85.930368] brcmfmac: brcmf_fw_request_code_done enter: dev=mmc1:0001:1
[   85.930520] brcmfmac: brcmf_fw_request_nvram_done enter: dev=mmc1:0001:1
[   85.930591] brcmfmac: brcmf_sdio_firmware_callback Enter: dev=mmc1:0001:1, err=0
[   85.930715] brcmfmac: brcmf_sdio_download_code_file Enter
[   85.952077] brcmfmac: brcmf_sdio_verifymemory Compare RAM dl & ul at 0x00000000; size=369577
[   85.988168] brcmfmac: brcmf_sdio_download_nvram Enter
[   85.988333] brcmfmac: brcmf_sdio_verifymemory Compare RAM dl & ul at 0x0007fd78; size=648
[   85.988478] brcmfmac: brcmf_chip_set_active Enter
[   86.999164] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   87.006519] brcmfmac: brcmf_sdio_firmware_callback failed: dev=mmc1:0001:1, err=0
[   87.006563] brcmfmac: brcmf_sdio_remove Enter
[   87.006568] brcmfmac: brcmf_detach Enter
[   87.006582] brcmfmac: brcmf_bus_change_state 0 -> 0
[   87.006589] brcmfmac: brcmf_sdio_bus_stop Enter
[   88.018990] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   88.026469] brcmfmac: brcmf_proto_detach Enter
[   88.026483] brcmfmac: brcmf_fweh_unregister event handler cleared for PSM_WATCHDOG
[   89.039090] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   89.086342] brcmfmac: brcmf_chip_set_passive Enter
[   89.087211] brcmfmac: brcmf_sdio_remove Disconnected

Should I be trying some different firmware? 

Any input is much appreciated. Thank you. 

Edited by chwe
splited, from original thread because different topic
Posted

Wi-fi worked after I copied the firmware file from the legacy kernel to the mainline kernel and renamed it to brcmfmac43430-sdio.bin

Please do let me know if there is a better solution. Thank you.

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines