[OpenWrt-Devel] [PATCH] brcm2708: Add support for CYW43455

Christo Nedev christo.nedev at gmail.com
Sun Jun 10 18:42:04 EDT 2018


brcmfmac-firmware-43455-sdio

Content:
brcmfmac43455-sdio.bin
brcmfmac43455-sdio.clm_blob
brcmfmac43455-sdio.txt

Source:
https://github.com/RPi-Distro/firmware-nonfree.git

Signed-off-by: Christo Nedev <christo.nedev at gmail.com>
---
 package/firmware/rpi-linux-firmware/Makefile    | 28 +++++++++++++++++++++++++
 package/firmware/rpi-linux-firmware/broadcom.mk | 10 +++++++++
 target/linux/brcm2708/Makefile                  |  2 +-
 3 files changed, 39 insertions(+), 1 deletion(-)
 create mode 100644 package/firmware/rpi-linux-firmware/Makefile
 create mode 100644 package/firmware/rpi-linux-firmware/broadcom.mk

diff --git a/package/firmware/rpi-linux-firmware/Makefile b/package/firmware/rpi-linux-firmware/Makefile
new file mode 100644
index 0000000000..1792c46fa0
--- /dev/null
+++ b/package/firmware/rpi-linux-firmware/Makefile
@@ -0,0 +1,28 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=rpi-linux-firmware
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/RPi-Distro/firmware-nonfree.git
+PKG_SOURCE_DATE:=2018-05-27
+PKG_SOURCE_VERSION:=86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
+PKG_MIRROR_HASH:=bef9efe173b87e7afc37bb856f9727c4ff64a1ee1cbe6640d22bae79601553bb
+
+SCAN_DEPS = *.mk
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/firmware-default
+  SECTION:=firmware
+  CATEGORY:=Firmware
+  URL:=https://github.com/RPi-Distro/firmware-nonfree.git
+  TITLE:=$(1)
+endef
+
+define Build/Compile
+
+endef
+
+include $(wildcard ./*.mk)
+#$(eval $(call BuildPackage,rpi-linux-firmware))
diff --git a/package/firmware/rpi-linux-firmware/broadcom.mk b/package/firmware/rpi-linux-firmware/broadcom.mk
new file mode 100644
index 0000000000..ef6bbbed2d
--- /dev/null
+++ b/package/firmware/rpi-linux-firmware/broadcom.mk
@@ -0,0 +1,10 @@
+Package/brcmfmac-firmware-43455-sdio = $(call Package/firmware-default,Broadcom BCM43455 FullMac SDIO firmware)
+define Package/brcmfmac-firmware-43455-sdio/install
+	$(INSTALL_DIR) $(1)/lib/firmware/brcm
+	$(INSTALL_DATA) \
+		$(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.bin \
+		$(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.clm_blob \
+		$(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.txt \
+		$(1)/lib/firmware/brcm/
+endef
+$(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio))
diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile
index 870029c4c8..cd74a0aba4 100644
--- a/target/linux/brcm2708/Makefile
+++ b/target/linux/brcm2708/Makefile
@@ -27,7 +27,7 @@ DEFAULT_PACKAGES += \
 	kmod-usb-hid \
 	kmod-sound-core kmod-sound-arm-bcm2835 \
 	kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
-	brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini \
+	brcmfmac-firmware-43430-sdio brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini \
 	partx-utils mkf2fs e2fsprogs
 
 KERNELNAME:=Image dtbs
-- 
2.11.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel



More information about the openwrt-devel mailing list