Trying to understand firmware for bwfm driver

Joel <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hello -- When booting my Pinebook Pro with NetBSD 10-RELEASE, I see the 
following in dmesg:

[     7.050526] kern.module.path=/stand/evbarm/10.0/modules
[     7.050526] bwfm0: Firmware file default: brcmfmac43455-sdio.bin
[     7.050526] bwfm0: Firmware file model-spec: 
brcmfmac43455-sdio.pine64,pinebook-pro.bin
[     7.060526] bwfm0: Found Firmware file: brcmfmac43455-sdio.bin
[     7.080526] bwfm0: NVRAM file default: brcmfmac43455-sdio.txt
[     7.080526] bwfm0: NVRAM file model-spec: 
brcmfmac43455-sdio.pine64,pinebook-pro.txt
[     7.080526] bwfm0: autoconfiguration error: NVRAM file not available
[     7.080526] bwfm0: CLM file default: brcmfmac43455-sdio.clm_blob
[     7.080526] bwfm0: CLM file model-spec: 
brcmfmac43455-sdio.pine64,pinebook-pro.clm_blob

Looking in /libdata/firmware/if_bwfm, I confirmed brcmfmac43455-sdio.txt 
and brcmfmac43455-sdio.pine64,pinebook-pro.bin are missing.

Looking at NetBSD10-RELEASE ./src/external/broadcom/bwfm/README, I do 
see the firmware files listed for the Pinebook Pro:
brcmfmac43456-sdio.bin
brcmfmac43456-sdio.clm_blob
brcmfmac43456-sdio.pine64,pinebook-pro.txt

Naively, I backed up brcmfmac43455-sdio.bin and created symbolic links 
to match the dmesg filenames to those from the README and rebooted. It 
loaded them but it did not initialize the network if.

Is support for the Broadcom wifi card in the Pinebook Pro about the 
kernel recognizing this specific HW and then finding the correct 
firmware files?
I assume there is more needed to support this in 
src/sys/dev/sdmmc/if_bwfm_sdio.c?

Thanks - Joel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.