From 003c49933ab3d229dc2e2e8e78e3cd1943471c1e Mon Sep 17 00:00:00 2001 From: Matthias Klein Date: Mon, 3 Jun 2024 15:11:14 +0200 Subject: [PATCH] linux-firmware-rpidistro: Fix wireless on model Zero 2 W Firmware links for model Zero 2 W were missing. This patch sets the necessary links for brcmfmac firmware. Without the links, the firmware cannot be loaded without causing boot messages like: brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430b0-sdio.raspberrypi,model-zero-2-w.bin failed with error -2 Fixes agherzan/meta-raspberrypi#1324 Signed-off-by: Matthias Klein --- .../linux-firmware-rpidistro_git.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 959513dc..1b430582 100644 --- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb @@ -34,6 +34,7 @@ do_install() { for fw in \ brcmfmac43430-sdio \ + brcmfmac43430b0-sdio \ brcmfmac43436-sdio \ brcmfmac43436s-sdio \ brcmfmac43455-sdio \ @@ -69,7 +70,10 @@ FILES:${PN}-bcm43430 = " \ ${nonarch_base_libdir}/firmware/cypress/cyfmac43430-sdio.bin \ ${nonarch_base_libdir}/firmware/cypress/cyfmac43430-sdio.clm_blob \ " -FILES:${PN}-bcm43436 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43436-*" +FILES:${PN}-bcm43436 = " \ + ${nonarch_base_libdir}/firmware/brcm/brcmfmac43436-* \ + ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430b0-* \ +" FILES:${PN}-bcm43436s = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43436s*" FILES:${PN}-bcm43439 = " \ ${nonarch_base_libdir}/firmware/cypress/43439A0-7.95.49.00.combined \