BPI M1 Plus wifi not working with android


(VIJAY ) #1

Hi All,

I tried Android LCD version image(BananaPi M1-M1P-R1 New Image : android and ubuntu sever Release 2018-07-28) with BPI M1 Plus. Display, touch and other built-in app working fine but wifi is not working. It showing “wifi is turning on” but nothing happens.

=============Configuration===================

[wifi_para]

wifi_used = 1

wifi_sdc_id = 3

wifi_usbc_id = 2

wifi_usbc_type = 1

wifi_mod_sel = 9

wifi_power = “”

; 1 - bcm40181 sdio wifi gpio config

;bcm40181_shdn = port:PH09<1><0>

;bcm40181_host_wake = port:PH10<0><0>

; 2 - bcm40183 sdio wifi gpio config

;bcm40183_wl_regon = port:PH09<1><0>

;bcm40183_wl_host_wake = port:PH10<0><0>

;bcm40183_bt_rst = port:PB05<1><0>

;bcm40183_bt_regon = port:PB05<1><0>

;bcm40183_bt_wake = port:PI20<1><0>

;bcm40183_bt_host_wake = port:PI21<0><0>

; 3 - rtl8723as sdio wifi + bt gpio config

;rtk_rtl8723as_wl_dis = port:PH09<1><0>

;rtk_rtl8723as_bt_dis = port:PB05<1><0>

;rtk_rtl8723as_wl_host_wake = port:PH10<0><0>

;rtk_rtl8723as_bt_host_wake = port:PI21<0><0>

; 4 - rtl8189es sdio wifi gpio config

;rtl8189es_shdn = port:PH09<1><0>

;rtl8189es_wakeup = port:PH10<1><1>

; 5 - rtl8192cu usb wifi

; 6 - rtl8188eu usb wifi

; 7 - ap6210 sdio wifi + bt gpio config

ap6xxx_wl_regon = port:PH22<1><0>

ap6xxx_wl_host_wake = port:PH15<0><0>

;ap6xxx_bt_regon =

;ap6xxx_bt_wake =

;ap6xxx_bt_host_wake =

==========Init.rc File==============

#2. broadcom wifi service

#2.1 broadcom wifi bcm40181 bcm40183 station and softap

 service wpa_supplicant /system/bin/wpa_supplicant \

-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \

-I/system/etc/wifi/wpa_supplicant_overlay.conf \

-O/data/misc/wifi/sockets \

-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0

#   we will start as root and wpa_supplicant will switch to user wifi
#   after setting up the capabilities required for WEXT
#   user wifi
#   group wifi inet keystore

class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

#2.2 braodcom wifi sta p2p concurrent service

 service p2p_supplicant /system/bin/wpa_supplicant \

-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \

-I/system/etc/wifi/wpa_supplicant_overlay.conf \

-O/data/misc/wifi/sockets -N \

-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \

-I/system/etc/wifi/p2p_supplicant_overlay.conf \

-puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin \

-g@android:wpa_wlan0

#   we will start as root and wpa_supplicant will switch to user wifi
#   after setting up the capabilities required for WEXT
#   user wifi
#   group wifi inet keystore

class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

same configuration is working with Lemaker Banana Pro image (Android 4.2) Can anybody please suggest, what is going wrong?

Thanks in advance,

Regards, Vijay