On Sun, Mar 3, 2019 at 10:22 AM Krzysiek Rosinski <krzysiek@xxxxxxxxxxxx> wrote: > > Hi, > > I'm working on a custom board with cyw4343 connected to osd3358-sm (TI > am3358), when I load the brcmfmac driver I get 'HT Avail timeout' > error. The same combination of driver+firmware works fine on Raspberry > Pi Zero W. > > I've tried to gather as much information I can from both; the custom > board and pi. This is available here: > > https://www.dropbox.com/s/vqejyrixbxx1z8d/logs.tar.gz?dl=0 > > I have a custom board with cyw4343 chip fitted and also flyleded > Murata 1DX to the PocketBeagle, both give the same error code. > > My setup is as follows: > > osd335x-sm (TI am3348), cyw4343, 37.4 MHz xtal. > Linux beaglebone 4.14.93-bone17.1 #1 PREEMPT Mon Feb 25 16:27:58 UTC > 2019 armv7l GNU/Linux > brcmfmac: cypress v4.14.52-backports > brcm43430-sdio.bin: Version: 7.45.98.38 > > Is there something obvious which I'm doing wrong? Can you give me a > hint on how to move with this further, please? > > Kind regards, > Krzysztof Hi, Actually, I've managed to fix this with information from the "AP6335 with mainline kernel" thread: "boardflags3 (...) to 0x101188" this fixed my problem too. Is there documentation which says what boardflags3 means, please? Once I've fixed this problem this show up: [ 378.143229] omap_hsmmc 47810000.mmc: MMC start dma failure [ 378.148856] brcmfmac: brcmf_sdiod_sglist_rw: CMD53 sg block write failed -22 [ 378.159997] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame I've managed to fix this by applying patch from here: https://e2e.ti.com/support/processors/f/791/t/541016?AM335X-Error-message-in-SDIO-driver Kind regards, Krzysztof