diff options
2 files changed, 50 insertions, 1 deletions
diff --git a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch new file mode 100644 index 0000000..1ad0fd1 --- /dev/null +++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From c9d4f263131cb8e62597e0a296968b5cdbfe0019 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei@gherzan.ro> | ||
3 | Date: Thu, 27 Jun 2019 20:49:10 +0100 | ||
4 | Subject: [PATCH] brcmfmac43455-sdio.txt: Follow raspbian change for | ||
5 | boardflags3 | ||
6 | |||
7 | Without this change the WiFi interface on RPi4 never comes up. Also the | ||
8 | upstream repository doesn't include this change. It is only (as far as I | ||
9 | know) part of the raspberrypi deb repository with the following | ||
10 | changelog: | ||
11 | |||
12 | firmware-nonfree (1:20190114-1+rpt2) buster; urgency=medium | ||
13 | * Update brcmfmac43455-sdio.txt | ||
14 | - Update boardflags3 | ||
15 | -- Serge Schneider <serge@raspberrypi.org> Thu, 18 Apr 2019 14:35:34 | ||
16 | +0100 | ||
17 | |||
18 | Upstream-status: Pending | ||
19 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
20 | --- | ||
21 | brcm/brcmfmac43455-sdio.txt | 2 +- | ||
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
23 | |||
24 | diff --git a/brcm/brcmfmac43455-sdio.txt b/brcm/brcmfmac43455-sdio.txt | ||
25 | index 54d9321..6801286 100644 | ||
26 | --- a/brcm/brcmfmac43455-sdio.txt | ||
27 | +++ b/brcm/brcmfmac43455-sdio.txt | ||
28 | @@ -21,7 +21,7 @@ btc_mode=1 | ||
29 | # bit1 for btcoex | ||
30 | boardflags=0x00480201 | ||
31 | boardflags2=0x40800000 | ||
32 | -boardflags3=0x48200100 | ||
33 | +boardflags3=0x44200100 | ||
34 | phycal_tempdelta=15 | ||
35 | rxchain=1 | ||
36 | txchain=1 | ||
37 | -- | ||
38 | 2.17.1 | ||
39 | |||
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 1f63c32..39ffbf5 100644 --- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb | |||
@@ -33,7 +33,10 @@ LIC_FILES_CHKSUM = "\ | |||
33 | NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx-rpidistro] = "LICENCE.broadcom_bcm43xx" | 33 | NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx-rpidistro] = "LICENCE.broadcom_bcm43xx" |
34 | NO_GENERIC_LICENSE[WHENCE] = "WHENCE" | 34 | NO_GENERIC_LICENSE[WHENCE] = "WHENCE" |
35 | 35 | ||
36 | SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree" | 36 | SRC_URI = " \ |
37 | git://github.com/RPi-Distro/firmware-nonfree \ | ||
38 | file://0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch \ | ||
39 | " | ||
37 | SRCREV = "b518de45ced519e8f7a499f4778100173402ae43" | 40 | SRCREV = "b518de45ced519e8f7a499f4778100173402ae43" |
38 | PV = "0.0+git${SRCPV}" | 41 | PV = "0.0+git${SRCPV}" |
39 | 42 | ||
@@ -43,6 +46,13 @@ inherit allarch | |||
43 | 46 | ||
44 | CLEANBROKEN = "1" | 47 | CLEANBROKEN = "1" |
45 | 48 | ||
49 | do_unpack_append() { | ||
50 | bb.build.exec_func('do_clean_pc', d) | ||
51 | } | ||
52 | do_clean_pc() { | ||
53 | rm -rf ${S}/.pc | ||
54 | } | ||
55 | |||
46 | do_compile() { | 56 | do_compile() { |
47 | : | 57 | : |
48 | } | 58 | } |