depends on BR2_arm || BR2_aarch64
help
Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module
- firmware.
+ firmware. Raspberry Pi 3 Model B+ Broadcom BCM4345C0
+ Bluetooth module firmware.
- https://aur.archlinux.org/packages/pi-bluetooth
+ https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi
# Locally computed
-sha256 5d9c9364277414ffd67b4a266cdf88e92f28eb937e5a413750e87b7a94161bef rpi-bt-firmware-a439f892bf549ddfefa9ba7ad1999cc515f233bf.tar.gz
+sha256 beade89c5c072158b6cf18cf741d2695980fd6a4533dab3897bebf90c0631a30 rpi-bt-firmware-18d7c931aff0a8a78360b9b9eaeb15d1224fb907.tar.gz
+sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d LICENCE.broadcom_bcm43xx
#
################################################################################
-RPI_BT_FIRMWARE_VERSION = a439f892bf549ddfefa9ba7ad1999cc515f233bf
-RPI_BT_FIRMWARE_SITE = https://aur.archlinux.org/pi-bluetooth.git
-RPI_BT_FIRMWARE_SITE_METHOD = git
+RPI_BT_FIRMWARE_VERSION = 18d7c931aff0a8a78360b9b9eaeb15d1224fb907
+RPI_BT_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_BT_FIRMWARE_VERSION))
RPI_BT_FIRMWARE_LICENSE = PROPRIETARY
RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx
+RPI_BT_FIRMWARE_FILES = brcm/BCM43430A1.hcd BCM4345C0.hcd
+
define RPI_BT_FIRMWARE_INSTALL_TARGET_CMDS
- $(INSTALL) -D -m 0644 $(@D)/BCM43430A1.hcd \
- $(TARGET_DIR)/lib/firmware/BCM43430A1.hcd
+ $(foreach file,$(RPI_BT_FIRMWARE_FILES),\
+ $(INSTALL) -D -m 0644 $(@D)/firmware/$(file) $(TARGET_DIR)/lib/firmware/$(notdir $(file))
+ )
endef
$(eval $(generic-package))