LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   [SOLVED] rp4 wifi older sarpi4_64 (https://www.linuxquestions.org/questions/slackware-arm-108/%5Bsolved%5D-rp4-wifi-older-sarpi4_64-a-4175736652/)

lazardo 05-02-2024 04:27 PM

[SOLVED] rp4 wifi older sarpi4_64
 
For those still running older aarch64 on rpi4 and missing wifi
(from dmesg):
Code:

May  2 11:03:11 rp4 kernel: brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
May  2 11:03:11 rp4 kernel: brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.bin failed with error -2

This was a filename issue where the link in /lib/firmware/brcm was incorrect:
Code:

brcmfmac43455-sdio.bin -> ../cypress/cyfmac43455-sdio.bin
My fix in /lib/firmware/cypress:
Code:

$ ls -l ../cypress | grep 43455
-rw-r--r-- 1 root root 548728 Feb 26 09:06 cyfmac43455-sdio-minimal.bin
-rw-r--r-- 1 root root 643651 Feb 26 09:06 cyfmac43455-sdio-standard.bin
lrwxrwxrwx 1 root root    29 May  2 13:16 cyfmac43455-sdio.bin -> cyfmac43455-sdio-standard.bin
-rw-r--r-- 1 root root  2676 Feb 26 09:06 cyfmac43455-sdio.clm_blob

Performance on 5ghz:
Code:

$ host=intel; port=23234; cnt=256; ssh $host "nc -l -p $port > /dev/null & disown" & sleep 1; dd if=/dev/zero bs=1M count=$cnt | nc -q 1 $host $port
[1] 1129
256+0 records in
256+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 26.5753 s, 10.1 MB/s

Note this is 4x slower than Intel Corporation Wireless-AC 9260 running not 4 feet away on the same channel.
Back to ethernet :)

drmozes 05-06-2024 05:12 AM

Anything you change here will most likely be over written by the Slackware kernel-firmware package, because the SARPi package conflicts with it.

WiFi worked fine on my RPi4 when I tested the latest official Slackware install image about a month ago but I didn't test it extensively for long periods, nor saturate the interface.

If there's an issue with WiFi on the RPi4 or 5 let me know so I can update it.
The script we use to pull the firmware is here, so you can see which version we're using.

I don't know about any firmware for the RPi5 yet, but if there's some additional firmware I can bundle it in there.

Cheers

lazardo 05-06-2024 05:43 PM

rpi4 B, aarch64 from a year ago, no post-install updates.

Apparently archive.raspberrypi.org did not verify links for that pull, and I failed to notice dmesg clues at the time.

I'll bump to latest and post results wifi.

Cheers,


All times are GMT -5. The time now is 08:29 AM.