Hello everyone,

I was trying to build kirkstone for am335x with a SGX GPU.
I was not able to use it with mesa.

On the latest kirkstone (1743b0101) (I tried it with the latest master, too) if 
I set 

PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km"

bitbaking mesa-pvr fails with 

../git/meson.build:21:0: ERROR: Options "sgx" are not in allowed choices: 
"auto, kmsro, radeonsi, r300, r600, nouveau, freedreno, swrast, v3d, vc4, 
etnaviv, tegra, i915, svga, virgl, panfrost, iris, lima, zink, d3d12, asahi, 
crocus, pvr"


There is a branch wip2/kirkstone/sgx-1.17-4948957/22.0 on the mesa-pvr 
repository that includes this option. But this branch fails to build with lots 
of undefined reference errors.

So the only way to build an image with working SGX support for me was to port 
the ti-sgx-ddk-um_1.17.4948957.bb from dunfell over to kirkstone and set 
preffered providers for my target as in dunfell.

PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km"

Is this currently the only way to get SGX working or am I doing sth wrong?

Tnx.

Matthias
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16667): 
https://lists.yoctoproject.org/g/meta-ti/message/16667
Mute This Topic: https://lists.yoctoproject.org/mt/99345421/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [meta-ti] Mesa for SGX on kir... Matthias Schnelte via lists.yoctoproject.org

Reply via email to