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

Distro guidance for how to "install" the new rpi02w firmware #24

Closed
colemickens opened this issue May 28, 2022 · 3 comments
Closed

Distro guidance for how to "install" the new rpi02w firmware #24

colemickens opened this issue May 28, 2022 · 3 comments

Comments

@colemickens
Copy link

Hi,

I thought I had understood the gist of #23, but I'm still not seeing any wireless devices on the rpi02w.

I'm linking to the raw Nix file, but hopefully it's pretty explicit about what I'm doing:

https://github.com/colemickens/nixpkgs/blob/ca30f6b48d4be7a83fc479a4838d08d663f1146b/pkgs/os-specific/linux/firmware/raspberrypi-wireless/default.nix#L45-L50

    ln -s "./${rpi02w}-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43436-sdio.raspberrypi,model-zero-2.txt"
    ln -s "./${rpi02w}-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43436-sdio.raspberrypi,model-zero-2-w.txt"
    ln -s "./${rpi02w}f-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43436f-sdio.raspberrypi,model-zero-2.txt"
    ln -s "./${rpi02w}f-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43436f-sdio.raspberrypi,model-zero-2-w.txt"
    ln -s "./${rpi02w}s-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43436s-sdio.raspberrypi,model-zero-2.txt"
    ln -s "./${rpi02w}s-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.txt"

where rpi02w is set to brcmfmac43436.

Questions:

  • What is the "device name" that is used for the text file here (is this in device tree maybe?) Do I symlink all three variants of the firmware?
  • Is the rpi02w value correct?
  • What else should I check?

Thanks

@colemickens
Copy link
Author

I got something to work:

colemickens/nixpkgs@f94e62a

@XECDesign
Copy link
Member

This kind of thing is probably better addressed on the forum.

I'd just say compare what we ship Raspberry Pi OS with what ends up installed by the Nix package. Looking just as the .deb may be a bit misleading, since we use 'update-alternatives' in postinst.

@XECDesign
Copy link
Member

Heads up that some file names have changed.

cypress/cyfmac43455-sdio-standard.bin should be installed, or linked to brcm/brcmfmac43455-sdio.bin
You can see here for the difference between the standard and minimal versions.

brcm/brcmfmac43456f-sdio.bin has been renamed to brcm/brcmfmac43456-sdio.bin and should be installed as such.

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