summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/firmware-imx
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-04-21 13:10:57 -0300
committerGitHub <noreply@github.com>2023-04-21 13:10:57 -0300
commit94d6b1dd092281e59ec76887e069d4c726fe8d32 (patch)
tree4c28b157e0823bac9496d0f69fe967923928f57a /recipes-bsp/firmware-imx
parent7ab68ec6c5923c61c379464c0636b12f8730de6f (diff)
parentd230a8b1f603d01c6eb1220d0066f3a90a75f65a (diff)
downloadmeta-freescale-94d6b1dd092281e59ec76887e069d4c726fe8d32.tar.gz
Merge pull request #1510 from thochstein/firmware-nxp-wifi
Fix firmware-nxp-wifi update
Diffstat (limited to 'recipes-bsp/firmware-imx')
-rw-r--r--recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb35
1 files changed, 31 insertions, 4 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
index cfa449c3..af2a79e4 100644
--- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
+++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
@@ -28,11 +28,16 @@ do_compile() {
28do_install() { 28do_install() {
29 # Install various flavors of Broadcom firmware provided by Murata: 29 # Install various flavors of Broadcom firmware provided by Murata:
30 # - bcm4359-pcie 30 # - bcm4359-pcie
31 install -D -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie* ${D}${nonarch_base_libdir}/firmware/brcm 31 for f in cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie*; do
32 install -m 0644 cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd ${D}${sysconfdir}/firmware 32 install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/brcm/$(basename $f)
33 done
34
35 for f in cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd; do
36 install -D -m 0644 $f ${D}${sysconfdir}/firmware/$(basename $f)
37 done
33 38
34 # Install NXP Connectivity common 39 # Install NXP Connectivity common
35 install -D -m 0644 nxp/wifi_mod_para.conf ${D}${nonarch_base_libdir}/firmware/nxp 40 install -D -m 0644 nxp/wifi_mod_para.conf ${D}${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf
36 41
37 # Install NXP Connectivity SD8801 firmware 42 # Install NXP Connectivity SD8801 firmware
38 install -m 0644 nxp/FwImage_8801_SD/ed_mac_ctrl_V1_8801.conf ${D}${nonarch_base_libdir}/firmware/nxp 43 install -m 0644 nxp/FwImage_8801_SD/ed_mac_ctrl_V1_8801.conf ${D}${nonarch_base_libdir}/firmware/nxp
@@ -62,10 +67,17 @@ do_install() {
62 install -m 0644 nxp/FwImage_9098_SD/sdiouart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp 67 install -m 0644 nxp/FwImage_9098_SD/sdiouart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp
63 68
64 # Install NXP Connectivity IW416 firmware 69 # Install NXP Connectivity IW416 firmware
70 install -m 0644 nxp/FwImage_IW416_SD/sdioiw416_wlan_v0.bin ${D}${nonarch_base_libdir}/firmware/nxp
65 install -m 0644 nxp/FwImage_IW416_SD/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/nxp 71 install -m 0644 nxp/FwImage_IW416_SD/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/nxp
72 install -m 0644 nxp/FwImage_IW416_SD/uartiw416_bt_v0.bin ${D}${nonarch_base_libdir}/firmware/nxp
66 73
67 # Install NXP Connectivity IW612 firmware 74 # Install NXP Connectivity IW612 firmware
68 install -m 0644 nxp/FwImage_IW612_SD/sduart_nw61x_v1.bin.se ${D}${nonarch_base_libdir}/firmware/nxp 75 install -m 0644 nxp/FwImage_IW612_SD/sduart_nw61x_v1.bin.se ${D}${nonarch_base_libdir}/firmware/nxp
76 install -m 0644 nxp/FwImage_IW612_SD/sd_w61x_v1.bin.se ${D}${nonarch_base_libdir}/firmware/nxp
77 install -m 0644 nxp/FwImage_IW612_SD/uartspi_n61x_v1.bin.se ${D}${nonarch_base_libdir}/firmware/nxp
78 for f in nxp/FwImage_IW612_SD/IW612_SD_RFTest/*; do
79 install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/$(basename $f)
80 done
69} 81}
70 82
71PACKAGES =+ " \ 83PACKAGES =+ " \
@@ -78,6 +90,8 @@ PACKAGES =+ " \
78 ${PN}-nxp8997-sdio \ 90 ${PN}-nxp8997-sdio \
79 ${PN}-nxp9098-pcie \ 91 ${PN}-nxp9098-pcie \
80 ${PN}-nxp9098-sdio \ 92 ${PN}-nxp9098-sdio \
93 ${PN}-nxpiw416-sdio \
94 ${PN}-nxpiw612-sdio \
81" 95"
82 96
83FILES:${PN}-bcm4359-pcie = " \ 97FILES:${PN}-bcm4359-pcie = " \
@@ -126,3 +140,16 @@ FILES:${PN}-nxp9098-sdio = " \
126 ${nonarch_base_libdir}/firmware/nxp/sdiouart9098* \ 140 ${nonarch_base_libdir}/firmware/nxp/sdiouart9098* \
127" 141"
128RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp-common" 142RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp-common"
143
144FILES:${PN}-nxpiw416-sdio = " \
145 ${nonarch_base_libdir}/firmware/nxp/*iw416* \
146"
147RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common"
148
149FILES:${PN}-nxpiw612-sdio = " \
150 ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \
151 ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \
152 ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \
153 ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \
154"
155RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common"