summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Shaw <shawaj@gmail.com>2020-12-08 03:24:07 +0000
committerAndrei Gherzan <andrei@gherzan.ro>2020-12-09 00:17:10 +0000
commitf82376c44432c55772941e46224f43edd1cbf2fc (patch)
tree49d207c1cda16341b3cd25e7b20fb8f6982db810
parent1ae52a743c077565e5d4e2f49ede90bbdff45fbf (diff)
downloadmeta-raspberrypi-f82376c44432c55772941e46224f43edd1cbf2fc.tar.gz
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>
-rw-r--r--recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb19
1 files changed, 16 insertions, 3 deletions
diff --git a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
index 9bff83e..671dfa2 100644
--- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
+++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
@@ -8,6 +8,7 @@ SECTION = "kernel"
8# In maintained upstream linux-firmware: 8# In maintained upstream linux-firmware:
9# * brcmfmac43430-sdio falls under LICENCE.cypress 9# * brcmfmac43430-sdio falls under LICENCE.cypress
10# * brcmfmac43455-sdio falls under LICENCE.broadcom_bcm43xx 10# * brcmfmac43455-sdio falls under LICENCE.broadcom_bcm43xx
11# * brcmfmac43456-sdio falls under LICENCE.broadcom_bcm43xx
11# 12#
12# It is likely[^1] that both of these should be under LICENCE.cypress. 13# It is likely[^1] that both of these should be under LICENCE.cypress.
13# Further, at this time the text of LICENCE.broadcom_bcm43xx is the same 14# Further, at this time the text of LICENCE.broadcom_bcm43xx is the same
@@ -35,8 +36,8 @@ NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
35 36
36SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree" 37SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
37 38
38SRCREV = "98e815735e2c805d65994ccc608f399595b74438" 39SRCREV = "b66ab26cebff689d0d3257f56912b9bb03c20567"
39PV = "20190114-1+rpt8" 40PV = "20190114-1+rpt10"
40 41
41S = "${WORKDIR}/git" 42S = "${WORKDIR}/git"
42 43
@@ -56,7 +57,7 @@ do_install() {
56 # Replace outdated linux-firmware files with updated ones from 57 # Replace outdated linux-firmware files with updated ones from
57 # raspbian firmware-nonfree. Raspbian adds blobs and nvram 58 # raspbian firmware-nonfree. Raspbian adds blobs and nvram
58 # definitions that are also necessary so copy those too. 59 # definitions that are also necessary so copy those too.
59 for fw in brcmfmac43430-sdio brcmfmac43455-sdio ; do 60 for fw in brcmfmac43430-sdio brcmfmac43455-sdio brcmfmac43456-sdio ; do
60 install -m 0644 brcm/${fw}.* ${D}${nonarch_base_libdir}/firmware/brcm/ 61 install -m 0644 brcm/${fw}.* ${D}${nonarch_base_libdir}/firmware/brcm/
61 done 62 done
62 # add compat links. Fixes errors like 63 # add compat links. Fixes errors like
@@ -71,16 +72,20 @@ PACKAGES = "\
71 ${PN}-broadcom-license \ 72 ${PN}-broadcom-license \
72 ${PN}-bcm43430 \ 73 ${PN}-bcm43430 \
73 ${PN}-bcm43455 \ 74 ${PN}-bcm43455 \
75 ${PN}-bcm43456 \
74" 76"
75 77
76LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx-rpidistro" 78LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx-rpidistro"
77LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx-rpidistro" 79LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx-rpidistro"
80LICENSE_${PN}-bcm43456 = "Firmware-broadcom_bcm43xx-rpidistro"
78LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx-rpidistro" 81LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx-rpidistro"
79FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx-rpidistro" 82FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx-rpidistro"
80FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*" 83FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*"
81FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*" 84FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*"
85FILES_${PN}-bcm43456 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43456*"
82RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license" 86RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license"
83RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license" 87RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
88RDEPENDS_${PN}-bcm43456 += "${PN}-broadcom-license"
84RCONFLICTS_${PN}-bcm43430 = "\ 89RCONFLICTS_${PN}-bcm43430 = "\
85 linux-firmware-bcm43430 \ 90 linux-firmware-bcm43430 \
86 linux-firmware-raspbian-bcm43430 \ 91 linux-firmware-raspbian-bcm43430 \
@@ -97,6 +102,14 @@ RREPLACES_${PN}-bcm43455 = "\
97 linux-firmware-bcm43455 \ 102 linux-firmware-bcm43455 \
98 linux-firmware-raspbian-bcm43455 \ 103 linux-firmware-raspbian-bcm43455 \
99" 104"
105RCONFLICTS_${PN}-bcm43456 = "\
106 linux-firmware-bcm43456 \
107 linux-firmware-raspbian-bcm43456 \
108"
109RREPLACES_${PN}-bcm43456 = "\
110 linux-firmware-bcm43456 \
111 linux-firmware-raspbian-bcm43456 \
112"
100 113
101# Firmware files are generally not run on the CPU, so they can be 114# Firmware files are generally not run on the CPU, so they can be
102# allarch despite being architecture specific 115# allarch despite being architecture specific