Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI3: Instructions on how to compile kernel with functional wifi #125

Open
phinxy opened this issue Jan 17, 2020 · 2 comments
Open

RPI3: Instructions on how to compile kernel with functional wifi #125

phinxy opened this issue Jan 17, 2020 · 2 comments

Comments

@phinxy
Copy link

phinxy commented Jan 17, 2020

NetBSD-current does not have a working wifi driver for raspberrypi-3, it is unclear to me how Jun modified the kernel source tree to make the kernel set up a functional wifi device.
It seems that something compiled in to Jun's kernel makes it load the brcmfmac43430-sdio.bin while a unmodified GENERIC64 aarch64 NetBSD-current does not.

@phinxy
Copy link
Author

phinxy commented Jan 18, 2020

Question 1: What does "bwfm* at sdmmc?" in kernel configuration accomplish?

Question 2: Should the brcmfmac43430-sdio.bin be copied in to this directory /usr/src/external/broadcom/bwfm/dist/ and then should the makefile in the directory above, plus distrib/sets/lists/base/mi be edited to accommodate the firmware?

Question 3: There are no *-sdio.bin in the source tree when there are *-pcie.bin's, how come?

@jdek
Copy link

jdek commented Feb 20, 2020

It seems that something compiled in to Jun's kernel makes it load the brcmfmac43430-sdio.bin while a unmodified GENERIC64 aarch64 NetBSD-current does not.

I am also wondering about this for the RPI4 because the bwfm is not shown at all in dmesg. bwfm* at sdmmc? is already in GENERIC kernel so there should be no need to add it manually I think(?).

I'm using brcmfmac43455 for the RPI4 (which I think is the right firmware).

Edit:
I've been told in the netbsd IRC channel that it might be a .dtb issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants