- 积分
- 34
贡献222
飞刀70 FD
注册时间2023-4-20
在线时间6 小时
扫一扫,手机访问本帖
|
移植展锐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
|
|