posted already in another thread for that issue by me:
2023-02 arm64 and armhf of RaspiOS are the last ones working for me (firmware-brcm80211 is from 2022 there) - and here's how I got from there to bookworm
sudo apt-get update
sudo apgt-get install aptitude uuid mc
sudo mcedit /etc/dphys-swapfile
change CONF_SWAPSIZE=100 to 1024, save and sudo reboot (switching off the desktop via sudo raspi-config right now speeds things up from here on – recommended to do before that reboot!)
sudo aptitude
press ‘/’ and enter ‘firmware-brcm80211’, when found press ‘=’ to mark as hold and then ‘q’ to quit aptitude after confirmation
sudo apt-get full-upgrade
sudo reboot
you are now on the latest version of bullseye and you should still have working WiFi Image may be NSFW.
Clik here to view.
replace the content in /etc/apt/sources.list by
echo deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware > /etc/apt/sources.list
echo deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo \#Uncomment deb-src lines below then ‘apt-get update’ to enable ‘apt-get source’ >> /etc/apt/sources.list
echo \#deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo \#deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo \#deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware >> /etc/apt/sources.list
replace the content in /etc/apt/sources.list.d/raspi.list by
echo deb http://archive.raspberrypi.com/debian/ bookworm main > /etc/apt/sources.list.d/raspi.list
echo \#Uncomment line below then ‘apt-get update’ to enable ‘apt-get source’ >> /etc/apt/sources.list.d/raspi.list
echo \#deb-src http://archive.raspberrypi.com/debian/ bookworm main >> /etc/apt/sources.list.d/raspi.list
sudo apt-get update
sudo apt-get full-upgrade
this is a very large distribution upgrade for the Zero 2 W – this will take a lot of time…
sudo apt-get autoremove
now you should be on the latest version of bookworm – with Wifi working Image may be NSFW.
Clik here to view.
solved for me
2023-02 arm64 and armhf of RaspiOS are the last ones working for me (firmware-brcm80211 is from 2022 there) - and here's how I got from there to bookworm
sudo apt-get update
sudo apgt-get install aptitude uuid mc
sudo mcedit /etc/dphys-swapfile
change CONF_SWAPSIZE=100 to 1024, save and sudo reboot (switching off the desktop via sudo raspi-config right now speeds things up from here on – recommended to do before that reboot!)
sudo aptitude
press ‘/’ and enter ‘firmware-brcm80211’, when found press ‘=’ to mark as hold and then ‘q’ to quit aptitude after confirmation
sudo apt-get full-upgrade
sudo reboot
you are now on the latest version of bullseye and you should still have working WiFi Image may be NSFW.
Clik here to view.

replace the content in /etc/apt/sources.list by
echo deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware > /etc/apt/sources.list
echo deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo \#Uncomment deb-src lines below then ‘apt-get update’ to enable ‘apt-get source’ >> /etc/apt/sources.list
echo \#deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo \#deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware >> /etc/apt/sources.list
echo \#deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware >> /etc/apt/sources.list
replace the content in /etc/apt/sources.list.d/raspi.list by
echo deb http://archive.raspberrypi.com/debian/ bookworm main > /etc/apt/sources.list.d/raspi.list
echo \#Uncomment line below then ‘apt-get update’ to enable ‘apt-get source’ >> /etc/apt/sources.list.d/raspi.list
echo \#deb-src http://archive.raspberrypi.com/debian/ bookworm main >> /etc/apt/sources.list.d/raspi.list
sudo apt-get update
sudo apt-get full-upgrade
this is a very large distribution upgrade for the Zero 2 W – this will take a lot of time…
sudo apt-get autoremove
now you should be on the latest version of bookworm – with Wifi working Image may be NSFW.
Clik here to view.

solved for me
Statistics: Posted by mpetz — Wed May 01, 2024 8:40 pm