Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberrypi4-64 WiFi is not working #703

Closed
matejsalamon opened this issue Aug 14, 2020 · 8 comments
Closed

Raspberrypi4-64 WiFi is not working #703

matejsalamon opened this issue Aug 14, 2020 · 8 comments

Comments

@matejsalamon
Copy link

Description

I'm trying to enable built-in wireless modul on RPi 4B+ using the latest meta-raspberrypi commit (bc7a066) but I get always the same issue already during kernel boot. Should I change some settings using kernel menuconfig in order to do that or is it already ready to use for wlan connection? Can you suggest me please, how to get wireless modul running?

Steps to reproduce the issue:

[root@raspberrypi4-64 ~]$dmesg | grep brcmfmac
[ 6.010129] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.018032] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.038176] usbcore: registered new interface driver brcmfmac
[ 6.044087] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.bin failed with error -2
[ 7.078037] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

[root@raspberrypi4-64 ~]$ifup wlan0
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
Cannot find device "wlan0"

Describe the results you received:
It seems that wireless kernel driver is not loaded at all.

Describe the results you expected:
Working wlan0 device on RPi4 64-bit using kernel and Yocto Linux

Additional information you deem important (e.g. issue happens only occasionally):
It happens always.

Additional details (revisions used, host distro, etc.):
poky (dunfell): 4b6faa9dada8d0ae7aba3a161429e4c1eab2fe21
meta-raspberrypi (dunfell): bc7a066

@kraj
Copy link
Collaborator

kraj commented Aug 14, 2020

try it with tip of master

@matejsalamon
Copy link
Author

The same behaviour with tip of master.

@agherzan
Copy link
Owner

Did this start to happen lately? I suspect a kernel update might have gone south. Are you up for a bisect?

@texierp
Copy link
Contributor

texierp commented Aug 15, 2020

Wifi works fine on my side (RPi3):

root@raspberrypi3:~# ip -4 addr show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel qlen 1000
    inet 192.168.1.51/24 brd 192.168.1.255 scope global wlan0
       valid_lft forever preferred_lft forever

So, what kind of image do you use with bitbake ? core-image-base ?

Maybe similar to #576

@matejsalamon
Copy link
Author

matejsalamon commented Aug 16, 2020 via email

@matejsalamon
Copy link
Author

matejsalamon commented Aug 16, 2020 via email

@matejsalamon
Copy link
Author

Hi,

Problem resolved! I replaced core-image-minimal by suggested core-image-base as you recommended. It is still not clear for me why does it work with that but anyway ...

Thank you very much

Matej

@agherzan
Copy link
Owner

Because minimal (as far as I remember) doesn't include the fw files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants