khyam
New Contributor
4 years agoArria 10 DMA PAC card
Hi,
The dma_afu_unsigned.gbs configured on PR region Arria 10 1.2.1 PAC fpga. I am unable to run dma SW example on HW. It gives me the following error:
Running test in HW mode
ErrorfpgaDmaOpen: no memory
ErrorfpgaDmaClose: invalid parameter
To solve the above error run the following command
sudo sh -c "echo 20 > /sys/kernel/mm/hugepages/hugepages-\2048kB/nr_hugepages"
sudo LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH ./fpga_dma_test 0
sudo LD_LIBRARY_PATH=.:/usr/local/lib perf stat -d -d -d -D 20 ./fpga_dma_test 0 -m -c -n -y -C -M
I am unable to run the above command due to the superuser permission required in devcloud. I don't have superuser permission.
Can you help me resolve the issue to run the command at the user mode?
Thank you.