Skip to contentSkip to conversation

package/armbian-firmware: add option to install AP6212 firmware

PATCH New Corentin Labbe 2 participants 2 messages Jul 11, 2021 – Jul 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/armbian-firmware: add option to install AP6212 firmware

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

---
 package/armbian-firmware/Config.in           | 5 +++++
 package/armbian-firmware/armbian-firmware.mk | 7 +++++++
 2 files changed, 12 insertions(+)
package/armbian-firmware/Config.in +5 -0
index 7c5f6ba193..5c3e93abaa 100644
@@ -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
package/armbian-firmware/armbian-firmware.mk +7 -0
index 0ed069025d..dab3890cdd 100644
@@ -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) && \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/armbian-firmware: add option to install AP6212 firmware

Hello Corentin,

Quoted 3 lines · On Sun, 11 Jul 2021 20:27:29 +0000 Corentin Labbe <[email protected]> wrote:

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

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

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