mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 13:14:45 +02:00
linux-firmware-rpidistro: Fix WiFi on Raspberry Pi 5
Some checks failed
Mirrors / Yocto Git Mirror (push) Has been cancelled
Some checks failed
Mirrors / Yocto Git Mirror (push) Has been cancelled
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:
parent
7494a37818
commit
d605ed7ae7
|
@ -27,6 +27,11 @@ inherit allarch
|
||||||
do_configure[noexec] = "1"
|
do_configure[noexec] = "1"
|
||||||
do_compile[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() {
|
do_install() {
|
||||||
install -d ${D}${nonarch_base_libdir}/firmware/brcm ${D}${nonarch_base_libdir}/firmware/cypress
|
install -d ${D}${nonarch_base_libdir}/firmware/brcm ${D}${nonarch_base_libdir}/firmware/cypress
|
||||||
|
|
||||||
|
@ -43,7 +48,7 @@ do_install() {
|
||||||
done
|
done
|
||||||
|
|
||||||
cp -R --no-dereference --preserve=mode,links -v debian/config/brcm80211/cypress/* ${D}${nonarch_base_libdir}/firmware/cypress/
|
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
|
rm ${D}${nonarch_base_libdir}/firmware/cypress/README.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user