martinayotte Posted April 30, 2017 Posted April 30, 2017 Yes, you're right, let polish this stuff. And we also need to figured out why 64 bits are not working. About '_apsta', I presume/guess that allows firmware to run in both mode, while the other can only work in STA or AP, but not both at the same time.
martinayotte Posted April 30, 2017 Posted April 30, 2017 Some news : The trick is also working with the fw_bcm43438a1.bin for Non-A of my BananaPiM2Plus ... (The only small problem is they ship me this board without antenna, fortunately, it still work since it sit by few feet of the AP)
Igor Posted May 1, 2017 Posted May 1, 2017 This is not working on recent A chips found on Zero2 and others.
renard Posted February 17, 2018 Posted February 17, 2018 On 4/28/2017 at 9:38 PM, martinayotte said: AP6212 WiFi still not working on any Mainline (OPiZeroPlus*/OPiPrime/OPiWin), we still investigate ... The only one working is Legacy OPiZeroPlus-H3. Are you 100% sure that OPiPrime has AP6212(A)? In my case I believe it has Realtek 8723 ``` $ lsmod | grep 80211 cfg80211 294912 1 r8723bs rfkill 28672 3 cfg80211 ``` As for OPiWin, my has AP6212A - maybe my experience might be useful to someone here. Mainline. Could not make it work with mainline 5.32 and upgraded 5.41 (both same kernel 4.11.8) It is using brcmfmac module, that I tried with various firmware (/lib/firmware/brcm/brcmfmac43430-sdio.bin and -=-.txt files). All have the same result - system reboot after first wifi frames go - e.g. client get's dhcp address and the system reboots. The only thing in dmesg: ``` [ 9.458442] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3 [ 9.741314] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30) [ 9.924496] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30) ``` Tracking similar (freez instead of reboot) issue:https://github.com/raspberrypi/linux/issues/1342 Strange, but have the feeling that it did work with mainline before on 5.32 (card was corrupted and had no backup) but might confuse with prime. Legacy. Could make it work in legacy kernel. First the hostapd was starting fine, but was no ESSID in iwconfig and got some error in dmesg ``` CFG80211-ERROR) check_dev_role_integrity : device role select failed ``` Fixed it with module parameter. (by Igor advice from here http://forum.banana-pi.org/t/how-to-setup-a-wifi-ap/2437) # echo 'options bcmdhd op_mode=2' > /etc/modprobe.d/bcmdhd.conf Iwconfig should show the ESSID name. ``` # iwconfig ... wlan0 IEEE 802.11 ESSID:"ARMBIAN" Mode:Master Frequency:2.432 GHz Access Point: 02:1A:11:F8:B9:12 Bit Rate=96 Mb/s Tx-Power:32 dBm Retry min limit:10 RTS thr:off Fragment thr:off Encryption key:off Power Managementmode:All packets received ... ``` Works fine despite some errors in dmesg ``` CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode CFG80211-ERROR) wl_cfg80211_scan : scan error (-22) ``` Will appreciate any ideas with mainline and will try to provide any logs if required.
martinayotte Posted February 17, 2018 Posted February 17, 2018 4 hours ago, renard said: Are you 100% sure that OPiPrime has AP6212(A)? In my case I believe it has Realtek 8723 Of course, but this is really old post ! At that time, I've just received my OPiPrime board. Later, I've succeeded to get the Realtek using Icenowy's branch from that time, I don't remember which kernel version.
Recommended Posts