blob: bce7b2cd0981491155814bb551b019bc6fe74e89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
# Copyright 2020-2021 NXP
SUMMARY = "Wi-Fi firmware redistributed by NXP"
DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP, \
which is not covered by linux-firmware package. Once package becomes \
available as a part of linux-firmware - it can be dropped from this \
recipe in favor of upstream."
SECTION = "kernel"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://EULA.txt;md5=be5ff43682ed6c57dfcbeb97651c2829"
SRC_URI = "git://github.com/NXP/imx-firmware.git;protocol=https;branch=${SRCBRANCH}"
SRCBRANCH = "lf-5.15.52_2.1.0"
SRCREV = "b6f070e3d4cab23932d9e6bc29e3d884a7fd68f4"
S = "${WORKDIR}/git"
inherit allarch
CLEANBROKEN = "1"
ALLOW_EMPTY:${PN} = "1"
do_compile() {
:
}
do_install() {
install -d ${D}${sysconfdir}/firmware
# Install various flavors of Broadcom firmware provided by Murata:
# - bcm4359-pcie
install -d ${D}${nonarch_base_libdir}/firmware/brcm
install -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie* ${D}${nonarch_base_libdir}/firmware/brcm
install -m 0644 cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd ${D}${sysconfdir}/firmware
# Install NXP Connectivity common
install -d ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/wifi_mod_para.conf ${D}${nonarch_base_libdir}/firmware/nxp
# Install NXP Connectivity SD8801 firmware
install -m 0644 nxp/FwImage_8801_SD/ed_mac_ctrl_V1_8801.conf ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8801_SD/sd8801_uapsta.bin ${D}${nonarch_base_libdir}/firmware/nxp
# Install NXP Connectivity SDIO8987 firmware
install -m 0644 nxp/FwImage_8987/ed_mac_ctrl_V3_8987.conf ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8987/sdiouart8987_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8987/txpwrlimit_cfg_8987.conf ${D}${nonarch_base_libdir}/firmware/nxp
# Install NXP Connectivity PCIE8997 firmware
install -m 0644 nxp/FwImage_8997/ed_mac_ctrl_V3_8997.conf ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8997/pcieuart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8997/txpwrlimit_cfg_8997.conf ${D}${nonarch_base_libdir}/firmware/nxp
# Install NXP Connectivity SDIO8997 firmware
install -m 0644 nxp/FwImage_8997_SD/ed_mac_ctrl_V3_8997.conf ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8997_SD/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_8997_SD/txpwrlimit_cfg_8997.conf ${D}${nonarch_base_libdir}/firmware/nxp
# Install NXP Connectivity PCIE9098 firmware
install -m 0644 nxp/FwImage_9098_PCIE/ed_mac_ctrl_V3_909x.conf ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_9098_PCIE/pcieuart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp
install -m 0644 nxp/FwImage_9098_PCIE/txpwrlimit_cfg_9098.conf ${D}${nonarch_base_libdir}/firmware/nxp
# Install NXP Connectivity SDIO9098 firmware
install -m 0644 nxp/FwImage_9098_SD/sdiouart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp
}
PACKAGES =+ " \
${PN}-bcm4359-pcie \
${PN}-nxp-common \
${PN}-nxp8801-sdio \
${PN}-nxp8987-sdio \
${PN}-nxp8997-common \
${PN}-nxp8997-pcie \
${PN}-nxp8997-sdio \
${PN}-nxp9098-pcie \
${PN}-nxp9098-sdio \
"
FILES:${PN}-bcm4359-pcie = " \
${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \
${sysconfdir}/firmware/BCM4349B1_*.hcd \
"
FILES:${PN}-nxp-common = " \
${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf \
"
FILES:${PN}-nxp8801-sdio = " \
${nonarch_base_libdir}/firmware/nxp/*8801* \
"
RDEPENDS:${PN}-nxp8801-sdio += "${PN}-nxp-common"
FILES:${PN}-nxp8987-sdio = " \
${nonarch_base_libdir}/firmware/nxp/*8987* \
"
RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-common"
FILES:${PN}-nxp8997-common = " \
${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \
${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \
"
RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common"
FILES:${PN}-nxp8997-pcie = " \
${nonarch_base_libdir}/firmware/nxp/pcieuart8997* \
"
RDEPENDS:${PN}-nxp8997-pcie += "${PN}-nxp8997-common"
FILES:${PN}-nxp8997-sdio = " \
${nonarch_base_libdir}/firmware/nxp/sdiouart8997* \
"
RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common"
FILES:${PN}-nxp9098-pcie = " \
${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \
${nonarch_base_libdir}/firmware/nxp/pcieuart9098* \
${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \
"
RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp-common"
FILES:${PN}-nxp9098-sdio = " \
${nonarch_base_libdir}/firmware/nxp/sdiouart9098* \
"
RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp-common"
|