Hi Alessio,
-----Original Message----- From: Alessio Adamo <alessio.adamo@gmail.com> Sent: 16 April 2020 21:40 To: OS-arm <opensuse-arm@opensuse.org> Subject: [opensuse-arm] Possible bug in install-brcmfmac.sh [pkg bcm43xx- firmware]
Hi everybody,
I was trying to achieve Bluetooth activation on my cubox-i, and while tinkering I realized a putative bug in the script 'install-brcmfmac.sh' used by the package 'bcm43xx-firmware'. The script parses the file '/sys/firmware/devicetree/base/compatible' looking for 'solidrun,cubox-i', however it is not successful, because in my personal case it actually retrieves 'solidrun,cubox-i/q'. Because of this, the symbolic link '/lib/firmware/brcm/brcmfmac4330-sdio.txt' is not created and brcmfmac fails with the following error messages:
[ 21.774391] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4 [ 21.833131] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.solidrun,cubox-i/q.txt failed with error -2 [ 21.833205] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.txt failed with error -2
The content of '/sys/firmware/devicetree/base/compatible' is: solidrun,cubox-i/q^@fsl,imx6q^@
Probably because it is a Cubox-i Pro Quad Core. Should the pattern for case statement be changed into
solidrun,cubox-i|solidrun,cubox-i/q)
?
Could you give it a try and also report this problem on https://bugzilla.opensuse.org please? Thanks, Guillaume
Ciao Alessio -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.