RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous)
#11
martinayotte: first, sdio0 is currently disabled due to stability with nvme, as for bits I meant binary blobs for realtek wifi/bt.
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
  Reply
#12
Hi all,

I just got my Rock64 Pro with the Wifi/BT module (so new to Rock64) and it does not seem to be working with:
Ubuntu 18.04 Bionic Containers Image (DockerCE & Kubernetes)[microSD / eMMC Boot] [0.7.9]

This is the version:
[email protected]:~$ uname -a

Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

I have done a rfkill unblock all - but the main issue is on the BT is coming up not the WIFI:


[email protected]:~$ ifconfig

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255

        ether 02:42:02:cb:ce:4a  txqueuelen 0  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.245  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fe80::e0fc:1bff:fe80:a4ed  prefixlen 64  scopeid 0x20<link>

        ether e2:fc:1b:80:a4:ed  txqueuelen 1000  (Ethernet)

        RX packets 2295  bytes 161835 (161.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 1166  bytes 96592 (96.5 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device interrupt 24



lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1  (Local Loopback)

        RX packets 84  bytes 6280 (6.2 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 84  bytes 6280 (6.2 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



[email protected]:~$ rfkill list

0: bt_default: Bluetooth

        Soft blocked: no
        Hard blocked: no

So I have a basic issue I think. Can someone help me to get the WiFi interface working. I have seen some discussion on disabling sdio - but I am not sure what this means.


--GnR
  Reply
#13
As per post 10 above yours, disabling sdio0 (in 0.7.9) gives stability to the nvme, but means nothing you do will get the onboard WiFi/BT to work. (The WiFi/BT card needs sdio0.)
ROCKPro64 v2.1 2GB, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse
Started Bionic minimal - now eoan, Openbox desktop for general purpose daily PC.
  Reply
#14
(08-12-2018, 03:31 PM)dukla2000 Wrote: As per post 10 above yours, disabling sdio0 (in 0.7.9) gives stability to the nvme, but means nothing you do will get the onboard WiFi/BT to work. (The WiFi/BT card needs sdio0.)

I agree. I think I have a basic problem that the rfkill list is only showing the BT module and not the WIFI (wlan) module. I am thinking this is a product fault as I have tested it on 2 different rock64PRO but the same image (eMMc card). 

can anyone help me here? Or should I report it a product issues?
  Reply
#15
(08-13-2018, 08:38 AM)gnr_3 Wrote:
(08-12-2018, 03:31 PM)dukla2000 Wrote: As per post 10 above yours, disabling sdio0 (in 0.7.9) gives stability to the nvme, but means nothing you do will get the onboard WiFi/BT to work. (The WiFi/BT card needs sdio0.)

I agree. I think I have a basic problem that the rfkill list is only showing the BT module and not the WIFI (wlan) module. I am thinking this is a product fault as I have tested it on 2 different rock64PRO but the same image (eMMc card). 

can anyone help me here? Or should I report it a product issues?

So I got the Wi-FI to work. Apparently it only works on the Andriod 7.1 OS. and the BT is unstable (could not pair with a device well). This is not good as I need it on the Bionic container image. But at least I found out how it will work. Hoping support gives me a good resolve for this limitation on the Bionic container image for the Rock64Pro.
  Reply
#16
(08-14-2018, 10:51 AM)gnr_3 Wrote:
(08-13-2018, 08:38 AM)gnr_3 Wrote:
(08-12-2018, 03:31 PM)dukla2000 Wrote: As per post 10 above yours, disabling sdio0 (in 0.7.9) gives stability to the nvme, but means nothing you do will get the onboard WiFi/BT to work. (The WiFi/BT card needs sdio0.)

I agree. I think I have a basic problem that the rfkill list is only showing the BT module and not the WIFI (wlan) module. I am thinking this is a product fault as I have tested it on 2 different rock64PRO but the same image (eMMc card). 

can anyone help me here? Or should I report it a product issues?

So I got the Wi-FI to work. Apparently it only works on the Andriod 7.1 OS. and the BT is unstable (could not pair with a device well). This is not good as I need it on the Bionic container image. But at least I found out how it will work. Hoping support gives me a good resolve for this limitation on the Bionic container image for the Rock64Pro.

If you've read a few posts up ...


Quote:(...) sdio0 is currently disabled due to stability with nvme, as for bits I meant binary blobs for realtek wifi/bt.

Support has nothing to do with it - you just have to wait for ayufan or someone else to figure out how to make it work so that sdio doesn't cause instability under particular circumstances.
You can find me on IRC, Discord and Twitter


  Reply
#17
Lightbulb 
(07-27-2018, 10:14 AM)JeffD Wrote:
(07-25-2018, 04:53 PM)evilbunny Wrote:
(07-25-2018, 08:57 AM)JeffD Wrote: Thanks for the reply! I noticed that in the release notes. I found it by searching with the keyword "wifi", which was mentioned 3 times within his releases. I downgraded to 0.7.7 and even the 0.6.X stable, but still have the issue unfortunately.

I haven't had any luck getting it to work yet either and I've resorted to using the USB one.

So after a ton of digging, a close friend and I were able to find a solution. Here is what we found.

The wireless+bt chip is an AMPAK AP6359SA, but it uses the Broadcom 4359 chipset. After more digging, we found the kernel calling for /system/etc/firmware instead of /etc/firmware which is what the Linux distro uses. After realizing that, we researched the current stable Android release that has working wireless+bt firmware.

The folder for the firmware on the stable Android release referenced /system/etc/firmware, which is what the Linux kernel is using. We archived the file on to a USB from the Android release, then brought back up the Linux release. We moved the files over to the folder structure that the Linux kernel was calling. Once we got everything in order, we reissued the rfkill unblock all command then proceeded to reboot. 

Once rebooted, the wireless module was fully recognized and scanning SSID's. To make it where we didn't have to use a wpa_supplicant file every time(for my wife's usability), I installed WICD. It works pretty well from what we have tested thus far. We still need to validate further.

But there is a good thing coming up soon to make this much easier for all, but some may want it quickly so we will write up a report and put the files out for downloading. However in 4.5+, the chipset will be fully supported out of the box. I just wanted to send an update that it is working and that we are going to put something together just in case anyone wants to leverage it prior to the 4.5 release.

I should have something written up today, but the information here can be used to get the wireless module up and going. I hope this helps others!!

Thanks for being an awesome community and making great boards!  Smile

Can you link me to the Android release you copied the files from, the name/location of the files, a link to the Linux release and location where they should go so I can get my board connected?

Don't have access to a compatible USB wireless device at the moment and I'd love to tinker over the weekend.

Any release schedule for 4.5?
  Reply
#18
I downloaded the Android 8.1 image from: http://files.pine64.org/os/ROCKPro64/and...oot.img.xz

I couldn't figure out how to extract the image to a folder to look at the files though.

I'm assuming this is how the drivers were copied?

1) Download Android image.
2) Copy driver files from Android image and put them on desired system.

In the meantime I bought a WiFi range extender that had a ethernet port as a solution for internet access. I tether from a cellphone, so I don't have access to a regular router and I don't have a compatible USB WiFi dongle.
  Reply
#19
From @Bullet64 signature I found a forum which shows steps to accomplish this: https://forum.frank-mankel.org/topic/190...wlan-modul


AUTO-TRANSLATED:

"If we had the problem, the software is not in it. But JeffD from the forum had an idea there ? One steals the driver from the Android version, because it should work (not tested itself).

So downloaded the 50 GB Android file, unpacked and searched. There you will find the file "

I'm assuming this is referring to: http://files.pine64.org/os/sdk/ROCKPro64...7.1.tar.gz
Found on: http://wiki.pine64.org/index.php/ROCKPro....5Bv7.1.5D


HAVE NOT TESTED - Just searching for answers Smile
  Reply
#20
I did not get it to work Wink
Sorry for any mistakes. English is not my native language

1. RP64 v2.0 / PCIe NVMe as root / sd-card as boot / 2,5 Zoll HDD 1TB (USB3) using as Webserver .... (Kernel 4.4.167-1140-rockchip-ayufan-g6f266fb5d677)
2. RP64 v2.1 / PCIe SATA Marvell 88SE9230 Chipsatz / sd-card / 2 * 2,5 Zoll 2TB HDD (raid1) / using as NAS / Kernel 5.0.0-1101-ayufan-g41eeb7cd789e
3. RP64 v2.1 / testing.....testing....testing

https://forum.frank-mankel.org/category/14/rockpro64



  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  poor HDD performance - ayufan mainline OMV Mentaluproar 0 44 11-11-2019, 10:26 PM
Last Post: Mentaluproar
  Ayufan 5.4.0 rc1 release - cannot boot Mentaluproar 0 59 11-04-2019, 11:46 PM
Last Post: Mentaluproar
  My PCIe disk controller works with Linux 5.3.6 guannais 1 105 10-30-2019, 07:11 PM
Last Post: guannais
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 182 10-10-2019, 12:51 PM
Last Post: ihamilton
  Void Linux WIP losinggeneration 0 132 10-04-2019, 03:23 AM
Last Post: losinggeneration
  Arch Linux on RockPro64 mmatyas 27 8,753 09-28-2019, 04:30 AM
Last Post: TaborFife
  Rockpro64 and stock arch linux TaborFife 0 153 09-21-2019, 04:29 PM
Last Post: TaborFife
  Linux distro that will work with Kodi? SBCraok 9 252 09-18-2019, 02:12 AM
Last Post: mtrcycllvr
  New Stable release from Ayufan (0.8.3) Luke 13 1,764 08-06-2019, 05:19 PM
Last Post: andyburn
  u-boot for Arch Linux Arm prw 3 197 07-20-2019, 12:38 PM
Last Post: stuartiannaylor

Forum Jump:


Users browsing this thread: 1 Guest(s)