Environment: Linux:4.15, AT91SAMA5D27 processor host
log:
# ifconfig wlan0 up
dhdsdio_clk_kso_enab> op:KSO_SET, ERROR: try_cnt:20001, rd_val:ff, ERR:ffffffdd
dhdsdio_clk_kso_enab> op:KSO_SET, ERROR: try_cnt:20001, rd_val:ff, ERR:ffffffdd
dhdsdio_clk_kso_enab> op:KSO_SET, ERROR: try_cnt:20001, rd_val:ff, ERR:ffffffdd
ERROR: kso set failed retry: 3
dhdsdio_clk_devsleep_iovar: Sleep request failed: kso:0 on:0 err:-35
dhd_bcmsdh_send_buf: Device asleep
dhdcdc_query_ioctl: dhdcdc_msg failed w/status -110
dhd_wl_ioctl: 'resumed on timeout' error is occurred before the interface does not bring up
dhd_wl_ioctl: returning as busstate=0
CFG80211-ERROR) wl_cfg80211_up :
WLC_GET_VERSION failed, err=1
dhd_open: failed to bring up cfg80211
ifconfig: SIOCSIFFLAGS: Operation not permitted
Please suggest if you have any additional pointers or any reasons for this failure.
Solved! Go to Solution.
Hi :
Where did you get the DHD driver for kernel 4.15?
from AzureWave,Version:dhd-android-1.363.125.15
有前面驱动load时候的完整log 吗? SDIO 接口是否已经工作正常。
如果KSO 这部分功能有异常, 可以考虑将dhdsdio_clk_kso_enab skip掉来测试下看是否可以正常跑起来。
麻烦问下,dhdsdio_clk_kso_enab这部分操作,是驱动下发指令给模块吗?
是的。
hello:
问下,问题解决了没有?
没有。用逻辑分析仪抓了下,看上去是SDIO通信问题,前几天想找平台原厂(AT91SAMA5D27)帮忙看下,一直没联系上。
请问你们以前遇到过类似问题吗?
嗯,我可以在全志平台上先试下。
insmod没有问题,并且可以通过ifconfig -a 查看到wlan0节点,执行ifconfig wlan0 up时出现上面问题!
From your logs, it seemed that you compiled wifi driver into kernel ! ... Don't forget to add firmware when using insmod 'bcmdhd.ko' . ... The problem is that when I insert module driver, I will get stuck and panic at the ...