Discussion

AP6181 nvram config for Banana Pro

8 8318
wigyori  
Hi,

Can someone provide an nvram config file for the AP6181 on the Banana Pro? AFAIK that's needed to get the brcmfmac module up on a 3.18 kernel - the file is along the lines of http://dl.cubieboard.org/public/ ... 10/nvram_ap6210.txt .

Thanks,
-w-
We modified the ap6210 driver for Pro to make it work for ap6181, because ap6210 has the same wifi configuration with ap6181, so we can add bluetooth easily.

Attachment is the firmware for ap6181 (ap6210) we used on Pro.
ap6210.zip (434.24 KB, Downloads: 494)

wigyori  
Thanks Tony. Can you please also upload a schematic of the Banana Pro board to see how the AMPAK module is hooked up, and the code changes to the original ap6210 driver ?

Thanks,
-w-

hotice  
tony_zhang replied at Mon Jan 5, 2015 19:23
We modified the ap6210 driver for Pro to make it work for ap6181, because ap6210 has the same wifi c ...



Is it right to upgrade firmware by putting xxxx.bin file into /lib/firmware (openwrt)?

Thanks.

Did you get the brcmfmac driver to work? Do I have to rename the firmware somehow? I put it in /lib/firmware (even renaming the files to brcmfmac-sdio.bin/txt) but the driver won't load. :-(

a1d3s  
Mr_Blonde use dmesg ti will show you something like brmfac48364-sdio.bin not found , if you got the right name then rename the nvram.txt and the bin without p2p/ap to brfmac*-sdio.bin

Edited by Mr_Blonde at Wed Feb 11, 2015 02:00
a1d3s replied at Wed Feb 11, 2015 00:27
Mr_Blonde use dmesg ti will show you something like brmfac48364-sdio.bin not found , if you got the  ...



Thanks for your reply. But it's kind of my problem that nothing is showing up in dmesg. When I load the module, it loads without any error. The wlan0 interface, however, isn't coming up.

Is there another way to check whats going on?

Here is the output and dmesg:
  1. root@bananapi:~# lsmod
  2. Module                  Size  Used by
  3. bnep                    9169  -2
  4. cpufreq_userspace       1075  -2
  5. hidp                   11926  -2
  6. rfcomm                 30244  -2
  7. hci_uart               13962  -2
  8. bluetooth             282486  -2
  9. root@bananapi:~# modprobe brcmfmac
  10. root@bananapi:~# lsmod
  11. Module                  Size  Used by
  12. brcmfmac              185800  -2
  13. brcmutil                4680  -2
  14. bnep                    9169  -2
  15. cpufreq_userspace       1075  -2
  16. hidp                   11926  -2
  17. rfcomm                 30244  -2
  18. hci_uart               13962  -2
  19. bluetooth             282486  -2
  20. root@bananapi:~# dmesg | grep brcm
  21. [  426.898764] usbcore: registered new interface driver brcmfmac
  22. root@bananapi:~# iwconfig
  23. lo        no wireless extensions.

  24. eth0      no wireless extensions.

  25. bond0     no wireless extensions.

  26. tunl0     no wireless extensions.

  27. root@bananapi:~#
Copy the Code
PS: I am using a Banana Pro. So the Wifi Chip is present. :-) When using the current (15.1) Bananian image, wlan0 shows up and is usable.


EDIT: Even hwinfo gives no hint about the Wifi chip..
  1. root@bananapi:~# hwinfo | grep brcm
  2.   <6>[  426.898764] usbcore: registered new interface driver brcmfmac
  3.         brcmfmac: module = brcmfmac
  4.    brcmfmac_sdio: module = brcmfmac
  5.   brcmfmac 185800 - - Live 0xbf083000
  6.   brcmutil 4680 - - Live 0xbf07e000
  7. root@bananapi:~# hwinfo | grep BCM
  8. root@bananapi:~# hwinfo | grep 0xA962
  9. root@bananapi:~#
Copy the Code
(device id taken from this page: https://wireless.wiki.kernel.org/en/users/Drivers/brcm80211)

How do i add theres drivers i tryed few options and it seems it didnt work correctly

Arne.F  
To use the brcmfmac driver you need also a matching dtb file for bananapro because in this file is the sdhci port with the ap6181 defined.
http://git.ipfire.org/?p=people/ ... ac3560f9e9b8d0a845f (line 48-66) must be present...

The nvram.txt must be copied to lib/firmware/brcm/brcmfmac43362-sdio.txt

I have not got it really stable and Hans de Goede has similar Problems on cubieboard. (also with newest kernel + patches)

You have to log in before you can reply Login | Sign Up

Points Rules