mikeeq/mbp-fedora-kernel

wifi firmware load error

zhewang95 opened this issue · 4 comments

Thanks so much for this fantastic project! It benefits me a lot.
However, I installed v5.3.15-2-f31 on MacBookPro15,2 Catalina. And .trx, .clmb, .txt all copied to /lib/firmware/brcm according to https://gist.github.com/TRPB/437f663b545d23cc8a2073253c774be3#wifi. When booting, the result of dmesg | grep brcm is :

[    7.140063] usbcore: registered new interface driver brcmfmac  
[    7.140311] brcmfmac 0000:01:00.0: enabling device (0000 -> 0002)  
[    7.245941] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4364-pcie for chip BCM4364/3  
[    7.778035] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2  
[    7.778037] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found  
[    9.624439] brcmfmac 0000:01:00.0: brcmf_pcie_download_fw_nvram: FW failed to initialize  

Seems like firmware init error.

What's the problem? Or how can I learn to solve this problem?

Could you please post the output of this command:

ioreg -l | grep C-4364

And I recommend trying to find the answer in these issues:
Dunedan/mbp-2016-linux#71
Dunedan/mbp-2016-linux#112

@zhewang95 I have the same problem on a MacBookPro15,2 Catalina. Have you managed to solve the issue?

@mikeeq The output of the command

    | |   |         |   "RequestedFiles" = ({"Firmware"="C-4364__s-B2/maui.trx","TxCap"="C-4364__s-B2/maui-X3.txcb","Regulatory"="C-4364__s-B2/maui-X3.clmb","NVRAM"="C-4364__s-B2/P-maui-X3_M-HRPN_V-m__m-7.7.txt"})
    | |   |         |       "images" = {"C-4364__s-B2/maui-X3.txcb"={"imagetype"="TxCap","required"=No,"imagename"="C-4364__s-B2/maui-X3.txcb"},"C-4364__s-B2/maui-X3.clmb"={"imagetype"="Regulatory","required"=Yes,"imagename"="C-4364__s-B2/maui-X3.clmb"},"C-4364__s-B2/maui.trx"={"imagetype"="Firmware","required"=Yes,"imagename"="C-4364__s-B2/maui.trx"},"C-4364__s-B2/P-maui-X3_M-HRPN_V-m__m-7.7.txt"={"imagetype"="NVRAM","required"=Yes,"imagename"="C-4364__s-B2/P-maui-X3_M-HRPN_V-m__m-7.7.txt"}}

I've tried the steps in the linked issue, but no success....

@geovie not yet.
@mikeeq the output of command:

    | |   |         |   "RequestedFiles" = ({"Firmware"="C-4364__s-B2/maui.trx","TxCap"="C-4364__s-B2/maui-X2.txcb","Regulatory"="C-4364__s-B2/maui-X2.clmb","NVRAM"="C-4364__s-B2/P-maui-X2_M-HRPN_V-u__m-7.5.txt"})
    | |   |         |       "images" = {"C-4364__s-B2/P-maui-X2_M-HRPN_V-u__m-7.5.txt"={"imagetype"="NVRAM","required"=Yes,"imagename"="C-4364__s-B2/P-maui-X2_M-HRPN_V-u__m-7.5.txt"},"C-4364__s-B2/maui-X2.txcb"={"imagetype"="TxCap","required"=No,"imagename"="C-4364__s-B2/maui-X2.txcb"},"C-4364__s-B2/maui.trx"={"imagetype"="Firmware","required"=Yes,"imagename"="C-4364__s-B2/maui.trx"},"C-4364__s-B2/maui-X2.clmb"={"imagetype"="Regulatory","required"=Yes,"imagename"="C-4364__s-B2/maui-X2.clmb"}}

I am having nearly the identical error when I check dmesg. But instead of brcmfmac4364-pcie it is for brcmfmac4355-pcie. Did anyone here know how to solve this issue?