d92f86849a
Provide convenience links for BCM43455/CYW43455 based RPi3A+, RPi3B+ and RPi4B WIFI firmware configuration files to avoid runtime firmware loading warning in the kernel logs, e.g. (RPi3B+): brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt failed with error -2 or (RP4B): brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2 Signed-off-by: Peter Seiderer <ps.report@gmx.net> [me: slight rewording/rewrapping in commit log] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
21 lines
1004 B
Makefile
21 lines
1004 B
Makefile
################################################################################
|
|
#
|
|
# rpi-wifi-firmware
|
|
#
|
|
################################################################################
|
|
|
|
RPI_WIFI_FIRMWARE_VERSION = 883b72628de1d7efa45b421da0cbf175ac2374f8
|
|
RPI_WIFI_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_WIFI_FIRMWARE_VERSION))
|
|
RPI_WIFI_FIRMWARE_LICENSE = PROPRIETARY
|
|
RPI_WIFI_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx
|
|
|
|
define RPI_WIFI_FIRMWARE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -d $(TARGET_DIR)/lib/firmware/brcm
|
|
$(INSTALL) -m 0644 $(@D)/firmware/brcm/brcmfmac* $(TARGET_DIR)/lib/firmware/brcm
|
|
ln -sf brcmfmac43455-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt
|
|
ln -sf brcmfmac43455-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
|
|
ln -sf brcmfmac43455-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt
|
|
endef
|
|
|
|
$(eval $(generic-package))
|