Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The brcmfmac4356-sdio.bin firmware is old and will break wifi if I add some specific kernel config #27

Open
ihipop opened this issue Sep 6, 2022 · 1 comment · May be fixed by #30
Open

Comments

@ihipop
Copy link

ihipop commented Sep 6, 2022

Board: Nanopc T4
Kernel:Linux kernel 5.10.76
LibreELEC version: LibreELEC 10.0.2

When I try to add Any of these kernel config , The wifi dongle will stop working

image

CONFIG_NF_CONNTRACK_SIP=m

Dmesg:
dmesg.log

[   10.249242] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[   10.250211] usbcore: registered new interface driver brcmfmac
[   10.671662] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.friendlyarm,nanopc-t4.txt failed with error -2
[   10.880044] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[   11.061427] ieee80211 phy0: brcmf_c_process_clm_blob: clmload (5750 byte file) failed (-52)
[   11.062501] ieee80211 phy0: brcmf_c_process_clm_blob: get clmload_status failed (-52)
[   11.062623] ieee80211 phy0: brcmf_c_preinit_dcmds: download CLM blob file failed, -5
[   11.062630] ieee80211 phy0: brcmf_bus_started: failed: -5
[   11.062651] ieee80211 phy0: brcmf_attach: dongle is not responding: err=-5
[   11.094611] brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed
strings /usr/lib/firmware/brcm/brcmfmac4356-sdio.bin |grep -oE 'Version.*'
Version: 7.35.184.0 CRC: a4b3b224 Date: Tue 2015-06-16 14:27:46 CST FWID 01-b22ae69c

I placed a sets of new version of firmware from Armbian armbian/firmware@9c800d7 in /storage firmware dir
then reboot and everything works again

Firmware Source: https://community.cypress.com/docs/DOC-19375

strings /storage/.config/firmware/brcm/brcmfmac4356-sdio.bin  |grep -oE 'Version.*'
Version: 7.35.349.87 (r724447 CY) CRC: 2977caa0 Date: Wed 2020-03-04 22:09:43 PST Ucode Ver: 986.1209 FWID 01-c68a2890
@chewitt
Copy link
Member

chewitt commented Nov 15, 2022

@ihipop Can you submit a PR to update the firmware?

ihipop added a commit to ihipop/brcmfmac_sdio-firmware that referenced this issue Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants