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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
5,516 次查看
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.

标签 (2)
0 项奖励
回复
1 解答
3,859 次查看
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 项奖励
回复
2 回复数
3,860 次查看
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 项奖励
回复
3,859 次查看
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 项奖励
回复