diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2019-09-25 17:50:11 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-10-06 20:50:27 +0000 |
commit | c57c9eb31eb6064ad1bacfcad78af87199959c60 (patch) | |
tree | c6dcc09ad9d67df5c04543270595fd70e2ad5300 /meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro | |
parent | 8925ea435e02579009e715fb556054d8e033d880 (diff) |
raspberrypi4: Fix WiFi
Apply patch from branch master of meta-raspberrypi as a bbappend
to recipe linux-firmware-rpidistro to fix WiFi on Raspberry Pi 4.
This is a temporary solution while AGL master is still based on
Thud. As soon as AGL moves to newer release of the Yocto Project
and layer meta-raspberrypi this patch will become reduntant.
The change of boardflags3 value from "0x48200100" to "0x44200100"
has been done already in Raspbian (2019-06-20). For more details:
https://github.com/RPi-Distro/firmware-nonfree/issues/3
Bug-AGL: SPEC-2656
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: Ifaafbae6ff59a43f95926e64f1ce35aefadd3cfa
(cherry picked from commit ece35b264ff4bac33a37a96cd166c2e0fe8bb433)
Diffstat (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro')
2 files changed, 49 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch new file mode 100644 index 000000000..1ad0fd1b2 --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch @@ -0,0 +1,39 @@ +From c9d4f263131cb8e62597e0a296968b5cdbfe0019 Mon Sep 17 00:00:00 2001 +From: Andrei Gherzan <andrei@gherzan.ro> +Date: Thu, 27 Jun 2019 20:49:10 +0100 +Subject: [PATCH] brcmfmac43455-sdio.txt: Follow raspbian change for + boardflags3 + +Without this change the WiFi interface on RPi4 never comes up. Also the +upstream repository doesn't include this change. It is only (as far as I +know) part of the raspberrypi deb repository with the following +changelog: + +firmware-nonfree (1:20190114-1+rpt2) buster; urgency=medium + * Update brcmfmac43455-sdio.txt + - Update boardflags3 + -- Serge Schneider <serge@raspberrypi.org> Thu, 18 Apr 2019 14:35:34 ++0100 + +Upstream-status: Pending +Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> +--- + brcm/brcmfmac43455-sdio.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/brcm/brcmfmac43455-sdio.txt b/brcm/brcmfmac43455-sdio.txt +index 54d9321..6801286 100644 +--- a/brcm/brcmfmac43455-sdio.txt ++++ b/brcm/brcmfmac43455-sdio.txt +@@ -21,7 +21,7 @@ btc_mode=1 + # bit1 for btcoex + boardflags=0x00480201 + boardflags2=0x40800000 +-boardflags3=0x48200100 ++boardflags3=0x44200100 + phycal_tempdelta=15 + rxchain=1 + txchain=1 +-- +2.17.1 + diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_%.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_%.bbappend new file mode 100644 index 000000000..30c18fb0b --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch" + +do_unpack_append() { + bb.build.exec_func('do_clean_pc', d) +} +do_clean_pc() { + rm -rf ${S}/.pc +} |