since two weeks I'm trying to get OpenCL working on Sabre SDB Board. (SABRE for Smart Devices Reference Design)
There is one PDF "White Paper | Get started with OpenCL on i.MX6" (https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCQQFjAA&url=https%3A%2F%2Fcommunity.…)
I tried to get through it: The board support package referenced there seems to be not existent any more and some dependencies are brocken. I took latest BSP instead.
I tried installing ltib on Ubuntu 14.04: After two days and many issues finally get it compiling. Failed at the very end and image building because some kernel files which are supposed to be on freescale server were not existent any more. The ltib script was not able to get them from other server either: they are just not there.
I have installed the Vivante SDK on Windows with emulator and can compile and run opencl example there.
I have a running Yocto on Sabre Board, kernel 3.10.53 and I have another "chroot" environment with gcc,cmake and other build stuff. I can compile and run arbitrary code there as long as it doesn't use OpenCL!
As soon as I include libOpenCL.so it seems to have many dependencies which are not clear: libVIVANTE.so, libGAL.so, and some wayland stuff.
After another couple of days I got the OpenCL "hello world" from white paper compiled (after fixing 5-6 issues there) but if I start it I get error message:
- libgc_wayland_protocol.so.0 undefined symbol wl_registry_interface
My question is rather simple: Is there anybody who could provide complete SDCARD image for the mentioned board with working OpenCL?. A filesystem for chroot using kernel 3.10.53 would also be a great help.
Just for reference here are some md5sum hashcodes of headers and libs I've tried: