cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Eric_wang
New Contributor II

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.

0 Likes
Reply
1 Solution
Zhengbao_Zhang
Moderator
Moderator

hi:

你有办法在其他稳定的平台上用相同的dhd+模组 来做测试吗? 这样可以排除一些问题。

View solution in original post

0 Likes
Reply
12 Replies
Zhengbao_Zhang
Moderator
Moderator

Hi :

      Where did you get the DHD driver for kernel 4.15? 

0 Likes
Reply
Eric_wang
New Contributor II

from AzureWave,Version:dhd-android-1.363.125.15

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

有前面驱动load时候的完整log 吗?  SDIO 接口是否已经工作正常。

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

如果KSO 这部分功能有异常, 可以考虑将dhdsdio_clk_kso_enab skip掉来测试下看是否可以正常跑起来。

0 Likes
Reply
Eric_wang
New Contributor II

麻烦问下,dhdsdio_clk_kso_enab这部分操作,是驱动下发指令给模块吗?

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

是的。

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

hello:

  问下,问题解决了没有?

0 Likes
Reply
Eric_wang
New Contributor II

没有。用逻辑分析仪抓了下,看上去是SDIO通信问题,前几天想找平台原厂(AT91SAMA5D27)帮忙看下,一直没联系上。

请问你们以前遇到过类似问题吗?

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

hi:

你有办法在其他稳定的平台上用相同的dhd+模组 来做测试吗? 这样可以排除一些问题。

View solution in original post

0 Likes
Reply
Eric_wang
New Contributor II

嗯,我可以在全志平台上先试下。

0 Likes
Reply
Eric_wang
New Contributor II

insmod没有问题,并且可以通过ifconfig -a 查看到wlan0节点,执行ifconfig wlan0 up时出现上面问题!

0 Likes
Reply
krkr_4582166
New Contributor

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 ...