diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-01-18 12:49:29 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-01-21 08:37:58 -0300 |
commit | cba592d8b32e32e6dd9570ec5288ce8c857564b4 (patch) | |
tree | 8ffca08adc1db5a69e26af7d33b2b3554bb4858a /recipes-bsp/firmware-imx | |
parent | 9b306b3cd7c2a8ce7a23bcaa8f8c0c861fc66b7e (diff) | |
download | meta-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.bb | 81 |
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 | |||
3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | ||
4 | SECTION = "kernel" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28" | ||
7 | |||
8 | SRC_URI = "git://github.com/NXP/imx-firmware.git;protocol=https" | ||
9 | SRCREV = "484d38224fa2c26b8859a7bf20b7c4d49100f5bc" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit allarch | ||
14 | |||
15 | CLEANBROKEN = "1" | ||
16 | |||
17 | do_compile() { | ||
18 | : | ||
19 | } | ||
20 | |||
21 | do_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 | |||
30 | PACKAGES =+ " \ | ||
31 | ${PN}-bcm4339 \ | ||
32 | ${PN}-bcm43430 \ | ||
33 | ${PN}-bcm43455 \ | ||
34 | ${PN}-bcm4356-pcie \ | ||
35 | ${PN}-bcm4359-pcie \ | ||
36 | " | ||
37 | |||
38 | FILES_${PN}-bcm4339 = " \ | ||
39 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.* \ | ||
40 | ${sysconfdir}/firmware/BCM4335C0.ZP.hcd \ | ||
41 | " | ||
42 | |||
43 | FILES_${PN}-bcm43430 = " \ | ||
44 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \ | ||
45 | ${sysconfdir}/firmware/BCM43430A1.1DX.hcd \ | ||
46 | " | ||
47 | |||
48 | FILES_${PN}-bcm43455 = " \ | ||
49 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \ | ||
50 | ${sysconfdir}/firmware/BCM4345C0.1MW.hcd \ | ||
51 | " | ||
52 | |||
53 | FILES_${PN}-bcm4356-pcie = " \ | ||
54 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \ | ||
55 | ${sysconfdir}/firmware/BCM4354A2.1CX.hcd \ | ||
56 | " | ||
57 | |||
58 | FILES_${PN}-bcm4359-pcie = " \ | ||
59 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \ | ||
60 | ${sysconfdir}/firmware/BCM4349B1_*.hcd \ | ||
61 | " | ||
62 | |||
63 | RCONFLICTS_${PN}-bcm4339 = "linux-firmware-bcm4339" | ||
64 | RPROVIDES_${PN}-bcm4339 = "linux-firmware-bcm4339" | ||
65 | RREPLACES_${PN}-bcm4339 = "linux-firmware-bcm4339" | ||
66 | |||
67 | RCONFLICTS_${PN}-bcm43430 = "linux-firmware-bcm43430" | ||
68 | RPROVIDES_${PN}-bcm43430 = "linux-firmware-bcm43430" | ||
69 | RREPLACES_${PN}-bcm43430 = "linux-firmware-bcm43430" | ||
70 | |||
71 | RCONFLICTS_${PN}-bcm43455 = "linux-firmware-bcm43455" | ||
72 | RPROVIDES_${PN}-bcm43455 = "linux-firmware-bcm43455" | ||
73 | RREPLACES_${PN}-bcm43455 = "linux-firmware-bcm43455" | ||
74 | |||
75 | RCONFLICTS_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie" | ||
76 | RPROVIDES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie" | ||
77 | RREPLACES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie" | ||
78 | |||
79 | RCONFLICTS_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" | ||
80 | RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" | ||
81 | RREPLACES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" | ||