HOW I do GPU test using yocto

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

HOW I do GPU test using yocto

1,861 Views
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 Kudos
1 Reply

1,167 Views
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