Altera_Forum
Honored Contributor
8 years agoaocl freezes device
Hi
Could anyone help me. I'm a complete newbie with FPGA. I have a device Arria 10 SoC Deve Kit which has ARM controller. So I'm trying to program it with a compiled OpenCL file. I copied a Linux image for this device supplied with OpenCL SDK on SD card and started the the device. It starts without any issues. I connect to device using GtkTerm or PuTTY via COM(USB) terminal and login as root. No password required. I initialise opencl running source ./init_opencl.sh. When I run lsmod I can see OpenCL driver is loaded into Linux kernel. Then I'm trying to run aocl diagnose and the system just freezes completely. Ctrl-C does not work at all and I have to switch power off. The same happening if I'm trying to program it using something like aocl program hello_world.aocx it just freezes as well. A person who gave me this device to play with can't help as she is not a Linux specialist like me but FPGA developer and connects to this device without issues from Windows via USB directly. She does not use ARM at all. I suspect that FPGA is not available from ARM via AXI interface as probably some jumper is not switched properly or something like that. I think so as she uses FPGA part of this device without any issues and I started Linux without any issues. The image I used is intelFPGA/17.1/hld/board/a10soc/a10soc_linux_sd_card_image.tgz Could anyone suggest anything or we should contact Altera Support?