mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
linux-firmware-rpidistro: Fix WiFi on Raspberry Pi 5
Switches the Raspberry Pi 5 to use the standard cyfman43455-sdio firmware by default. The minimal firmware on this device is unable to connect to a WiFi access point. This also matches the behavior of Raspberry Pi OS, which defaults to the standard firmware Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
This commit is contained in:
@@ -27,6 +27,11 @@ inherit allarch
|
||||
do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
# The minimal firmware doesn't work with Raspberry Pi 5, so default to the
|
||||
# standard firmware
|
||||
CYFMAC43455_SDIO_FIRMWARE ??= "minimal"
|
||||
CYFMAC43455_SDIO_FIRMWARE:raspberrypi5 ??= "standard"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/brcm ${D}${nonarch_base_libdir}/firmware/cypress
|
||||
|
||||
@@ -43,7 +48,7 @@ do_install() {
|
||||
done
|
||||
|
||||
cp -R --no-dereference --preserve=mode,links -v debian/config/brcm80211/cypress/* ${D}${nonarch_base_libdir}/firmware/cypress/
|
||||
ln -s cyfmac43455-sdio-minimal.bin ${D}${nonarch_base_libdir}/firmware/cypress/cyfmac43455-sdio.bin
|
||||
ln -s cyfmac43455-sdio-${CYFMAC43455_SDIO_FIRMWARE}.bin ${D}${nonarch_base_libdir}/firmware/cypress/cyfmac43455-sdio.bin
|
||||
|
||||
rm ${D}${nonarch_base_libdir}/firmware/cypress/README.txt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user