Hi,

I spent some time with OpenBSD 7.4 on a Raspberry Pi zero 2 W as well and I
have a couple of interesting points

In short, everything I tested works, with some work.

The default firmware in miniroot74.img is not able to bootstrap my board, it
will hang just after loading 'u-boot.bin'. (frozen console, rainbow on hdmi)

Worked around the issue by  replacing "bootcode.bin" "fixup.dat" and "start.elf"
in the miniroot, then I managed to proceed with the installation.
Of course I needed to repeat the operation after the installation was complete.

Wifi works perfectly,after I found the two needed firmware files and
installed them
in /etc/firmware to be able to bring the interface up.

Bwfm seems to look for a slightly different firmware than the one needed
so I had to look at the linux driver behavior to find the right one.

In my case the files loaded by the linux kernel were
brcmfmac43436s-sdio.bin and brcmfmac43436s-sdio.txt, so i copied them to
the sdcard with openbsd and renamed them respectively
brcmfmac43430-sdio.raspberrypi,model-zero-2-w.bin and
brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt as this is the names
requested by bwfm driver

Small note, based on google search there seem to be two different
zero 2w around with different wifi hw (with and without the s) and
they use different firmware as well

Kind regards.

Leonardo


Il giorno mer 22 nov 2023 alle ore 11:32 Joel Carnat <j...@carnat.net>
ha scritto:
>
> Hi,
>
> I have tested running OpenBSD 7.4 on a spare Raspberry Pi 2 W and it
> actually runs well.
>
> This is a Broadcom BCM2710A1:
> https://datasheets.raspberrypi.com/rpizero2/raspberry-pi-zero-2-w-product-brief.pdf
>
> You just need the DTB available here:
> https://github.com/raspberrypi/firmware/raw/master/boot/bcm2710-rpi-zero-2.dtb
>
> The wireless card does not work because the firmware is not found:
> bwfm0: failed loadfirmware of file
> brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt
>
> Full dmesg is available here:
> https://dmesgd.nycbug.org/index.cgi?do=view&id=7392
>
> Hope it helps,
> Joel C.
>

Reply via email to