All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/armbian-firmware: add option to install AP6212 firmware
@ 2021-07-11 20:27 Corentin Labbe
  2021-07-20 19:47 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2021-07-11 20:27 UTC (permalink / raw)
  To: buildroot

This WiFi/BT chip is used on some Allwinner based boards like BananaPI M3.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 package/armbian-firmware/Config.in           | 5 +++++
 package/armbian-firmware/armbian-firmware.mk | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/package/armbian-firmware/Config.in b/package/armbian-firmware/Config.in
index 7c5f6ba193..5c3e93abaa 100644
--- a/package/armbian-firmware/Config.in
+++ b/package/armbian-firmware/Config.in
@@ -23,4 +23,9 @@ config BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819
 	help
 	  Firmware files for XR819 WiFi SDIO chip.
 
+config BR2_PACKAGE_ARMBIAN_FIRMWARE_BRCM43XXX
+	bool "BRCM43XXX WiFi/BT"
+	help
+	  Firmware files for BRCM43XXX AP6212 WiFi/BT combo chip.
+
 endif
diff --git a/package/armbian-firmware/armbian-firmware.mk b/package/armbian-firmware/armbian-firmware.mk
index 0ed069025d..dab3890cdd 100644
--- a/package/armbian-firmware/armbian-firmware.mk
+++ b/package/armbian-firmware/armbian-firmware.mk
@@ -29,6 +29,13 @@ ARMBIAN_FIRMWARE_FILES += \
 	xr819/sdd_xr819.bin
 endif
 
+# AP6212 WiFi/BT combo firmware
+ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_BRCM43XXX),y)
+ARMBIAN_FIRMWARE_FILES += \
+	brcm/brcmfmac43430-sdio.txt \
+	brcm/brcmfmac43430a0-sdio.txt
+endif
+
 ifneq ($(ARMBIAN_FIRMWARE_FILES),)
 define ARMBIAN_FIRMWARE_INSTALL_FILES
 	cd $(@D) && \
-- 
2.25.1

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

* [Buildroot] [PATCH 1/1] package/armbian-firmware: add option to install AP6212 firmware
  2021-07-11 20:27 [Buildroot] [PATCH 1/1] package/armbian-firmware: add option to install AP6212 firmware Corentin Labbe
@ 2021-07-20 19:47 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-07-20 19:47 UTC (permalink / raw)
  To: buildroot

Hello Corentin,

On Sun, 11 Jul 2021 20:27:29 +0000
Corentin Labbe <clabbe@baylibre.com> wrote:

> This WiFi/BT chip is used on some Allwinner based boards like BananaPI M3.
> 
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>

Could you try to use ./brcm/brcmfmac43430-sdio.AP6212.txt from the
official linux-firmware project instead ? (This might require an update
to the Buildroot linux-firmware package, of course).

The reason I'm suggesting this is that linux-firmware has some BCM43430
firmware, and rpi-wifi-firmware also has some BCM43430, so if we can
avoid adding a third way of getting the same firmware, it would be nice.

Thanks a lot!

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

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

end of thread, other threads:[~2021-07-20 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11 20:27 [Buildroot] [PATCH 1/1] package/armbian-firmware: add option to install AP6212 firmware Corentin Labbe
2021-07-20 19:47 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.