AP6181 nvram config for Banana Pro
8
11594
|
|
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: 501)
|
|
|
|
|
|
|
|
|
|
|
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- |
|
|
|
|
|
|
|
|
|
|
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. :-( |
|
|
|
|
|
|
|
|
|
|
|
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:- root@bananapi:~# lsmod
- Module Size Used by
- bnep 9169 -2
- cpufreq_userspace 1075 -2
- hidp 11926 -2
- rfcomm 30244 -2
- hci_uart 13962 -2
- bluetooth 282486 -2
- root@bananapi:~# modprobe brcmfmac
- root@bananapi:~# lsmod
- Module Size Used by
- brcmfmac 185800 -2
- brcmutil 4680 -2
- bnep 9169 -2
- cpufreq_userspace 1075 -2
- hidp 11926 -2
- rfcomm 30244 -2
- hci_uart 13962 -2
- bluetooth 282486 -2
- root@bananapi:~# dmesg | grep brcm
- [ 426.898764] usbcore: registered new interface driver brcmfmac
- root@bananapi:~# iwconfig
- lo no wireless extensions.
- eth0 no wireless extensions.
- bond0 no wireless extensions.
- tunl0 no wireless extensions.
- 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..- root@bananapi:~# hwinfo | grep brcm
- <6>[ 426.898764] usbcore: registered new interface driver brcmfmac
- brcmfmac: module = brcmfmac
- brcmfmac_sdio: module = brcmfmac
- brcmfmac 185800 - - Live 0xbf083000
- brcmutil 4680 - - Live 0xbf07e000
- root@bananapi:~# hwinfo | grep BCM
- root@bananapi:~# hwinfo | grep 0xA962
- 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 |
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|