no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby fst » Thu Oct 28, 2021 5:13 pm

I'm having issues with wlan0 not appearing properly

os
Linux alarmpi 5.10.76-1-raspberrypi4-ARCH #1 SMP Thu Oct 28 14:06:17 UTC 2021 armv7l GNU/Linux (32bit not aarch64)

package versions
linux-api-headers 5.12.3-1
linux-firmware 20210919.d526e04-1
linux-raspberrypi4 5.10.76-1
raspberrypi-firmware 20211025-1
firmware-raspberrypi 20210224-1

dmesg
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

There are quite a few reports about this around February of this year but rolling back the linux-firmware as suggested here: https://github.com/raspberrypi/linux/issues/4145 does not seem to work for me. I have tried rolling back both linux-firmware and raspberrypi-firmware but that also didn't resolve the issue. The boardflags3 parameter is set correctly.

Could someone tell me what the difference is between firmware-raspberrypi and raspberrypi-firmware and also how I can see exactly what files are being loaded for the firmware? it says brcmfmac434550-sdio.txt but there are a lot of platform specific text files which I assume are being picked up first although I don't know how the path is determined?
fst
 
Posts: 1
Joined: Thu Oct 28, 2021 4:13 pm

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby skunark » Tue Dec 21, 2021 8:13 pm

A little late, but this seems to work for me

$this->bbcode_second_pass_code('', 'sudo ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt')

Unsure why this is missing from the linux-firmware package, cm4 has been out for a while.
skunark
 
Posts: 16
Joined: Fri Apr 30, 2021 12:36 am

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby graysky » Tue Dec 21, 2021 9:09 pm

$this->bbcode_second_pass_quote('skunark', 'A') little late, but this seems to work for me

$this->bbcode_second_pass_code('', 'sudo ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt')

Unsure why this is missing from the linux-firmware package, cm4 has been out for a while.


Do you have firmware-raspberrypi package installed? It should provide the equivalent to that:
$this->bbcode_second_pass_code('', '% pacman -Ql firmware-raspberrypi|grep comp
firmware-raspberrypi /usr/lib/firmware/updates/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
')
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby skunark » Tue Dec 21, 2021 10:05 pm

I do have the firmware-raspberrypi, and that link is there but wlan0 only starts with the "43455" version not the "43456". Not sure if i need to configure anything else for the 43456 version to work?
Last edited by skunark on Tue Dec 21, 2021 10:32 pm, edited 1 time in total.
skunark
 
Posts: 16
Joined: Fri Apr 30, 2021 12:36 am

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby graysky » Tue Dec 21, 2021 10:27 pm

I missed the digit... can you try this:

1) Remove the symlink you manually created
2) Run the following then reboot

$this->bbcode_second_pass_code('', '
# cd /usr/lib/firmware/updates/brcm
# ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt ./brcmfmac43455-sdio.raspberrypi,4-compute-module.txt')
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby skunark » Tue Dec 21, 2021 10:38 pm

That cleaner solution works.

Do you know if this is an issue with the firmware-raspberrypi package or there's a missing knob and this happily works?
skunark
 
Posts: 16
Joined: Fri Apr 30, 2021 12:36 am

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby graysky » Wed Dec 22, 2021 12:21 pm

graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: no wlan0 on Compute Module 4 (Raspberry Pi) (32bit)

Postby skunark » Thu Dec 23, 2021 11:33 pm

I've tested a local build of firmware-raspberrypi and all is well with WiFi for the CM4. Thanks again!
skunark
 
Posts: 16
Joined: Fri Apr 30, 2021 12:36 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 6 guests