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
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!
-----------------------------------------------------------------------------------------------------------------------
Thank you very much, Yiping.
Hi I am use T2080 now, same to you.