Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

install OpenCL RTE in custom Linux in DE1-SoC

Hello everybody,

I am using DE1-SoC to implement an application, I have used buildroot and linux-socfpga, to build my custumized linux.

It runs well, without problem.

Now I want to add OpenCL RTE to my linux, to accelerate my application.

what are the steps to do that?

Thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks The Smith,

    I have already read it, the examples run successfully using pre-built linux provided by the constructor.

    but I have a custom Linux (built by compiling the kernel and file system using buildroot). I added the RTE to the board, I have recompiled the aclsoc_drv.ko successfully.

    In the board I can load the init_opencl.sh, and execute 'aocl diagnose' without any problem, the device /dev/acl0 exists. But when I want to program my FPGA using 'aocl program /dev/acl0 file.aocx' it can not find the /sys/class/fpga-bridge and /sys/class/fpga/ directory, I found instead /sys/class/fpga-manager ???

    Thanks