Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RPI02W wifi driver?



Following on from Michael van Elst's post:

I noted that the linux boot used 43436 versions of the firmware files,
but the NetBSD system seemed to want to use 43430 ones. I copied the
linux firmware files to the NetBSD system renaming appropriately:

brcmfmac43436-sdio.bin to brcmfmac43430-sdio.bin
brcmfmac43436-sdio.clm_blob to brcmfmac43430-sdio.clm_blob
brcmfmac43436-sdio.raspberrypi,model-zero-2-w.bin to brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.bin
brcmfmac43436-sdio.raspberrypi,model-zero-2-w.clm_blob to
brcmfmac43430-sdio.raspberrypi,model-zero-2-w.clm_blob
 brcmfmac43436-sdio.raspberrypi,model-zero-2-w.txt to  brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.txt
 brcmfmac43436-sdio.txt to  brcmfmac43430-sdio.txt

A reboot produced:

...
[     5.097254] bwfm0: Found Firmware file: brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.bin
[     5.127256] bwfm0: NVRAM file default:    brcmfmac43430-sdio.txt
[     5.127256] bwfm0: NVRAM file model-spec: brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.txt
[     5.127256] bwfm0: Found NVRAM file: brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.txt
[     5.127256] bwfm0: CLM file default:    brcmfmac43430-sdio.clm_blob
[     5.127256] bwfm0: CLM file model-spec: brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.clm_blob
[     5.127256] bwfm0: Found CLM file: brcmfmac43430-
sdio.raspberrypi,model-zero-2-w.clm_blob
[     6.867502] bwfm0: CHIPACTIVE
[     6.967515] bwfm0: address e4:5f:01:3b:02:44
[     6.987518] bwfm0: wl0: Mar 31 2022 17:24:51 version 9.88.4.77
(g58bc5cc) FWID 01-3b307371
armv7# ifconfig -a
run0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ssid Penkett nwkey
65536:"","",0xec5bc2010d1e3be0366044f56298658a,""
	powersave off
	bssid 30:23:03:dc:25:c1 chan 1
	address: 9c:d6:43:6a:f0:76
	media: IEEE802.11 autoselect (OFDM9 mode 11g)
	status: active
	inet6 fe80::6998:9665:3004:800d%run0/64 flags 0 scopeid 0x1
	inet6 2001:470:1f09:b4:f63c:6dce:3097:8263/64 flags
0x40<AUTOCONF>
	inet6 fd62:f537:228f:0:6a44:7435:ca5:4b9e/64 flags
0x40<AUTOCONF>
	inet6 2001:470:1f09:b4::585/128 flags 0
	inet6 fd62:f537:228f::585/128 flags 0
	inet 192.168.0.101/24 broadcast 192.168.0.255 flags 0
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
	status: active
	inet6 ::1/128 flags 0x20<NODAD>
	inet6 fe80::1%lo0/64 flags 0 scopeid 0x2
	inet 127.0.0.1/8 flags 0
bwfm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ssid ""
	powersave off
	address: e4:5f:01:3b:02:44
	media: IEEE802.11 autoselect (DS1)
	status: no network

This was all under the (linux provided) dtb file

Subsequently I changed the wpa_config, rebooted and managed to log in
successfully over the bwfm wifi connection. However shortly after the
connection broke and I failed to get the system to boot again with the
linux dtb - this is worthy of an entry in the journal or unreproducible
results :-(

So I guess this shows that the rpi zero 2 wifi will work OK - it just
needs a bit of tinkering with the dtb.

Dave


Home | Main Index | Thread Index | Old Index