install OpenCL RTE in customer Linux in Mercury AA1 SoC
Hi everyone,
I am using Enclustra Mercury AA1 arria10 SoC to implement a opencl application for FPGA. I used the buildroot and bsp-altera provided by Enclustra to build a customer linux and was able to boot the linux in AA1 SoC. I can run a software built with buildroot cross-compile toolchain in linux without issue.
Now I want to add OpenCL RTE aocl-pro-rte-17.1.0-240.arm32 to my linux. I ran source init_opencl.sh without issue. After I ran aocl diagnose, the linux gives an error "/root/aocl-pro-rte-17.1.0-240.arm32/host/arm32/bin/aocl: not found". I can see the file aocl is there and has right permission +x for all users. If I ran " /root/aocl-pro-rte-17.1.0-240.arm32/host/arm32/bin/aocl" directly, it gives error "-sh: /root/aocl-pro-rte-17.1.0-240.arm32/host/arm32/bin/aocl: not found".
What is the problem? And how can I fix it?
Thanks,
Michael