rpi-wifi-firmware: new package
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 5 May 2017 18:37:41 +0000 (20:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 May 2017 09:31:43 +0000 (11:31 +0200)
commit5634f4028403dade0ba4b37bcb7f1338863dd919
treec7b774e0c0117bc28d7eaa772c6fbd40c533f71b
parentc2d6c4ac3277e545ef27b3d4f3e6d94e50d76256
rpi-wifi-firmware: new package

Add firmware (NVRAM data) for the Raspberry Pi 3 and Zero W wifi module.

Notice that linux-firmware provides the main firmware
(brcmfmac43430-sdio.bin), but the module also needs board specific
configuration (NVRAM) data.

For the rpi, this data is available in the RPI firmware-nonfree git repo.
As this repo contains a lot of unrelated data (~70MB), simply download the
single NVRAM file instead of cloning the entire repo.

A similar approach is used by openwrt and opensuse:

https://dev.openwrt.org/browser/trunk/package/firmware/brcmfmac43430-firmware/Makefile?rev=49139
https://build.opensuse.org/package/view_file/hardware/bcm43xx-firmware/bcm43xx-firmware.spec?rev=b1628448b36c85abc9215eab4785ef29

[Peter: add _FIRMWARE_LICENSE as suggested by Yann]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/rpi-wifi-firmware/Config.in [new file with mode: 0644]
package/rpi-wifi-firmware/rpi-wifi-firmware.hash [new file with mode: 0644]
package/rpi-wifi-firmware/rpi-wifi-firmware.mk [new file with mode: 0644]