[linux-firmware] Raspberry pi 4 wlan0 is missing

Problems with packages? Post here, using [tags] of the package name.

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby karog » Thu Feb 11, 2021 7:08 pm

Also occurs on my RPi zero W which is of course a real pain since WLAN is its only network access.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

RaspberyPi WiFi broken on 2021/02/11 aarch64 update

Postby TonyC » Thu Feb 11, 2021 10:13 pm

Anyone else?

WiFi previously working on a Raspberry Pi 8GB using the raspberrypi4 kernel.

Roll back to 2021/02/10 and it works again.

Packages updated on the 11th are...
Packages (6) cryptsetup-2.3.4-2 device-mapper-2.03.11-3 git-2.30.1-1 glib2-2.66.6-2 linux-firmware-20210208.b79d239-1 psmisc-23.4-1

Just me?
TonyC
 
Posts: 1
Joined: Thu Feb 11, 2021 9:46 pm

Re: RaspberyPi WiFi broken on 2021/02/11 aarch64 update

Postby karog » Thu Feb 11, 2021 11:03 pm

karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Fri Feb 12, 2021 12:07 am

MOD NOTE: merged topics
graysky
Developer
 
Posts: 1879
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby karog » Fri Feb 12, 2021 1:01 am

Can someone please tell me how I can downgrade my RPi zero W's linux-firmware since I cannot access it via WLAN?

If I mount the W's sdcard root on an odroid N2 (running arch linux) at /mnt/root and I have the older
linux-firmware-20201218.646f159-1-any.pkg.tar.xz, can I just do

pacman -r /mnt/root -U linux-firmware-20201218.646f159-1-any.pkg.tar.xz

and not mess up my N2?

Thx.

ps. I know initramfs-linux.img is normally built but of course I don't want it replaced on the N2. I have a copy of initramfs-linux.img on the W's sd card before the upgrade that wrecked things.

Also, I tried chroot /mnt/root and untar'd the package after seeing which files it changes in /usr. And I copied initramfs-linux.img to the correct boot dir. It seemed like it was booting (light flashed) but I could not connect. Taking this approach, is there some other file or files that are changed beyond initramfs-linux.img and the package files that I could repair?
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby graysky » Fri Feb 12, 2021 1:52 am

If both machines run the same flavor, (armv7h, aarch64, etc.) just mount the media to a mount point of your choosing, say /mnt and then use `arch-chroot /mnt` to enter that mount point. Once there, ran `pacman -U /path/to/oldfirmware.pkg.tar.xz` to downgrade. Umount and place the media back in the broken device.
graysky
Developer
 
Posts: 1879
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [linux-firmware] Raspberry pi 4 wlan0 is missing

Postby karog » Fri Feb 12, 2021 2:18 am

$this->bbcode_second_pass_quote('graysky', 'I')f both machines run the same flavor, (armv7h, aarch64, etc.) just mount the media to a mount point of your choosing, say /mnt and then use `arch-chroot /mnt` to enter that mount point. Once there, ran `pacman -U /path/to/oldfirmware.pkg.tar.xz` to downgrade. Umount and place the media back in the broken device.


I don't have another machine with the same arch. I had tried, on my N2, plain chroot and package -U but it failed on /proc/self/mounts. I did not know about arch-chroot. Found I had to install arch-install-scripts to get that. Tried it and I was able to pacman -U the older linux-firmware which did not rebuild initramfs-linux.img but I copied my prior version. Tried to boot and light flashed but still no connection.

I have another zero W that I did not upgrade so I will clone its sdcard and them make necessary adjustments.

Thanks for the suggestions. At least I learned about arch-chroot.

ETA: cloning worked and updated sans linux-firmware all good.

I would appreciate someone posting here when this is fixed as it is a real pain to test on a zero W.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

RPi 4B Wi-Fi Broken

Postby Verequies » Fri Feb 12, 2021 2:39 am

So I've just been setting up a new build for my Raspberry Pi 4Bs and have noticed on a fresh download without any modification, Wi-Fi is broken. That is the WLAN interface does not show up. I am not sure whats going on here but there is one possible error in 'dmesg' related to the 'brcmfmac' driver.

$this->bbcode_second_pass_code('', 'brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50')

Any help would be appreciated :)
Verequies
 
Posts: 14
Joined: Mon Feb 20, 2017 11:55 am

Re: RPi 4B Wi-Fi Broken

Postby Verequies » Fri Feb 12, 2021 8:45 am

Seem to have fixed it after deleting some txt files relating to the 'brcmfmac43455' in '/lib/firmware/brcm'.
Only keeping 'brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt' brings back the 'wlan0' interface.
Verequies
 
Posts: 14
Joined: Mon Feb 20, 2017 11:55 am

Re: RPi 4B Wi-Fi Broken

Postby graysky » Fri Feb 12, 2021 10:05 am

$this->bbcode_second_pass_quote('Verequies', 'S')eem to have fixed it after deleting some txt files relating to the 'brcmfmac43455' in '/lib/firmware/brcm'.
Only keeping 'brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt' brings back the 'wlan0' interface.


MOD NOTE: merging.

Are you certain that you only removed some txt files and I assume symlinks that match brcmfmac43455*.txt? Doing so for me does not work to restore wlan0 upon a reboot.

$this->bbcode_second_pass_code('', '% ls -lh /lib/firmware/brcm/brcmfmac43455*.txt
-rw-r--r-- 1 root root 1.9K Feb 10 09:26 /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
lrwxrwxrwx 1 root root 44 Feb 10 09:26 '/lib/firmware/brcm/brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt' -> brcmfmac43455-sdio.raspberrypi,4-model-b.txt
')
graysky
Developer
 
Posts: 1879
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 11 guests