Feasycom 发表于 2024-10-24 09:33:59

RK3568 系统

移植展锐UWM2651 WIFI驱动 ,驱动加载出现 dma_mapping_error ,期望能给出有效的分析思路。附上部分日志。

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

知识库 发表于 2024-10-24 14:18:45

邮箱:
Linux 技术支持: linux@forlinx.com
:lol
页: [1]
查看完整版本: RK3568 系统