How do I add OpenCL support to Yocto build process for the imx6qsabresd?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I add OpenCL support to Yocto build process for the imx6qsabresd?

Jump to solution
4,053 Views
tfarnham
Contributor II

I am trying to enable OpenCL support both in the target image as well as the SDK built using populate_sdk.  I am currently using the imx-3.14.28-1.0.0_ga BSP.  I have a "minimal" build working without OpenCL.  I don't have any gui elements included.  I would like to know what I might need to add in the way of layers and/or conf instructions to get OpenCL support using the vivante GPU enabled.  I really don't need wayland, x11, directfb etc....  Just GPU + OpenCL support.  I hope some expert with yocto+imx might have some clues for me....Thanks.

Labels (2)
0 Kudos
1 Solution
2,396 Views
tfarnham
Contributor II

I figured out some basics that have helped, but I still had to include directfb in my image.

Changed my conf to have:

DISTRO_FEATURES_remove = "x11 wayland"

DISTRO_FEATURES_append = " directfb"

Added this to my IMAGE_INSTALL:

packagegroup-core-directfb
fsl-gpu-sdk

View solution in original post

0 Kudos
2 Replies
2,397 Views
tfarnham
Contributor II

I figured out some basics that have helped, but I still had to include directfb in my image.

Changed my conf to have:

DISTRO_FEATURES_remove = "x11 wayland"

DISTRO_FEATURES_append = " directfb"

Added this to my IMAGE_INSTALL:

packagegroup-core-directfb
fsl-gpu-sdk

0 Kudos
2,396 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Terry

Also make sure that you have the graphics recipe and you are able to run those graphics unit test and fsl-gpu-sdk demos.

Also something to take in mind https://community.nxp.com/thread/428397 

regards

0 Kudos