Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1 next] package/linux-firmware: Add options for ar301[12] bluetooth firmware.
@ 2019-11-29 16:31 Nicolas Cavallari
  2019-12-24 13:56 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Cavallari @ 2019-11-29 16:31 UTC (permalink / raw)
  To: buildroot

This add two options for firmwares used by the ath3k firmware loader
driver.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
---
 package/linux-firmware/Config.in         | 10 ++++++++
 package/linux-firmware/linux-firmware.mk | 31 ++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index f2658a97da..9d142d2c54 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -64,6 +64,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174A_BT
 	help
 	  Firmware files for QCA Rome 6174A bluetooth support.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_AR3011
+	bool "Qualcomm Atheros 3011"
+	help
+	  Firmware files for Atheros bluetooth chipset AR3011.
+
+config BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB
+	bool "Qualcomm Atheros 3012 (USB)"
+	help
+	  Firmware files for Atheros bluetooth chipset AR3012 on USB.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560
 	bool "TI CC2560"
 	help
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 5596651532..9d86ce57b2 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -114,6 +114,37 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
 endif
 
+# ar3011
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3011),y)
+LINUX_FIRMWARE_FILES += ath3k-1.fw
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
+endif
+
+# ar3012
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB),y)
+LINUX_FIRMWARE_FILES += \
+	ar3k/AthrBT_0x01020001.dfu \
+	ar3k/ramps_0x01020001_26.dfu \
+	ar3k/AthrBT_0x01020200.dfu \
+	ar3k/ramps_0x01020200_26.dfu \
+	ar3k/ramps_0x01020200_40.dfu \
+	ar3k/AthrBT_0x31010000.dfu \
+	ar3k/ramps_0x31010000_40.dfu \
+	ar3k/AthrBT_0x11020000.dfu \
+	ar3k/ramps_0x11020000_40.dfu \
+	ar3k/ramps_0x01020201_26.dfu \
+	ar3k/ramps_0x01020201_40.dfu \
+	ar3k/AthrBT_0x41020000.dfu \
+	ar3k/ramps_0x41020000_40.dfu \
+	ar3k/AthrBT_0x11020100.dfu \
+	ar3k/ramps_0x11020100_40.dfu \
+	ar3k/AthrBT_0x31010100.dfu \
+	ar3k/ramps_0x31010100_40.dfu \
+	ar3k/AthrBT_0x01020201.dfu
+LINUX_FIRMWARE_ALL_LICENSE_FILES += \
+	LICENCE.atheros_firmware LICENSE.QualcommAtheros_ar3k
+endif
+
 # ar6002
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y)
 LINUX_FIRMWARE_FILES += ath6k/AR6002
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1 next] package/linux-firmware: Add options for ar301[12] bluetooth firmware.
  2019-11-29 16:31 [Buildroot] [PATCH 1/1 next] package/linux-firmware: Add options for ar301[12] bluetooth firmware Nicolas Cavallari
@ 2019-12-24 13:56 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-12-24 13:56 UTC (permalink / raw)
  To: buildroot

On Fri, 29 Nov 2019 17:31:44 +0100
Nicolas Cavallari <nicolas.cavallari@green-communications.fr> wrote:

> This add two options for firmwares used by the ath3k firmware loader
> driver.
> 
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>

Thanks, I've applied, but after doing two changes:

 (1) Split into two commits, one for the AR3011 firmware and one for
 the AR3012 firmware. These are independent things, so they should be
 added by two independent commits

 (2) Add the hash of the additional license file you're using for
 AR3012, LICENSE.QualcommAtheros_ar3k

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-24 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-29 16:31 [Buildroot] [PATCH 1/1 next] package/linux-firmware: Add options for ar301[12] bluetooth firmware Nicolas Cavallari
2019-12-24 13:56 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox