WiFi on BPI-M1+

Hello All~

I found that WiFi is not working on BPI-M1+ using Lubuntu. I wonder if this is my problem only or something well known. Is there any work around? Which linux image is recommended for WiFi on BPI-M1+?

Hello: you can try it.

$sudo modprobe ap6210.

Hi Banana PI team and members,

I am facing wifi not up issues. I am using bananaPi-M1+ board and suitably configured this board in the bananian-hardware. I am running the bananian version of linux flavour and here are the details: version: Linux bananapi 3.4.108-bananian #2 SMP PREEMPT Thu Aug 13 06:08:25 UTC 2015 armv7l GNU/Linux

I see in my module list, that ap6210 module is preset but it does not create the wlanx interface. I also have the **ap6210 op_mode=2** (station mode) configured in the /etc/modules file. Inspite of repeated reboots I don’t get the wlan interfaces up.

here is the lsmod output:

Module                  Size      Used by
ap6210                624105        1
cpufreq_powersave       1242   0
cpufreq_userspace       3540   0
cpufreq_stats           5892       0
cpufreq_conservative     5779  0
cfg80211              173711  1 ap6210
8021q                  18870  0
garp                    6092  1 8021q
stp                     2028  1 garp
llc                     5389  2 stp,garp

Upon getting the dmesg logs: I see some initialization errors:

root@bananapi:/# dmesg | grep ap6210
[   20.135083] [ap6210] --->The Drive has been modified for BananaPro by LeMaker team<---
[   20.153100] [ap6210] select wifi ap6210
[   20.167346] [ap6210] Initializing ap6210.
[   20.183582] [ap6210] Succeed to set the gpio ap6210_wl_vdd_en to 0
[   20.208622] [ap6210] Succeed to set the gpio ap6210_wl_regon to 1
[   20.478737] [ap6210] WLAN placed in POWER ON
[   20.912987] [ap6210] Linux Kernel SDIO/MMC Driver
[   20.943343] [ap6210] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33
[   20.965955] [ap6210] Succeed to set the gpio ap6210_wl_regon to 0
[   21.099949] bcm4330: exports duplicate symbol bcmsdh_probe (owned by ap6210)
[   21.131108] bcm4330: exports duplicate symbol bcmsdh_probe (owned by ap6210)
[   21.261625] [ap6210] WLAN placed in RESET
[ 1326.468036] [ap6210] wl_event_handler was terminated
[ 1326.541960] [ap6210] sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92
[ 1326.555325] [ap6210] dhdsdio_disconnect : the lock is released.
[ 1326.590831] [ap6210] Succeed to set the gpio ap6210_wl_regon to 0
[ 1326.753209] [ap6210] WLAN placed in POWER OFF
[ 1341.549263] [ap6210] --->The Drive has been modified for BananaPro by LeMaker team<---
[ 1341.560436] [ap6210] select wifi ap6210
[ 1341.592219] sysfs: cannot create duplicate filename '/devices/platform/ap6210_gpio_wifi.0'
[ 1341.602681] Modules linked in: ap6210(+) cpufreq_powersave cpufreq_userspace cpufreq_stats cpufreq_conservative cfg80211 8021q garp stp llc [last unloaded: ap6210]
[ 1341.694094] [<c03641d8>] (platform_device_add+0x104/0x1e8) from [<bf3d13c8>] (ap6210_gpio_wifi_init+0x138/0x154 [ap6210])
[ 1341.704507] [<bf3d13c8>] (ap6210_gpio_wifi_init+0x138/0x154 [ap6210]) from [<bf3d104c>] (dhd_module_init+0x4c/0x290 [ap6210])
[ 1341.713431] [<bf3d104c>] (dhd_module_init+0x4c/0x290 [ap6210]) from [<c0008698>] (do_one_initcall+0x114/0x16c)
[ 1341.771709] kobject_add_internal failed for ap6210_gpio_wifi.0 with -EEXIST, don't try to register things with the same name in the same directory.
[ 1341.773591] Modules linked in: ap6210(+) cpufreq_powersave cpufreq_userspace cpufreq_stats cpufreq_conservative cfg80211 8021q garp stp llc [last unloaded: ap6210]
[ 1341.850831] [<c03641d8>] (platform_device_add+0x104/0x1e8) from [<bf3d13c8>] (ap6210_gpio_wifi_init+0x138/0x154 [ap6210])
[ 1341.861231] [<bf3d13c8>] (ap6210_gpio_wifi_init+0x138/0x154 [ap6210]) from [<bf3d104c>] (dhd_module_init+0x4c/0x290 [ap6210])
[ 1341.870153] [<bf3d104c>] (dhd_module_init+0x4c/0x290 [ap6210]) from [<c0008698>] (do_one_initcall+0x114/0x16c)
[ 1341.936643] Modules linked in: ap6210(+) cpufreq_powersave cpufreq_userspace cpufreq_stats cpufreq_conservative cfg80211 8021q garp stp llc [last unloaded: ap6210]
[ 1342.832866] [<c03632ec>] (driver_register+0x78/0x134) from [<bf3d104c>] (dhd_module_init+0x4c/0x290 [ap6210])
[ 1342.849910] [<bf3d104c>] (dhd_module_init+0x4c/0x290 [ap6210]) from [<c0008698>] (do_one_initcall+0x114/0x16c)
root@bananapi:/#

Please provide some assistance to this working. I also see from google searches that several other variants of linux also having issues in getting the wifi up on M1+ board. Some talk about an incorrect script.fex/bin file etc but those posts don’t seem very relevant to M1+ board wifi bring up.