Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69501 > unrolled thread

Bug#982579: Failed to load firmware brcmfmac43430-sdio at BananaPi M2

Started byBernhard <bewoern1@gmail.com>
First post2021-02-12 07:30 +0100
Last post2021-03-13 16:40 +0100
Articles 14 — 5 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#982579: Failed to load firmware brcmfmac43430-sdio at BananaPi M2 Bernhard <bewoern1@gmail.com> - 2021-02-12 07:30 +0100
    Bug#982579: Failed to load firmware brcmfmac43430-sdio at BananaPi M2 maximilian attems <maks@stro.at> - 2021-02-13 19:50 +0100
      Bug#982579: Failed to load firmware brcmfmac43430-sdio at BananaPi M2 Bernhard <bewoern1@gmail.com> - 2021-02-14 08:00 +0100
    Bug#982579: Solution for loading firmware Bernhard <bewoern1@gmail.com> - 2021-02-16 07:20 +0100
      Bug#982579: Solution for loading firmware maximilian attems <maks@stro.at> - 2021-02-16 08:20 +0100
        Bug#982579: Solution for loading firmware maximilian attems <maks@stro.at> - 2021-02-16 19:50 +0100
          Bug#982579: Solution for loading firmware Bernhard Wörner <bewoern1@gmail.com> - 2021-02-17 07:00 +0100
            Bug#982579: Solution for loading firmware maximilian attems <maks@stro.at> - 2021-02-17 07:50 +0100
        Bug#982579: Solution for loading firmware maximilian attems <maks@stro.at> - 2021-02-16 19:50 +0100
          Bug#982579: Solution for loading firmware maximilian attems <maks@stro.at> - 2021-02-22 22:30 +0100
            Bug#982579: Solution for loading firmware Josh Boyer <jwboyer@kernel.org> - 2021-03-03 19:30 +0100
              Bug#982579: Solution for loading firmware maximilian attems <maks@stro.at> - 2021-03-03 21:10 +0100
    Bug#982579: DMesg output of BananaPi M3 Bernhard <bewoern1@gmail.com> - 2021-02-22 07:10 +0100
    Bug#982579: marked as done (Failed to load firmware  brcmfmac43430-sdio at BananaPi M2) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-13 16:40 +0100

#69501 — Bug#982579: Failed to load firmware brcmfmac43430-sdio at BananaPi M2

FromBernhard <bewoern1@gmail.com>
Date2021-02-12 07:30 +0100
SubjectBug#982579: Failed to load firmware brcmfmac43430-sdio at BananaPi M2
Message-ID<BHA7L-54x-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: firmware-brcm80211
Version: 20201218-3

Hello,

At my BananaPi M2 Ultra, loading firmware failed:

> [   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)
> [   10.525149] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
> [   10.534664] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt f
> ailed with error -2
> [   10.551207] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.txt (-2)
> [   10.559692] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
> 

Please add the corresponding firmware.

Best regards and thank you for the great support.
Bernhard

[toc] | [next] | [standalone]


#69527

Frommaximilian attems <maks@stro.at>
Date2021-02-13 19:50 +0100
Message-ID<BI89r-6j-5@gated-at.bofh.it>
In reply to#69501
> > [   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)

this txt file is missing upstream, once someone (preferrably its
author submits it to linux-firmware) w appropriate license we are
happy to ship it -> latest git is here:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

> Please add the corresponding firmware.

once it is upstream, sure. please feel free to bug the bpi m2 guys
to do so.

thank you,

-- 
maks

[toc] | [prev] | [next] | [standalone]


#69529

FromBernhard <bewoern1@gmail.com>
Date2021-02-14 08:00 +0100
Message-ID<BIjxU-6VD-1@gated-at.bofh.it>
In reply to#69527

[Multipart message — attachments visible in raw view] — view raw

Hello Maximilian

Thank you for working for my problem.

In the GIT repository, i found the NVRAM config file for the Ampak AP6212 named:
brcmfmac43430-sdio.AP6212.txt

This WIFI module is assembled at the Banana Pi M2 Ultra and also at the Banana Pi M3.

I'll do some tests by manually copy this file to the directory and let you know, if it works.

