Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHello,
First, thank you a lot for the post. Actually, I'm trying to run OpenCL on an Arrow SoCkit. But I still can't make it work. Using this package http://mail.terasic.com.cn/~wyzhou/sockit.zip. I followed the read-me file steps. Everything was okay until I wanted to execute "source ./init_opencl.sh". And here, the system hangs as you explained. The point is that the driver "aclsoc_drv.ko" does not exist in the package. Trying to solve it, I did the following steps: 1) I recompiled the linux kernel and copied the zImage to the FAT32 partition. But when i do like this the boot hangs at zImage learning !! But, It worked with an other package that I used for the remaing steps,(grsd;http://rocketboards.org/foswiki/documentation/arrowsockitevaluationboardlinuxgettingstarted#configuring_the_board). 2) After that, I recoompiled the driver using the linux_socfpga source files without any problem (I followed the instructions in the file http://www.altera.com/literature/hb/opencl-sdk/ug_aocl_c5soc_devkit_platform.pdf) 3) I copied the OpenCl ncessary files from the sockit.zip package to the SD card (opencl_arm32_rtl, init_opencl.sh, hello_world,...) the "aclsoc_drv.ko" file is now present. 3) Finally, when applying the command "source ./init_opencl.sh", it hangs again. Could you please tell me if I missed something and I will be thankfull if you could explain in detail what you did to get it work. Best regards,