summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/firmware-imx
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2021-01-18 12:49:29 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2021-01-21 08:37:58 -0300
commitcba592d8b32e32e6dd9570ec5288ce8c857564b4 (patch)
tree8ffca08adc1db5a69e26af7d33b2b3554bb4858a /recipes-bsp/firmware-imx
parent9b306b3cd7c2a8ce7a23bcaa8f8c0c861fc66b7e (diff)
downloadmeta-freescale-cba592d8b32e32e6dd9570ec5288ce8c857564b4.tar.gz
firmware-nxp-wifi: Add recipe for Broadcom firmware
Redistribute Broadcom firmware provided by Murata, under standard NXP EULA. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-bsp/firmware-imx')
-rw-r--r--recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb81
1 files changed, 81 insertions, 0 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
new file mode 100644
index 00000000..4c838d03
--- /dev/null
+++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
@@ -0,0 +1,81 @@
1# Copyright 2020-2021 NXP
2
3SUMMARY = "Wi-Fi firmware redistributed by NXP"
4SECTION = "kernel"
5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28"
7
8SRC_URI = "git://github.com/NXP/imx-firmware.git;protocol=https"
9SRCREV = "484d38224fa2c26b8859a7bf20b7c4d49100f5bc"
10
11S = "${WORKDIR}/git"
12
13inherit allarch
14
15CLEANBROKEN = "1"
16
17do_compile() {
18 :
19}
20
21do_install() {
22 install -d ${D}${sysconfdir}/firmware
23 install -d ${D}${nonarch_base_libdir}/firmware/brcm
24
25 # Install various flavors of Broadcom firmware provided by Murata
26 install -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac* ${D}${nonarch_base_libdir}/firmware/brcm
27 install -m 0644 cyw-wifi-bt/*_CYW*/BCM*.hcd ${D}${sysconfdir}/firmware
28}
29
30PACKAGES =+ " \
31 ${PN}-bcm4339 \
32 ${PN}-bcm43430 \
33 ${PN}-bcm43455 \
34 ${PN}-bcm4356-pcie \
35 ${PN}-bcm4359-pcie \
36"
37
38FILES_${PN}-bcm4339 = " \
39 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.* \
40 ${sysconfdir}/firmware/BCM4335C0.ZP.hcd \
41"
42
43FILES_${PN}-bcm43430 = " \
44 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \
45 ${sysconfdir}/firmware/BCM43430A1.1DX.hcd \
46"
47
48FILES_${PN}-bcm43455 = " \
49 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \
50 ${sysconfdir}/firmware/BCM4345C0.1MW.hcd \
51"
52
53FILES_${PN}-bcm4356-pcie = " \
54 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \
55 ${sysconfdir}/firmware/BCM4354A2.1CX.hcd \
56"
57
58FILES_${PN}-bcm4359-pcie = " \
59 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \
60 ${sysconfdir}/firmware/BCM4349B1_*.hcd \
61"
62
63RCONFLICTS_${PN}-bcm4339 = "linux-firmware-bcm4339"
64RPROVIDES_${PN}-bcm4339 = "linux-firmware-bcm4339"
65RREPLACES_${PN}-bcm4339 = "linux-firmware-bcm4339"
66
67RCONFLICTS_${PN}-bcm43430 = "linux-firmware-bcm43430"
68RPROVIDES_${PN}-bcm43430 = "linux-firmware-bcm43430"
69RREPLACES_${PN}-bcm43430 = "linux-firmware-bcm43430"
70
71RCONFLICTS_${PN}-bcm43455 = "linux-firmware-bcm43455"
72RPROVIDES_${PN}-bcm43455 = "linux-firmware-bcm43455"
73RREPLACES_${PN}-bcm43455 = "linux-firmware-bcm43455"
74
75RCONFLICTS_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie"
76RPROVIDES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie"
77RREPLACES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie"
78
79RCONFLICTS_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"
80RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"
81RREPLACES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"