A problem of sending SRIO doorbell, message by T2080

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

A problem of sending SRIO doorbell, message by T2080

2,393 次查看
andressjackson
Contributor II

yipingwang

Hi guys,

I am working with the board T2080RDB. I am using the operative system which is provided by NXP using Yocto Proyect and the sdk 2.0-1703.

My purpose is sending SRIO doorbells and messages by T2080 regardless of the ethernet frames.I only want to implement the SRIO transactions.I use the usdpaa-app according to the SDK document.First operation is to sending doorbells.The log is below:

####################################################

root@t2080rdb:~# /mnt/usb/ccfra -f /usr/etc/dbell_tx.xml

Warning: program compiled against libxml 209 using older 207

Warning: program compiled against libxml 209 using older 207

QMan: Allocated lookup table at 0x3fff93b55010, entry count 32769

do global init!

/mnt/usb/ccfra: BPOOL: Release 8192 bufs to BPID 9

/mnt/usb/ccfra: BPOOL: Release 256 bufs to BPID 10

/mnt/usb/ccfra: BPOOL: Release 8192 bufs to BPID 11

/mnt/usb/ccfra: BPOOL: Release 8192 bufs to BPID 12

20180426000

20180426001

/mnt/usb/ccfra: Can not open RMan device fileIt may have been opened by other app

ccfra: drivers/of/of.c:76: node2dir: Assertion `!dn->is_file' failed.

USDPAA process leaking 4 QPOOLs

Aborted

######################################################

According to the log,the probelm is there is not the /dev/rman-uio.

I edit the kernel as follows:

Device Drivers --->

            <*> Userspace I/O drivers --->

                            <*> Freescale Serial RapidIO support

            <*> Staging drivers --->

                             [*]  Freescale RapidIO Message Manager support

But it didn't work.There still isn't the /dev/rman-uio.

If any body has any lead over here so pls help me. suggestions would be highly appreciated.

 

Have a great day

标签 (1)
0 项奖励
回复
3 回复数

1,878 次查看
yipingwang
NXP TechSupport
NXP TechSupport

According to T2080 DPAA User Manual, QMAN channel number 820h to 821h should be assigned to RMan.
Please add the following in the dts file t2081si-post.dtsi.
/include/ "qoriq-rman-0.dtsi"
rman: rman@1e0000 {
fsl,qman-channels-id = <0x820 0x821>;
};


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,878 次查看
andressjackson
Contributor II

Thank you very much,  Yiping.

1,878 次查看
liguofa
Contributor III

Hi I am use T2080 now, same to you.

0 项奖励
回复