guidol Posted January 27, 2018 Posted January 27, 2018 Today I installed the armbian build "system" as suggested by @Igor in some threads (VirtualBox with Ubuntu 16.04 64Bit and a GitHub clone). After generating a armbian 5.38 (with old kernel, bad WiFi and USB unuseable for WiFi or Ethernet) for my OPi i96 I did see that also a entry is for the BananaPi M2 Ultra. I got the little brother - the BPi M2 Berry - so I created also a image for an sd-card At the fist try I did no connect to the board (I know video driver isnt there). Ethernet isnt recognized (no DHCP and no device). The first connect I did get with a USB-WLAN Dongle (RTL8192CUS from edimax) while using a USB-TTL-serial. After that I did see problems with the AP6112 Wifi Module brcmfmac in the dmesg which I didnt see when the RTL8192CU(S) was connected. I installed the armbian-firmware-full (5.35) over the armbian-firmware (5.38) and rebooted - and now the brcmfmac does work [EDIT] BUT not stable While using brcmfmac I do get many ebrcmfmac error in the dmesg. WhenI dont use it - when using a RTL8192cu(s) - I dont get neither brcmfmac nor cfg80211 errors in the dmesg. I think - maybe - the drivers to work on every 2nd boot? Sometimes they work at boot-time and at the next boot the complete wifi is down (AP6212 and RTL8192CU(s)) I'll try to use it while remove the modules for brmc* in /etc/rc.local : rmmod brcmfmac rmmod brcmutil [EDIT] now blacklisted in /etc/modprobe.d/blacklist.conf: blacklist brcmfmac blacklist brcmutil [ 40.569474] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout [ 40.569488] brcmfmac: brcmf_run_escan: error (-110) [ 40.569497] brcmfmac: brcmf_cfg80211_scan: scan error (-110) [ 73.609473] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout [ 73.609487] brcmfmac: brcmf_do_escan: error (-110) [ 73.609493] brcmfmac: brcmf_cfg80211_scan: scan error (-110) [ 116.569468] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout [ 116.569483] brcmfmac: brcmf_do_escan: error (-110) [ 116.569489] brcmfmac: brcmf_cfg80211_scan: scan error (-110) login as: root root@192.168.6.120's password: ____ ____ _ __ __ ____ ____ | __ )| _ \(_) \/ |___ \| __ ) ___ _ __ _ __ _ _ | _ \| |_) | | |\/| | __) | _ \ / _ \ '__| '__| | | | | |_) | __/| | | | |/ __/| |_) | __/ | | | | |_| | |____/|_| |_|_| |_|_____|____/ \___|_| |_| \__, | |___/ Welcome to ARMBIAN 5.38 user-built Debian GNU/Linux 9 (stretch) 4.14.15-sunxi System load: 0.02 0.05 0.01 Up time: 3 min Memory usage: 5 % of 1000MB IP: 192.168.6.120 Usage of /: 5% of 29G root@bpi-m2-berry:~# lsmod Module Size Used by aes_arm_bs 20480 0 crypto_simd 16384 1 aes_arm_bs cryptd 20480 1 crypto_simd ccm 20480 3 rtl8192cu 65536 0 rtl_usb 20480 1 rtl8192cu rtl8192c_common 32768 1 rtl8192cu brcmfmac 159744 0 rtlwifi 53248 3 rtl_usb,rtl8192c_common,rtl8192cu mac80211 446464 3 rtl_usb,rtlwifi,rtl8192cu brcmutil 16384 1 brcmfmac cfg80211 376832 3 mac80211,rtlwifi,brcmfmac rfkill 20480 5 cfg80211 evdev 20480 1 uio_pdrv_genirq 16384 0 uio 16384 1 uio_pdrv_genirq ip_tables 20480 0 x_tables 20480 1 ip_tables pwrseq_simple 16384 1 root@bpi-m2-berry:~# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/EMz PS: Board-Name is edited, because I didnt got a M2 Ultra
Igor Posted January 28, 2018 Posted January 28, 2018 Great job that you tried to do this. As you can see there are still a lot of obvious problems and mainline is not yet useful on this board. Not even for simple cases since its lack of network support. Wens made progress on this, so you can try even more complex job by adding few of those patches to userpatches/kernel/sunxi-next and recompile the kernel. Monitor debug/patching, adjust patches if necessary ... Patch is downloaded from Github by adding .patch to the commit URL, for example: https://github.com/wens/linux/commit/48f1bef6c0b43defca07edd4d6e1962f272fe9d6.patch Have fun! 2
Recommended Posts