Best regards and thank you for your support
Bernhard


[toc] | [prev] | [next] | [standalone]


#69550 — Bug#982579: Solution for loading firmware

FromBernhard <bewoern1@gmail.com>
Date2021-02-16 07:20 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BJ1Sh-8hU-1@gated-at.bofh.it>
In reply to#69501

[Multipart message — attachments visible in raw view] — view raw

Hello Maks

I tested the following:

1. Copy file brcmfmac43430-sdio.AP6212.txt from upstream to lib/firmware/brcm
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

After that, the wlan0 interface is available and scanning of the WLAN-ESSIDs works.

Please either do it like described above or add the files directly instead of the symbolic links.

Best regards and thank you for the great support.
Bernhard

[toc] | [prev] | [next] | [standalone]


#69553 — Bug#982579: Solution for loading firmware

Frommaximilian attems <maks@stro.at>
Date2021-02-16 08:20 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BJ2Ol-p7-1@gated-at.bofh.it>
In reply to#69550

[Multipart message — attachments visible in raw view] — view raw

Dear Bernhard,

Thank you very much for your clear and helpful report!

> 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.

> 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.
 
> After that, the wlan0 interface is available and scanning of the WLAN-ESSIDs works.

great!

 
> 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!

-- 
maks

[toc] | [prev] | [next] | [standalone]


#69558 — Bug#982579: Solution for loading firmware

Frommaximilian attems <maks@stro.at>
Date2021-02-16 19:50 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BJdA6-6Lv-5@gated-at.bofh.it>
In reply to#69553

[Multipart message — attachments visible in raw view] — view raw

> > 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.

