mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
linux-firmware-rpidistro: Added firmware for BCM43456
The new Raspberry Pi 400 (and perhaps the CM4 as well) use the BCM43456 chip from Broadcom/Synaptics. This adds the necessary firmware.
Signed-off-by: Aaron Shaw <aaron@balena.io>
(cherry picked from commit f82376c444
)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
parent
9cb0883651
commit
17b122785b
|
@ -8,6 +8,7 @@ SECTION = "kernel"
|
||||||
# In maintained upstream linux-firmware:
|
# In maintained upstream linux-firmware:
|
||||||
# * brcmfmac43430-sdio falls under LICENCE.cypress
|
# * brcmfmac43430-sdio falls under LICENCE.cypress
|
||||||
# * brcmfmac43455-sdio falls under LICENCE.broadcom_bcm43xx
|
# * brcmfmac43455-sdio falls under LICENCE.broadcom_bcm43xx
|
||||||
|
# * brcmfmac43456-sdio falls under LICENCE.broadcom_bcm43xx
|
||||||
#
|
#
|
||||||
# It is likely[^1] that both of these should be under LICENCE.cypress.
|
# It is likely[^1] that both of these should be under LICENCE.cypress.
|
||||||
# Further, at this time the text of LICENCE.broadcom_bcm43xx is the same
|
# Further, at this time the text of LICENCE.broadcom_bcm43xx is the same
|
||||||
|
@ -35,8 +36,8 @@ NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
|
SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
|
||||||
|
|
||||||
SRCREV = "98e815735e2c805d65994ccc608f399595b74438"
|
SRCREV = "b66ab26cebff689d0d3257f56912b9bb03c20567"
|
||||||
PV = "20190114-1+rpt8"
|
PV = "20190114-1+rpt10"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
@ -56,7 +57,7 @@ do_install() {
|
||||||
# Replace outdated linux-firmware files with updated ones from
|
# Replace outdated linux-firmware files with updated ones from
|
||||||
# raspbian firmware-nonfree. Raspbian adds blobs and nvram
|
# raspbian firmware-nonfree. Raspbian adds blobs and nvram
|
||||||
# definitions that are also necessary so copy those too.
|
# definitions that are also necessary so copy those too.
|
||||||
for fw in brcmfmac43430-sdio brcmfmac43455-sdio ; do
|
for fw in brcmfmac43430-sdio brcmfmac43455-sdio brcmfmac43456-sdio ; do
|
||||||
install -m 0644 brcm/${fw}.* ${D}${nonarch_base_libdir}/firmware/brcm/
|
install -m 0644 brcm/${fw}.* ${D}${nonarch_base_libdir}/firmware/brcm/
|
||||||
done
|
done
|
||||||
# add compat links. Fixes errors like
|
# add compat links. Fixes errors like
|
||||||
|
@ -71,16 +72,20 @@ PACKAGES = "\
|
||||||
${PN}-broadcom-license \
|
${PN}-broadcom-license \
|
||||||
${PN}-bcm43430 \
|
${PN}-bcm43430 \
|
||||||
${PN}-bcm43455 \
|
${PN}-bcm43455 \
|
||||||
|
${PN}-bcm43456 \
|
||||||
"
|
"
|
||||||
|
|
||||||
LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx-rpidistro"
|
LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx-rpidistro"
|
||||||
LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx-rpidistro"
|
LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx-rpidistro"
|
||||||
|
LICENSE_${PN}-bcm43456 = "Firmware-broadcom_bcm43xx-rpidistro"
|
||||||
LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx-rpidistro"
|
LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx-rpidistro"
|
||||||
FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx-rpidistro"
|
FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx-rpidistro"
|
||||||
FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*"
|
FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*"
|
||||||
FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*"
|
FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*"
|
||||||
|
FILES_${PN}-bcm43456 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43456*"
|
||||||
RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license"
|
RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license"
|
||||||
RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
|
RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
|
||||||
|
RDEPENDS_${PN}-bcm43456 += "${PN}-broadcom-license"
|
||||||
RCONFLICTS_${PN}-bcm43430 = "\
|
RCONFLICTS_${PN}-bcm43430 = "\
|
||||||
linux-firmware-bcm43430 \
|
linux-firmware-bcm43430 \
|
||||||
linux-firmware-raspbian-bcm43430 \
|
linux-firmware-raspbian-bcm43430 \
|
||||||
|
@ -97,6 +102,14 @@ RREPLACES_${PN}-bcm43455 = "\
|
||||||
linux-firmware-bcm43455 \
|
linux-firmware-bcm43455 \
|
||||||
linux-firmware-raspbian-bcm43455 \
|
linux-firmware-raspbian-bcm43455 \
|
||||||
"
|
"
|
||||||
|
RCONFLICTS_${PN}-bcm43456 = "\
|
||||||
|
linux-firmware-bcm43456 \
|
||||||
|
linux-firmware-raspbian-bcm43456 \
|
||||||
|
"
|
||||||
|
RREPLACES_${PN}-bcm43456 = "\
|
||||||
|
linux-firmware-bcm43456 \
|
||||||
|
linux-firmware-raspbian-bcm43456 \
|
||||||
|
"
|
||||||
|
|
||||||
# Firmware files are generally not run on the CPU, so they can be
|
# Firmware files are generally not run on the CPU, so they can be
|
||||||
# allarch despite being architecture specific
|
# allarch despite being architecture specific
|
||||||
|
|
Loading…
Reference in New Issue
Block a user