Bug#982579: Solution for loading firmware
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear Bernhard,
Thank you very much for your clear and helpful report!
Quoted 3 lines
I tested the following:
1. Copy file brcmfmac43430-sdio.AP6212.txt from upstream to
lib/firmware/brcm
so indeed it is a bug that we don't ship this one from upstream, will fix this in next Debian upload.
Quoted 2 lines
2. Create symbolic link named brcmfmac43430-sdio.sinovoip.bpi-m3.txt to the AP6212-file
3. Create symbolic link named brcmfmac43430-sdio.sinovoip.bpi-m2-ultra.txt to the AP6212-file
this should be reported upstream, so that everyone takes advantage of it, hence adding linux-firmware mailinglist on Cc, happy to cook up a patch next 24hs.
Quoted 1 line
After that, the wlan0 interface is available and scanning of the WLAN-ESSIDs works.
great!
Quoted 1 line
Please either do it like described above or add the files directly instead of the symbolic links.
The symbolic links are better than duplicated files, but there seem to be on the Debian side an opened can of trouble on them, see #982757 (I'll post there soonish)
Thank you for the kind words, the test and your report!
Signature · 1 line
maks
please find patch to add banana ultra support below
From b549a10838edc4f97d4a3b49b572fc613c7c703d Mon Sep 17 00:00:00 2001
From: maximilian attems <[email protected]>
Date: Tue, 16 Feb 2021 19:35:27 +0100
Subject: [PATCH] Add symlink for BananaPi M2 to brcmfmac43430-sdio config
Fixes ( Debian bug #982579 [1]):
[ 10.514530] brcmfmac mmc2:0001:1: firmware: direct-loading firmware brcm/brcmfmac43430-sdio.bin [ 10.514732] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt ( -2)
Refs:
[1] https://bugs.debian.org/982579
--- WHENCE | 1 + 1 file changed, 1 insertion(+)
WHENCE +1 -0
@@ -2716,6 +2716,7 @@ File: "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt" File: "brcm/brcmfmac43430-sdio.AP6212.txt" Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt -> brcmfmac43430-sdio.AP6212.txt Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt +Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt -> brcmfmac43430-sdio.AP6212.txt File: "brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt" File: "brcm/brcmfmac43430-sdio.MUR1DX.txt" File: "brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt"
Signature · 1 line
2.30.0
please also add BananaPi M3 support.
From 216a0bda280e7b361c335f545156e86a059d9551 Mon Sep 17 00:00:00 2001
From: maximilian attems <[email protected]>
Date: Mon, 22 Feb 2021 22:18:36 +0100
Subject: [PATCH 2/2] WHENCE: add missing symlink for BananaPi M3
Fixes (Debian bug #982579):
Quoted 1 line
[ 11.957171] brcmfmac mmc2:0001:1: firmware: failed to load
brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt (-2)
Quoted 1 line
[ 11.967106] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
Quoted 1 line
[ 11.977035] brcmfmac mmc2:0001:1: firmware: failed to load
brcm/brcmfmac43430-sdio.txt (-2)
Quoted 1 line
[ 12.994756] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl
0x50
--- WHENCE | 1 + 1 file changed, 1 insertion(+)
WHENCE +1 -0
@@ -2717,6 +2717,7 @@ File: "brcm/brcmfmac43430-sdio.AP6212.txt" Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt -> brcmfmac43430-sdio.AP6212.txt Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt -> brcmfmac43430-sdio.AP6212.txt +Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt -> brcmfmac43430-sdio.AP6212.txt File: "brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt" File: "brcm/brcmfmac43430-sdio.MUR1DX.txt" File: "brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt"
Signature · 1 line
2.30.0
Both patches applied and pushed out.
In the future, could you please send the patches either as direct emails or as attachments or as pull requests? When you embed them in the body of the email I have to manually adjust them to get the commit log properly included.
josh
Quoted 40 lines · maximilian attems
please also add BananaPi M3 support.
From
216a0bda280e7b361c335f545156e86a059d9551Mon Sep 17 00:00:00 2001
From: maximilian attems <[email protected]>
Date: Mon, 22 Feb 2021 22:18:36 +0100
Subject: [PATCH 2/2] WHENCE: add missing symlink for BananaPi M3Fixes (Debian bug #982579):
Quoted 1 line
[ 11.957171] brcmfmac mmc2:0001:1: firmware: failed to load
brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt(-2)Quoted 1 line
[ 11.967106] firmware_class: See https://wiki.debian.org/Firmware forinformation about missing firmware
Quoted 1 line
[ 11.977035] brcmfmac mmc2:0001:1: firmware: failed to load
brcm/brcmfmac43430-sdio.txt(-2)Quoted 1 line
[ 12.994756] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl
0x50Reported-by Bernhard <[email protected]>Signed-off-by maximilian attems <[email protected]>--- WHENCE | 1 + 1 file changed, 1 insertion(+)WHENCE +1
-1@@ -2717,6 +2717,7 @@ File: "brcm/brcmfmac43430-sdio.AP6212.txt" Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt -> brcmfmac43430-sdio.AP6212.txt Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt -> brcmfmac43430-sdio.AP6212.txt +Link: brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt -> brcmfmac43430-sdio.AP6212.txt File: "brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt" File: "brcm/brcmfmac43430-sdio.MUR1DX.txt" File: "brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt" --2.30.0
Quoted 1 line
Both patches applied and pushed out.
great thank you.
Quoted 4 lines
In the future, could you please send the patches either as direct emails or as attachments or as pull requests? When you embed them in the body of the email I have to manually adjust them to get the commit log properly included.
sure, will do as pull request.
Quoted 4 lines
Quoted 1 line
1. Copy file brcmfmac43430-sdio.AP6212.txt from upstream to
lib/firmware/brcmso indeed it is a bug that we don't ship this one from upstream, will fix this in next Debian upload.
this needs to go in the debian git, will do soonish. (:
Quoted 1 line
Quoted 1 line
2. Create symbolic link named brcmfmac43430-sdio.sinovoip.bpi-m3.txt to the AP6212-file
I am confused by this, as you did *not* submit an error log that showed a request for this file, is this to add support to another device, please be specific.
Quoted 4 lines
Quoted 1 line
3. Create symbolic link named brcmfmac43430-sdio.sinovoip.bpi-m2-ultra.txt to the AP6212-file
this should be reported upstream, so that everyone takes advantage of it, hence adding linux-firmware mailinglist on Cc, happy to cook up a patch next 24hs.
sent, to add that symlink upstream.
thank you!
Signature · 1 line
maks