this needs to go in the debian git, will do soonish. (:
 
> > 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.

> > 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!

-- 
maks

[toc] | [prev] | [next] | [standalone]


#69562 — Bug#982579: Solution for loading firmware

FromBernhard Wörner <bewoern1@gmail.com>
Date2021-02-17 07:00 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BJo2t-5Gs-3@gated-at.bofh.it>
In reply to#69558

[Multipart message — attachments visible in raw view] — view raw

Hello Maks

The additional symlink bpi-m3 is for an additional device.

This is for the Banana Pi M3.

Should i create an additional Bug report?

Best regards
Bernhard


maximilian attems <maks@stro.at> schrieb am Di., 16. Feb. 2021, 19:46:

> > > 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.
>
> this needs to go in the debian git, will do soonish. (:
>
> > > 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.
>
> > > 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!
>
> --
> maks
>

[toc] | [prev] | [next] | [standalone]


#69563 — Bug#982579: Solution for loading firmware

Frommaximilian attems <maks@stro.at>
Date2021-02-17 07:50 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BJoOR-6d7-1@gated-at.bofh.it>
In reply to#69562
> The additional symlink bpi-m3 is for an additional device.
> 
> This is for the Banana Pi M3.

great, please post the dmesg error message, happy to submit upstream. (:
 
> Should i create an additional Bug report?

no need, this bug report can be cloned.

[toc] | [prev] | [next] | [standalone]


#69559 — Bug#982579: Solution for loading firmware

Frommaximilian attems <maks@stro.at>
Date2021-02-16 19:50 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BJdA6-6Lv-3@gated-at.bofh.it>
In reply to#69553
please find patch to add banana ultra support below

From b549a10838edc4f97d4a3b49b572fc613c7c703d Mon Sep 17 00:00:00 2001
From: maximilian attems <maks@stro.at>
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

Reported-by: Bernhard <bewoern1@gmail.com>
Signed-off-by: maximilian attems <maks@stro.at>
---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)

diff --git a/WHENCE b/WHENCE
index aa96404..11c0970 100644
--- a/WHENCE
+++ b/WHENCE
@@ -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"
-- 
2.30.0

[toc] | [prev] | [next] | [standalone]


#69601 — Bug#982579: Solution for loading firmware

Frommaximilian attems <maks@stro.at>
Date2021-02-22 22:30 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BLqWd-Ol-5@gated-at.bofh.it>
In reply to#69559
please also add BananaPi M3 support.


From 216a0bda280e7b361c335f545156e86a059d9551 Mon Sep 17 00:00:00 2001
From: maximilian attems <maks@stro.at>
Date: Mon, 22 Feb 2021 22:18:36 +0100
Subject: [PATCH 2/2] WHENCE: add missing symlink for BananaPi M3

Fixes (Debian bug #982579):
> [   11.957171] brcmfmac mmc2:0001:1: firmware: failed to load
brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt (-2)
> [   11.967106] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
> [   11.977035] brcmfmac mmc2:0001:1: firmware: failed to load
brcm/brcmfmac43430-sdio.txt (-2)
> [   12.994756] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl
0x50

Reported-by: Bernhard <bewoern1@gmail.com>
Signed-off-by: maximilian attems <maks@stro.at>
---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)

diff --git a/WHENCE b/WHENCE
index 11c0970..b569990 100644
--- a/WHENCE
+++ b/WHENCE
@@ -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

[toc] | [prev] | [next] | [standalone]


#69689 — Bug#982579: Solution for loading firmware

FromJosh Boyer <jwboyer@kernel.org>
Date2021-03-03 19:30 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BOEpZ-3WO-17@gated-at.bofh.it>
In reply to#69601
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

On Mon, Feb 22, 2021 at 4:24 PM maximilian attems <maks@stro.at> wrote:
>
> please also add BananaPi M3 support.
>
>
> From 216a0bda280e7b361c335f545156e86a059d9551 Mon Sep 17 00:00:00 2001
> From: maximilian attems <maks@stro.at>
> Date: Mon, 22 Feb 2021 22:18:36 +0100
> Subject: [PATCH 2/2] WHENCE: add missing symlink for BananaPi M3
>
> Fixes (Debian bug #982579):
> > [   11.957171] brcmfmac mmc2:0001:1: firmware: failed to load
> brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt (-2)
> > [   11.967106] firmware_class: See https://wiki.debian.org/Firmware for
> information about missing firmware
> > [   11.977035] brcmfmac mmc2:0001:1: firmware: failed to load
> brcm/brcmfmac43430-sdio.txt (-2)
> > [   12.994756] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl
> 0x50
>
> Reported-by: Bernhard <bewoern1@gmail.com>
> Signed-off-by: maximilian attems <maks@stro.at>
> ---
>  WHENCE | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/WHENCE b/WHENCE
> index 11c0970..b569990 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -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
>

[toc] | [prev] | [next] | [standalone]


#69690 — Bug#982579: Solution for loading firmware

Frommaximilian attems <maks@stro.at>
Date2021-03-03 21:10 +0100
SubjectBug#982579: Solution for loading firmware
Message-ID<BOFYK-53X-7@gated-at.bofh.it>
In reply to#69689
> Both patches applied and pushed out.

great thank you.
 
> 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.

[toc] | [prev] | [next] | [standalone]


#69594 — Bug#982579: DMesg output of BananaPi M3

FromBernhard <bewoern1@gmail.com>
Date2021-02-22 07:10 +0100
SubjectBug#982579: DMesg output of BananaPi M3
Message-ID<BLczT-Cy-3@gated-at.bofh.it>
In reply to#69501

[Multipart message — attachments visible in raw view] — view raw

Hello Maks

Here, the DMesg output for BananaPi M3:

> [   11.957171] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt (-2)
> [   11.967106] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
> [   11.977035] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.txt (-2)
> [   12.994756] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

Best regards and thank you for your support.
Bernhard

[toc] | [prev] | [next] | [standalone]


#69800 — Bug#982579: marked as done (Failed to load firmware brcmfmac43430-sdio at BananaPi M2)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-03-13 16:40 +0100
SubjectBug#982579: marked as done (Failed to load firmware brcmfmac43430-sdio at BananaPi M2)
Message-ID<BSewV-5uL-11@gated-at.bofh.it>
In reply to#69501

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 13 Mar 2021 15:34:02 +0000
with message-id <E1lL6HC-000BuE-IB@fasolo.debian.org>
and subject line Bug#982579: fixed in firmware-nonfree 20210208-4
has caused the Debian Bug report #982579,
regarding Failed to load firmware brcmfmac43430-sdio at BananaPi M2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
982579: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982579
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web