Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Paul Etienne <fractalclone@gmail.com>
To: buildroot@buildroot.org
Cc: Jean-Paul Etienne <fractalclone@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 2/3] package/brcmfmac_sdio-firmware: new package
Date: Thu, 17 Sep 2026 21:17:16 +0200	[thread overview]
Message-ID: <20260917191717.2471859-2-fractalclone@gmail.com> (raw)
In-Reply-To: <20260917191717.2471859-1-fractalclone@gmail.com>

Package containing Broadcom Bluetooth and Wifi
firmware for various boards, like pine64, orange-pi,
radxa boards, etc.

Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/brcmfmac_sdio-firmware/Config.in       |  6 ++++++
 .../brcmfmac_sdio-firmware.hash                |  2 ++
 .../brcmfmac_sdio-firmware.mk                  | 18 ++++++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/brcmfmac_sdio-firmware/Config.in
 create mode 100644 package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.hash
 create mode 100644 package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 6d69fd4663..2fd4c6e26f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1617,6 +1617,7 @@ N:	Jean Burgat <jeanburgat33@gmail.com>
 F:	package/openfpgaloader/
 
 N:	Jean-Paul Etienne <fractalclone@gmail.com>
+F:	package/brcmfmac_sdio-firmware
 F:	package/rockchip-rkdeveloptool
 
 N:	Jens Kleintje <scooby22@web.de>
diff --git a/package/Config.in b/package/Config.in
index 243b390d1c..49bf37e1fe 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -438,6 +438,7 @@ menu "Firmware"
 	source "package/am33x-cm3/Config.in"
 	source "package/armbian-firmware/Config.in"
 	source "package/b43-firmware/Config.in"
+	source "package/brcmfmac_sdio-firmware/Config.in"
 	source "package/brcmfmac_sdio-firmware-rpi/Config.in"
 	source "package/linux-firmware/Config.in"
 	source "package/murata-cyw-fw/Config.in"
diff --git a/package/brcmfmac_sdio-firmware/Config.in b/package/brcmfmac_sdio-firmware/Config.in
new file mode 100644
index 0000000000..6fab682d7b
--- /dev/null
+++ b/package/brcmfmac_sdio-firmware/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE
+	bool "brcmfmac-sdio-firmware"
+	help
+	  Broadcom Bluetooth and Wifi firmware for various boards
+
+	  https://github.com/LibreELEC/brcmfmac_sdio-firmware
diff --git a/package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.hash b/package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.hash
new file mode 100644
index 0000000000..0cff4fe397
--- /dev/null
+++ b/package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  52eb7cf8fce423ce760ded49ef3f5c3b77db70deab6fb0e50f476e50298b8a6f  brcmfmac_sdio-firmware-235def24db2f660780f697099834aa488e910882.tar.gz
diff --git a/package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.mk b/package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.mk
new file mode 100644
index 0000000000..30a823702e
--- /dev/null
+++ b/package/brcmfmac_sdio-firmware/brcmfmac_sdio-firmware.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# brcmfmac_sdio-firmware
+#
+################################################################################
+
+BRCMFMAC_SDIO_FIRMWARE_VERSION = 235def24db2f660780f697099834aa488e910882
+BRCMFMAC_SDIO_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware,$(BRCMFMAC_SDIO_FIRMWARE_VERSION))
+BRCMFMAC_SDIO_FIRMWARE_LICENSE = PROPRIETARY
+
+define BRCMFMAC_SDIO_FIRMWARE_INSTALL_TARGET_CMDS
+	$(INSTALL) -d $(TARGET_DIR)/lib/firmware/brcm
+	cp --remove-destination --no-dereference $(@D)/*.hcd $(TARGET_DIR)/lib/firmware/brcm
+	cp --remove-destination --no-dereference $(@D)/brcmfmac* $(TARGET_DIR)/lib/firmware/brcm
+	chmod 644 $(TARGET_DIR)/lib/firmware/brcm/*
+endef
+
+$(eval $(generic-package))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-09-17 19:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17 19:17 [Buildroot] [PATCH 1/3] package/rockchip-rkdeveloptool: new host package Jean-Paul Etienne
2026-09-17 19:17 ` Jean-Paul Etienne [this message]
2026-09-17 19:17 ` [Buildroot] [PATCH 3/3] configs/rock4b_defconfig: add support for Radxa ROCK-PI 4B board Jean-Paul Etienne
  -- strict thread matches above, loose matches on Subject: below --
2026-09-17 20:42 [Buildroot] [PATCH 0/3] Add support for " Jean-Paul Etienne
2026-09-17 20:42 ` [Buildroot] [PATCH 2/3] package/brcmfmac_sdio-firmware: new package Jean-Paul Etienne
2026-09-18  7:28   ` Thomas Petazzoni via buildroot
2026-09-18 11:08     ` Jean-Paul Etienne
2026-09-18 12:29       ` Thomas Petazzoni via buildroot
2026-09-18 17:45         ` Jean-Paul Etienne
2026-09-19 19:20           ` Jean-Paul Etienne
2026-09-20  9:01             ` Thomas Petazzoni via buildroot
2026-09-21 11:29               ` Jean-Paul Etienne
2026-10-07 11:11                 ` Jean-Paul Etienne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260917191717.2471859-2-fractalclone@gmail.com \
    --to=fractalclone@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox