Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RM500U-CNV PCIE 无法正常通信 #28

Open
zhang1990xue opened this issue Dec 26, 2024 · 0 comments
Open

RM500U-CNV PCIE 无法正常通信 #28

zhang1990xue opened this issue Dec 26, 2024 · 0 comments

Comments

@zhang1990xue
Copy link

pcie设备应该识别到了:
root@RK3588-Tronlong:/sys/bus/pci# lspci
0003:30:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3588 (rev 01)
0003:31:00.0 Wireless controller: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01)
但是还是打不开设备
root@RK3588-Tronlong:/sys/bus/pci#
root@RK3588-Tronlong:/sys/bus/pci# cat /dev/stty_nr31
[58350.295915] spipe 1-6 not ready to open!
cat: /dev/stty_nr31: No such device
查看启动log,这个通道的open没有成功:root@RK3588-Tronlong:/sys/bus/pci# dmesg | grep sms
[ 1.890545] smsg_ipc_create: sprd,sipc
[ 1.890818] smsg_ipc_smem_init: ring_base = 0x2c00000, ring_size = 0x1000
[ 1.891607] smsg_ch_open: channel 1-4 send open msg!
[ 1.891610] send smsg: channel=4, type=1, flag=0xbeee, value=0x00000000
[ 1.892028] smsg_ch_open: channel 1-21 send open msg!
[ 1.892029] send smsg: channel=21, type=1, flag=0xbeee, value=0x00000000
[ 1.892152] smsg_ch_open: channel 1-6 send open msg!
[ 1.892157] send smsg: channel=6, type=1, flag=0xbeee, value=0x00000000
[ 1.892725] smsg_ch_open: channel 1-40 send open msg!
[ 1.892727] send smsg: channel=40, type=1, flag=0xbeee, value=0x00000000
[ 1.892901] smsg_ch_open: channel 1-5 send open msg!
[ 1.892905] send smsg: channel=5, type=1, flag=0xbeee, value=0x00000000
[ 1.893431] pms: smsg-1-5-tx down, active_cnt=0.
[ 1.893433] smsg_recv: dst=1, channel=5, timeout=-1, ch_index = 6
[ 1.893435] smsg recv wrptr=0x2ed068, rdptr=0x2ed070
[ 1.893436] pms: smsg-1-40-tx down, active_cnt=0.
[ 1.893437] smsg_recv: dst=1, channel=40, timeout=-1, ch_index = 38
[ 1.893439] smsg recv wrptr=0x30c9068, rdptr=0x30c9070
[ 1.893477] pms: smsg-1-21-tx down, active_cnt=0.
[ 1.893479] smsg_recv: dst=1, channel=21, timeout=-1, ch_index = 7
[ 1.893480] pms: smsg-1-4-tx down, active_cnt=0.
[ 1.893481] smsg recv wrptr=0x30c8068, rdptr=0x30c8070
[ 1.893482] smsg_recv: dst=1, channel=4, timeout=-1, ch_index = 5
[ 1.893484] smsg recv wrptr=0x2b9a068, rdptr=0x2b9a070
[ 1.893520] pms: smsg-1-6-tx down, active_cnt=0.
[ 1.893522] smsg_recv: dst=1, channel=6, timeout=-1, ch_index = 8
[ 1.893524] smsg recv wrptr=0x2ec068, rdptr=0x2ec070
[ 2.051047] smsg_ch_open: channel 1-120 send open msg!
[ 2.051052] send smsg: channel=120, type=1, flag=0xbeee, value=0x00000000
[ 2.051074] pms: smsg-1-120-tx down, active_cnt=0.
[ 2.051078] smsg_recv: dst=1, channel=120, timeout=-1, ch_index = 37
[ 2.051082] smsg recv wrptr=0x4605068, rdptr=0x4605070
[57141.802264] send smsg: channel=120, type=2, flag=0xeddd, value=0x00000000
[57141.802292] pms: smsg-1-120-tx down, active_cnt=0.
[57141.841788] smsg_recv: dst=1, channel=120 channel is free!
[57141.841801] smsg_ch_open: channel 1-120 smsg receive error = -5!
[57165.461904] smsg_ch_open: channel 1-120 send open msg!
[57165.461913] send smsg: channel=120, type=1, flag=0xbeee, value=0x00000000
[57165.461934] pms: smsg-1-120-tx down, active_cnt=0.
[57165.461936] smsg_recv: dst=1, channel=120, timeout=-1, ch_index = 37
[57165.461939] smsg recv wrptr=0xf66e068, rdptr=0xf66e070
请问大概是何种原因?谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant