HOW I do GPU test using yocto

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

HOW I do GPU test using yocto

2,914 次查看
moowonlee
Contributor II

hi

I am plannig to test GPU using yocto.

How I set enviorment and configuration Buid?

>> MACHINE=imx6sxsabresd source fsl-setup-release.sh -b build -e  ???

What I set graphic backend for?

And How I bitake?

>> bitbake ??

what I use target image for ?

Could you answer me?

if i set  graphic backend for fb and  target image for core-image- base , is it possible to test GPU?

0 项奖励
回复
1 回复

2,220 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi moowon,

Please try X-11 image on i.MX 6Quad SABRE-SD

$ MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11

$ bitbake fsl-image-gui

To run test applications, you have to first load the GPU driver.

To load the GPU driver, use the following command:

"insmod /fgalcore.ko"

to un-install GPU driver, run the following command:

"rmmod /galcore.ko"

Note: The path of galcore.ko can be found by the following command:

"cd / && find . -name "galcore.ko" "

The script is located at Yocto rootfs /unit_tests/. There are three ways to run it.

Normal run to get all gpu related processes information:

>/unit_tests/gpuinfo.sh

Hope this helps