嵌入式爱好者

查看: 576|回复: 1

[Linux] RK3568 系统

[复制链接]

4

主题

4

帖子

34

积分

RK3568通行证

扫一扫,手机访问本帖
发表于 2024-10-24 09:33:59 | 显示全部楼层 |阅读模式
移植展锐UWM2651 WIFI驱动 ,驱动加载出现 dma_mapping_error ,期望能给出有效的分析思路。附上部分日志。

[20241022_15:54:41_173]#[   38.477914] sc2355 sprd-wlan:sprdwl_probe Power on wcn (0 time)
[20241022_15:54:41_173]#[   38.477965] WCN BASE: : start_marlin [MARLIN_WIFI]
[20241022_15:54:41_173]#[   38.477979] WCN BASE: : marlin power state:0x100, subsys: [MARLIN_WIFI] power 1
[20241022_15:54:41_173]#[   38.477991] WCN BASE: : GNSS and marlin have ready
[20241022_15:54:41_173]#[   38.478006] WCN BASE: : only one module open, need to notify loopcheck
[20241022_15:54:41_173]#[   38.478018] WCN BASE: : start_loopcheck
[20241022_15:54:41_174]#[   38.478046] sc2355 sprd-wlan:__sprdwl_cmd_getbuf cant't get vif, ctx_id: 0
[20241022_15:54:41_174]#[   38.478063] cmd get buf ftr
[20241022_15:54:41_174]#[   38.478081] sc2355 sprd-wlan:cmd->refcnt=1
[20241022_15:54:41_174]#[   38.478096] sc2355 sprd-wlan:[38289]ctx_id 0 send[WIFI_CMD_SYNC_VERSION]
[20241022_15:54:41_174]#[   38.478108] sc2355 sprd-wlan:sprdwl_tx_msg_func
[20241022_15:54:41_174]#[   38.478137] sc2355 sprd-wlan:sprdwl_timeout_recv_rsp, completion begin=0X0
[20241022_15:54:41_174]#[   38.478159] if_tx_one
[20241022_15:54:41_174]#[   38.478189] WCN PCIE dbg: pool=000000004b5442b8, chn=4, free=10
[20241022_15:54:41_174]#[   38.478203] sc2355 sprdwl-wlan tx to cp2 cmd data dump hex dump(len = 272)
[20241022_15:54:41_175]#[   38.478212] 91 95 00 00 00 00 00 00 01 00 00 00 01 02 01 01
[20241022_15:54:41_175]#[   38.478226] 01 01 01 01 01 01 01 03 01 01 01 01 01 01 01 01
[20241022_15:54:41_175]#[   38.478238] 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
[20241022_15:54:41_175]#[   38.478250] 01 01 01 01 01 01 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_175]#[   38.478261] 00 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01
[20241022_15:54:41_175]#[   38.478272] 01 01 01 01 01 01 01 01 01 01 01 01 01 00 01 00
[20241022_15:54:41_177]#[   38.478284] 01 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_191]#[   38.478295] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_191]#[   38.478307] 00 00 00 00 00 00 00 00 00 00 00 00 01 01 01 01
[20241022_15:54:41_191]#[   38.478318] 01 01 01 00 01 01 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_192]#[   38.478408] 00 00 00 00 00 00 00 00 00 00 00 00 01 01 00 00
[20241022_15:54:41_192]#[   38.478423] 00 00 00 00 00 00 00 00 00 00 00 00 01 01 01 01
[20241022_15:54:41_192]#[   38.478432] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_192]#[   38.478441] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_192]#[   38.478452] 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
[20241022_15:54:41_192]#[   38.478464] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01
[20241022_15:54:41_192]#[   38.478475] 01 01 01 01 01 00 00 00 00 00 00 00 00 00 00 00
[20241022_15:54:41_192]#[   38.478505] dma mapping error
[20241022_15:54:41_192]#[   38.483387] dma map single attrs addr 00000000c3dfbd96 size 272 dir 1
[20241022_15:54:41_192]#[   38.483393] dma mapping error
[20241022_15:54:41_193]#[   38.483401] sc2355 sprd-wlan:mm_virt_to_phys: dma_mapping_error
[20241022_15:54:41_193]#[   38.483411] dma map single addr 00000000c3dfbd96 size 272 direction 1
[20241022_15:54:41_193]#[   38.483413] dma map single attrs addr 00000000c3dfbd96 size 272 dir 1
[20241022_15:54:41_193]#[   38.483422] dma mapping error

回复

使用道具 举报

0

主题

12

帖子

54

积分

发表于 2024-10-24 14:18:45 | 显示全部楼层
邮箱:
Linux 技术支持: linux@forlinx.com
:lol
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 12:46

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表