2024年4月2日发(作者:)
一、开始Rapidio门铃测试之前的准备条件:
1.下载安装rapidio驱动,驱动说明:kernel-rapidio,版本为 1.2.0。
2.测试的应用软件,软件为RapidIO_RRMAP,包含RDMA等应用程序,
版本为:1.2.1
3.两台待测的具备RapidIO的板卡,且已经将两块板卡的RapidIO通过底
板互联,下文将主设备称为Master,从设备称为Slaver。
4.安装驱动,并加载相应的模块。
二、安装好驱动和测试软件后按如下步骤配置:
端修改(在/etc/rapidio目录)配置文件内容如下:
# Configure RapidIO subsystem modules loading
# Uncomment the line below to set enumerator host destination ID on
RapidIO
# network enumerator node (overrides kernel command line option).
# See included documentation for more details.
options rapidio hdid=1234
# Uncomment and edit the line below to change parameters of Tsi721
mport device
# driver. See Documentation/rapidio/ for parameter
descxxxxription.
# options tsi721_mport mbox_sel=0xf dma_sel=0x7f pcie_mrrs=5
dma_txqueue_sz=4096 dma_desc_per_channel=4096
# Uncomment and edit the line below to change parameters of
rio_mport_cdev device
# driver if you want it to use reserved memory range for DMA data
buffers.
options rio_mport_cdev rio_res_mem=0x40000000
rio_res_size=0x10000000
# Uncomment one of the module loading options below (if needed)
# ATTN: If you use kernel mode enumeration please make sure that
switch drivers
# are loaded before an enumeration/discovery process starts.
# Load RapidIO all drivers immediately after rapidio core module was
loaded.
# Use command "echo -1 > /sys/bus/rapidio/scan" to start
enumeration/discovery.
softdep rapidio post: idt_gen2 idt_gen3 idtcps tsi57x tsi568
tsi721_mport rio_mport_cdev rio_cm rio-scan
发布者:admin,转转请注明出处:http://www.yc00.com/news/1712036418a1994548.html
评论列表(0条)