Forum Discussion
Altera_Forum
Honored Contributor
8 years agoPlease export following variable before you install aclsoc_drv.ko
export ALTERAOCLSDKROOT=/home/root/opencl_arm32_rte export AOCL_BOARD_PACKAGE_ROOT=$ALTERAOCLSDKROOT/board/c5soc export PATH=$ALTERAOCLSDKROOT/bin:$PATH export LD_LIBRARY_PATH=$ALTERAOCLSDKROOT/host/arm32/lib:$LD_LIBRARY_PATH Also make sure you have all these folder available in your /home/root directory. If you don't have then you can download it from Altera site and then put the your compiled kernel module into those directory. I don't know exact location where to put .ko file but it is somewhere in driver directory. Hope this helps. --- Quote Start --- Hi bmorcos, I have also created a custome image using Yocto and recompiled the opencl_arm32_rte against 4.1.22-ltsi-altera kernel. I have loaded aclsoc_drv.ko without problems but when I try to launch aocl this is what I have: ``` root@cyclone5:~# aocl version /home/root/aocl_rte/bin/aocl: line 110: /home/root/aocl_rte/host/arm32/bin/aocl: No such file or directory ``` Did you experiment something similar, some help would be appreciated. Thanks --- Quote End ---