CYW43455 DHD driver load fail

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Leo_Liu
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi Sir,

我在调试43455的时候,在加载FW出现error,导致DHD 加载失败。

我使用的环境是IMX.8的平台,arm64,Linux4.18,DHD版本125.15~125.19都有验证过,海华197(43438),288(43362),256(43455)EVK,其中197,288都可以正常工作,256在以上所有版本驱动都出现FW加载失败的问题,理论上来说43438与43455共用同一版驱动没有问题的,也怀疑过可能是256EVK本身的问题,用FMAC验证256EVK是可以正常工作的,所以现在比较疑惑,请帮忙分析下,谢谢。

以下是256加载驱动时的dmesg log,其中一份是通过256EVK的SD口供电,另一份是256EVK的USB口供电。

SD口供电dmesg:

dhd_module_init in
no wifi platform data, skip
DHD wifi platform data is required for Android build
DHD registeing bus directly
F1 signature read @0x18000000=0x15264345
F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
CFG80211-ERROR) wl_setup_wiphy :
Registering Vendor80211
wl_create_event_handler(): thread:wl_event_handler:deb started
CFG80211-ERROR) wl_event_handler :
tsk Enter, tsk = 0xffff800074961bb8
dhd_attach(): thread:dhd_watchdog_thread:ded started
dhd_attach(): thread:dhd_dpc:dee started
dhd_attach(): thread:dhd_rxf:def started
dhd_deferred_work_init: work queue initialized
dhdsdio_membytes: membytes transfer failed
dhdsdio_membytes: FAILED to set window back to 0x18100000
dhdsdio_download_code_file: error -1 on writing 2048 membytes at 0x00198000
_dhdsdio_download_firmware: dongle image file download failed
dhdsdio_htclk: Failed access turning clock off: -35
dhd_bus_start: failed to download firmware /home/root/fw256.bin
dhdsdio_probe: dhd_bus_start failed
dhd_wlfc_deinit():3750, Already disabled!
dhd_detach(): thread:dhd_watchdog_thread:ded terminated OK
dhd_detach(): thread:dhd_rxf:def terminated OK
dhd_dpc_thread: Unexpected up_cnt 0
dhd_detach(): thread:dhd_dpc:dee terminated OK
CFG80211-ERROR) wl_event_handler :
was terminated
wl_destroy_event_handler(): thread:wl_event_handler:deb terminated OK
bcmsdh_sdmmc: probe of mmc1:0001:2 failed with error -12
dhd_module_init out


USB口供电dmesg:

dhd_module_init in
no wifi platform data, skip
DHD wifi platform data is required for Android build
DHD registeing bus directly
F1 signature read @0x18000000=0x15264345
F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
CFG80211-ERROR) wl_setup_wiphy :
Registering Vendor80211
wl_create_event_handler(): thread:wl_event_handler:dda started
CFG80211-ERROR) wl_event_handler :
tsk Enter, tsk = 0xffff800074921b70
dhd_attach(): thread:dhd_watchdog_thread:ddc started
dhd_attach(): thread:dhd_dpc:ddd started
dhd_attach(): thread:dhd_rxf:dde started
dhd_deferred_work_init: work queue initialized
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhdsdio_download_state: Failed to write 0xb83ef198 to addr 0
dhdsdio_download_state: contents of addr 0 is 0xffff0000
_dhdsdio_download_firmware: error getting out of ARM core reset
dhd_bus_start: failed to download firmware /home/root/fw256.bin
dhdsdio_probe: dhd_bus_start failed
dhd_wlfc_deinit():3750, Already disabled!
dhd_detach(): thread:dhd_watchdog_thread:ddc terminated OK
dhd_detach(): thread:dhd_rxf:dde terminated OK
dhd_dpc_thread: Unexpected up_cnt 0
dhd_detach(): thread:dhd_dpc:ddd terminated OK
CFG80211-ERROR) wl_event_handler :
was terminated
wl_destroy_event_handler(): thread:wl_event_handler:dda terminated OK
bcmsdh_sdmmc: probe of mmc1:0001:2 failed with error -12
dhd_module_init out

 

Best Regards,

Leo

0 Likes
1 Solution
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

write VAR的patch有加进去吗?

View solution in original post

0 Likes
4 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hi  Leo:

  能否寄一块256的板子过来, 我来测试看看。

0 Likes

Hi Zhengbao,

我更换了kernel版本3.14验证,256可以正常run起来。

所以,目前看起来在4.14.98的kernel上出现异常,我今天把256EVK寄给你,帮忙看下是否可以提供对应的patch。

BR,

Leo

0 Likes
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

write VAR的patch有加进去吗?

0 Likes

有加进去的,43438可以正常工作,43455还是同样的错误。

0 Likes