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


Groups > linux.debian.kernel > #78469

Bug#1032367: brcm/brcmfmac4356-pcie.bin failed with error -2

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1032367: brcm/brcmfmac4356-pcie.bin failed with error -2
Date 2023-03-10 17:40 +0100
Message-ID <G7NWF-bxpm-1@gated-at.bofh.it> (permalink)
References <G7NWF-bxpm-3@gated-at.bofh.it> <G5RUJ-afvQ-1@gated-at.bofh.it> <G7NWF-bxpm-3@gated-at.bofh.it>
Organization Connecting Knowledge

Cross-posted to 2 groups.

Show all headers | View raw


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

On Thursday, 9 March 2023 19:17:10 CET Diederik de Haas wrote:
> In https://bugs.debian.org/1032367 we have a user who reported that the
> brcm/brcmfmac4356-pcie.bin firmware file failed to load with a new firmware-
> brcm80211 package, while it succeeded with an old one.
> 
> In
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
> / I found 2 commits that seem relevant:
> - 04f71fe564552c22dc7ece0d2b8afc11b33de392 where various cypress firmware
> and clm_blob files (including 4356) were added to the *cypress* directory.
> - 0f0aefd733f70beae4c0246edbd2c158d5ce974c which removed old brcm firmware
> files that have a newer cypress variant ...  from the *brcm* directory.
> 
> So in essence a bunch of firmware files were moved from 'brcm' dir to
> 'cypress'.
> 
> I don't know how the firmware file loading mechanism works, but could it be
> that it (also) needs to look in the new (cypress) location for those files?

I am now reasonably certain that that is indeed the issue.

I asked the reporter of the issue to create symlinks and that 'fixed' it:

On Friday, 10 March 2023 13:07:22 CET dkm@kataplop.net wrote:
> March 10, 2023 10:57 AM, "Diederik de Haas" <didi.debian@cknow.org> wrote:
> > I'm 99% sure this would be a *workaround*, but let's verify anyway:
> > In the /lib/firmware directory, create a symlink from
> > brcm/brcmfmac4356-pcie.bin to cypress/cyfmac4356-pcie.bin
> 
> As expected, it works with the symlink :)

AFAICT in drivers/net/wireless/broadcom/brcm80211/brcmfmac/ there is pcie.c 
and firmware.[c|h] and it uses BRCMF_FW_DEFAULT_PATH (="brcm/") to construct 
the location of the firmware files.

Now that several firmware files are stored in a different directory ('cypress') 
and also have a different file 'prefix' ('cyfmac') the firmware files that are 
stored in/moved to the cypress directory are no longer found.

Cheers,
  Diederik

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Marc <dkm+reportbug@kataplop.net> - 2023-03-05 09:30 +0100
  Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Diederik de Haas <didi.debian@cknow.org> - 2023-03-05 12:10 +0100
  Processed: Re: Bug#1032367: firmware-brcm80211: Missing  brcmfmac4356-pcie.bin "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-03-05 12:10 +0100
  Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin dkm@kataplop.net - 2023-03-09 04:20 +0100
    Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Diederik de Haas <didi.debian@cknow.org> - 2023-03-09 17:40 +0100
      Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin dkm@kataplop.net - 2023-03-09 17:50 +0100
      Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin dkm@kataplop.net - 2023-03-10 04:10 +0100
        Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Diederik de Haas <didi.debian@cknow.org> - 2023-03-10 11:10 +0100
          Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin dkm@kataplop.net - 2023-03-10 13:10 +0100
            Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Diederik de Haas <didi.debian@cknow.org> - 2023-03-10 17:30 +0100
              Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Diederik de Haas <didi.debian@cknow.org> - 2023-03-11 02:50 +0100
                Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin dkm@kataplop.net - 2023-03-11 03:50 +0100
                Bug#1032367: firmware-brcm80211: Missing brcmfmac4356-pcie.bin Diederik de Haas <didi.debian@cknow.org> - 2023-03-11 12:00 +0100
  Processed: Re: Bug#1032367: firmware-brcm80211: Missing  brcmfmac4356-pcie.bin "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-03-10 17:30 +0100
  Bug#1032367: brcm/brcmfmac4356-pcie.bin failed with error -2 Diederik de Haas <didi.debian@cknow.org> - 2023-03-10 17:40 +0100
  Processed: Re: Bug#1032367: firmware-brcm80211: Missing  brcmfmac4356-pcie.bin "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-03-11 12:00 +0100
  Bug#1032367: marked as done (firmware-brcm80211: Missing  brcmfmac4356-pcie.bin) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-03-11 15:00 +0100

csiph-web