diff options
author | Aaron Shaw <shawaj@gmail.com> | 2020-12-08 03:24:07 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-12-09 00:17:10 +0000 |
commit | f82376c44432c55772941e46224f43edd1cbf2fc (patch) | |
tree | 49d207c1cda16341b3cd25e7b20fb8f6982db810 | |
parent | 1ae52a743c077565e5d4e2f49ede90bbdff45fbf (diff) | |
download | meta-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.bb | 19 |
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 | ||
36 | SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree" | 37 | SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree" |
37 | 38 | ||
38 | SRCREV = "98e815735e2c805d65994ccc608f399595b74438" | 39 | SRCREV = "b66ab26cebff689d0d3257f56912b9bb03c20567" |
39 | PV = "20190114-1+rpt8" | 40 | PV = "20190114-1+rpt10" |
40 | 41 | ||
41 | S = "${WORKDIR}/git" | 42 | S = "${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 | ||
76 | LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx-rpidistro" | 78 | LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx-rpidistro" |
77 | LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx-rpidistro" | 79 | LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx-rpidistro" |
80 | LICENSE_${PN}-bcm43456 = "Firmware-broadcom_bcm43xx-rpidistro" | ||
78 | LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx-rpidistro" | 81 | LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx-rpidistro" |
79 | FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx-rpidistro" | 82 | FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx-rpidistro" |
80 | FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*" | 83 | FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*" |
81 | FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*" | 84 | FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*" |
85 | FILES_${PN}-bcm43456 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43456*" | ||
82 | RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license" | 86 | RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license" |
83 | RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license" | 87 | RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license" |
88 | RDEPENDS_${PN}-bcm43456 += "${PN}-broadcom-license" | ||
84 | RCONFLICTS_${PN}-bcm43430 = "\ | 89 | RCONFLICTS_${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 | " |
105 | RCONFLICTS_${PN}-bcm43456 = "\ | ||
106 | linux-firmware-bcm43456 \ | ||
107 | linux-firmware-raspbian-bcm43456 \ | ||
108 | " | ||
109 | RREPLACES_${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 |