Thread (5 messages) 5 messages, 2 authors, 2016-07-29

Re: brcm4330 fails to load on newer kernels

From: Fabio Estevam <festevam@gmail.com>
Date: 2016-07-27 20:57:11

Hi Arend,

On Wed, Jul 27, 2016 at 5:51 PM, Arend van Spriel
[off-list ref] wrote:
On 27-07-16 00:35, Fabio Estevam wrote:
quoted
Hi,

On a imx6sl-warp board with a brcm4330 I get the following results
depending on the kernel version:

- Kernel 4.4.15: place brcmfmac4330-sdio.bin and brcmfmac4330-sdio.txt
in the rootfs and the kernel is able to read them correctly. wlan0 is
present. All is fine.

- Kernel 4.5.7: place brcmfmac4330-sdio.bin brcmfmac4330-sdio.txt in
the rootfs and the kernel fails to load them:

brcmfmac mmc1:0001:1: Direct firmware load for
brcm/brcmfmac4330-sdio.bin failed with error -2

Then I build brcmfmac4330-sdio.bin brcmfmac4330-sdio.txt into the
kernel and then firmware is detected and wlan0 appears.

- Kernel 4.7: I can place the firmware and nvram file into the rootfs
or built-i and the following error is seen:

brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

So wlan0 never appears here.

Does anyone have any suggestions about these different behaviours?
So for all kernel you have brcmfmac built-in the kernel or as a module?
In all these tests I have brcmfmac built-in the kernel.

Thanks,

Fabio Estevam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help