Forum Discussion
MuhammadAr_U_Intel
Contributor
6 years agoI believe you are not able to detect any device since there is no driver installed for board.
Follow the step from Intel FPGA RTE for OpenCL Pro, getting starter guide "https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391808173911.html#ARM_linux_RTE_install_RTE_board"
Topic: Installing the Intel FPGA RTE for OpenCL Pro Edition onto the SoC FPGA Board
5.Transfer the aclsoc_drv.ko file you built on your development machine into the <rte_destination_directory>/board/a10soc/driver directory on the SoC FPGA board.
6.Set the environment variables, as shown below.
recommends that you consolidate the settings of the environment variables into a file called init_opencl.sh. Then, run the command source ./init_opencl.sh to load all the environment variables and the OpenCL™ Linux kernel driver simultaneously.
export INTELFPGAOCLSDKROOT=<rte_destination_directory>
export AOCL_BOARD_PACKAGE_ROOT=$INTELFPGAOCLSDKROOT/board/c5soc
export PATH=$INTELFPGAOCLSDKROOT/bin:$PATH
export LD_LIBRARY_PATH=$INTELFPGAOCLSDKROOT/host/arm32/lib:$LD_LIBRARY_PATH
insmod $AOCL_BOARD_PACKAGE_ROOT/driver/aclsoc_drv.ko
Thanks,
Arslan