(cyw43455)在下载固件结束后出现dump

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

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

cross mob
lock attach
Attachments are accessible only for community members.
Leo_liu1
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

Hi Sir,

我使用的平台是海思3556,Linux4.9.37,料号cyw43455,使用的是125.15的驱动。

目前在调试驱动时,做过两种测试:

①.insmod ko时加载FW和NVRAM,在下载固件后,就出现dump的log,部分如下:

dhdsdio_membytes: write 2048 bytes at offset 0x00000000 in window 0x00218000

dhdsdio_membytes: write 53 bytes at offset 0x00000800 in window 0x00218000

Alignment trap: not handling instruction e1903f9f at [<c049f07c>]

Unhandled fault: alignment exception (0x001) at 0x00000235

②insmod ko时不加载FW和nvram,驱动流程可以正常跑完,通过指令ifconfig wlan0 up起WiFi,

这时依然会出现dump。

尝试跟踪log,发现在sdioh_request_buffer()中的 PKTFREE_STATIC(sd->osh, tmppkt, write ? TRUE : FALSE)

内存释放会有问题。

两份具体log如附件所示,请帮忙分析原因。

Thanks,

Leo

0 点赞
1 解答

Hi Zhengbao,

不好意思,我的内核版本没搞对... 我用的是一个没有编译的内核,板子上跑的是另外一个机器上的内核。

现在WiFi已经可以正常起来了。

Best Regards,

Leo

在原帖中查看解决方案

0 点赞
2 回复数
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hi  Leo:

  let me check your nvram firstly.

0 点赞

Hi Zhengbao,

不好意思,我的内核版本没搞对... 我用的是一个没有编译的内核,板子上跑的是另外一个机器上的内核。

现在WiFi已经可以正常起来了。

Best Regards,

Leo

0 点赞