Raspberry Pi Zero 2 W and OpenWRT 23.05.x

Good morning,
is there a version of OpenWRT that can be installed on the Raspberry Pi Zero 2 W?
I followed various links (regarding old versions) that tell me to copy the drivers, but they don't work (https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=e9f9cd14cc71826957877999fd063dd080de4751) and the system crashes on boot.
Is there anyone able to help me?

Thank you

aren't those drivers for wifi only ?

The problem is that I don't understand which version to use. There is no specific for the PI Zero 2 W model.
Even if I don't add the wifi drivers, the raspi doesn't arrive at login, it stops at boot.
As soon as I find the good version, I insert the drivers and try to connect to the wifi.

based on the Makefile from the git you linked to, it's bcm2710.

just FYI, the wifi on the 2W (like all wifi enabled RPi:s) will be utterly crappy.

I dont have it, so I can only cite an older thread.

The real experts say, to use the RPi 3 OpenWRT firmware image, as the Zero 2 has the same CPU: Software for Pi Zero 2 W - #22 by daemonix

On top of that, the Wifi driver needs to be added manually (if you dare to use the internal Wifi), as the Pi foundation continues to refuse to officially opensource the Wifi blob for the Zero 2w for I think more than 2 years now, which still prevents OpenWRT from providing an official image.

But I do not know the definitive recipie for the Wifi driver, I roughly remember there might be 2 slightly different Wifi chips (2 different chip foundries? Infineon? Cypress?) in use, where each might need a different Wifi blob, so you may need to try up to 2 blob packages + the driver package (and I can‘t name either, as I don‘t know the correct package names).

Well. if he does not get the internal WiFi working he is going to have issues using the one USB onboard with USB hub with WiFi 2 radios on the same hub may have issues.

If he does decide to get dongles he will need to put them on, about, 3' usb cords to separate them.
And he may even need a hub that has a power supply.

Honestly, I want to see him succeed because I have both the W and 2..

That would be the ultimate travel router.

Try this build, (https://firmware-selector.openwrt.org/?version=23.05.0&target=bcm27xx%2Fbcm2709&id=rpi-2) choose (Customize installed packages and/or first boot script) put the drivers for your USB dongles here (libc^^^^ libgcc) where the carets are.

Choose 'Request build'.

Your zero may get hot. Mine get hot just running pihole updates. I got a fan but I wish I'd gotten Argons metal passive cooling case.

I, personally, would not use the internal WiFi for my house. I'd get dongles and put them on 3' cords or whatever you have sitting around and I would get a very smart hub. Some have Ethernet ports; which is convenient.

Anyway, tell us how it worked out.

Looks like the customizer part in the firmware selector is still broken.

It creates the image, but when trying to download it, it links to a non-existing page

I've seen it take hours to generate the firmware; I assumed the server was overloaded. I just asked it to build firmware, it was slow, but not crazy slow.

When I picked (factory (ext) it just opened my download folder.

I've never seen it finish a compile and then crap out on the link.

Try it again, if you put the USB driver in the wrong place it would just return something like 'build failed'

hi all,

at the moment z2w is quite easy. you just need an rpi3 image (I have event used the official online builder to add USB HUB and extra wifi pkgs etc).

If you need internal wifi you need to copu some files (check my post) and make simbolic links (ln -s ...)

I added extra wifi on mine but routing from one USB to another is slow... ETH to WIFI-Client is good. WIFI-AP to WIFI-Client (like a traver router) is very slow.

1 Like

Many thanks!
Would you please link to your post?

Pico’s post, 5-6 posts above mine have the link.

I appreciate everyone in this thread. Based on what was said I downloaded the OpenWRT image for the Raspberry Pi 3B+ version 23.05.2 as of when I'm writing this. I have a Raspberry Pi 3B+ and I set up OpenWRT on that device. Then I just took out the microsd card and put it in my Raspberry Pi Zero 2 W and it booted just fine. I had to re-configure the USB wifi adapter because it changed to a different radio number for some reason. I have a micro USB hub and I might try adding a second USB wifi adapter to avoid using the onboard wifi altogether.

My 3B+ and Zero 2W both used Cypress adapters by the way.

In case anyone ends up here, I have a PR in for Pi Zero 2 and Zero 2w here: https://github.com/openwrt/openwrt/pull/15158.

1 Like

... which is now merged.

1 Like