genpi64-overlay icon indicating copy to clipboard operation
genpi64-overlay copied to clipboard

Unable to make WiFi or Bluetooth work

Open Necktwi opened this issue 5 years ago • 10 comments

Your Gentoo RPi3 image is working great but when I built the Gentoo for my RPi3B with musl, install your overlay, build the kernel with https://github.com/sakaki-/gentoo-on-rpi3-64bit/blob/master/configs/bcmrpi3_defconfig-bis and merge the firmware: sys-firmware/brcm43430-firmware, sys-firmware/bcm4340a1-firmware, net-wireless/rpi3-bluetooth, I couldn't get the bluetooth or wifi working. In dmesg, I see

...
[    9.700477] mmc1: error -110 whilst initialising SDIO card
[   11.030493] mmc1: error -110 whilst initialising SDIO card
[   12.373493] mmc1: error -110 whilst initialising SDIO card
[   13.738492] mmc1: error -110 whilst initialising SDIO card
...
[   38.889487] Bluetooth: hci0: command 0x0c03 tx timeout
[   47.081475] Bluetooth: hci0: BCM: Reset failed (-110)
...

complete dmesg: dmesg.txt

Thank you for your work!

Necktwi avatar May 09 '19 06:05 Necktwi

Hi @Necktwi, have you tried it with an actual kernel + module set (rather than a kernel built from the .config), along with your userland? Best, sakaki

sakaki- avatar May 13 '19 09:05 sakaki-

My Gentoo build is a headless server. Yeah, I tried with your kernel + module set. I got some disappointing dmesg that I exactly don't remember. I shall try them once again and let you know the exact dmesg.

Necktwi avatar May 13 '19 09:05 Necktwi

Now I remember, I use btrfs root. since your kernel don't have btrfs compiled in, I couldn't boot it on.

Necktwi avatar May 13 '19 10:05 Necktwi

Re btrfs root, please see comment here. Thanks, sakaki

sakaki- avatar May 15 '19 09:05 sakaki-

using the latest kernel with BTRFS support didn't fix the issue. Can you build and test the complete gentoorpi image with the latest kernel? I know its foolish to fix this issue with trial and error method instead of finding the root cause but fixing it with just one more try is rather tempting.

Necktwi avatar May 23 '19 11:05 Necktwi

Please see my response here. Best, sakaki

sakaki- avatar May 24 '19 12:05 sakaki-

Actual kernel+module+firmware+overlay got wifi and bluetooth to work. But merging sys-kernel/bcmrpi3-kernel-bis-bin or sys-firmware/bcm4340a1-firmware or sys-firmware/brcm43430-firmware or sys-boot/rpi3-64bit-firmware broken the WiFi and Bluetooth.

Necktwi avatar Jun 29 '19 14:06 Necktwi

Odd. ~~Are you on profile 17.0 or 17.1?~~ Strike that - 17.1 not yet in the wild for arm64 ^-^ Those packages are merged in the actual image build though, so it is strange that they fail for you.

sakaki- avatar Jun 29 '19 15:06 sakaki-

I'm very sorry; It seems there's a problem with my pi. WiFi works when I power it on after a long gap. An immediate reboot is giving the mmc1 error. Whenever I burn some image onto sd card the wifi starts working. Its all because I am giving rest for the pi while I am writing the image. Last night when I checked that WiFi not working, I have shut down the RPi, rested it all night and checked for the error in the morning; it's gone!

Necktwi avatar Jul 03 '19 16:07 Necktwi

30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the ebuilds etc. may be of use for others looking to take forward Gentoo on 64-bit RPi systems); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

Many thanks for your interest in this project!

With sincere apologies, sakaki ><

sakaki- avatar Oct 30 '20 16:10 sakaki-