All of lore.kernel.org
 help / color / mirror / Atom feed
* BeagleBone Black - ti-sgx-ddk not working on yocto Krogoth, what is missing
@ 2016-10-08  1:49 Simon Pelletier-Thibault
  2016-10-10 14:19 ` Ruei, Eric
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Pelletier-Thibault @ 2016-10-08  1:49 UTC (permalink / raw)
  To: meta-ti

[-- Attachment #1: Type: text/plain, Size: 1876 bytes --]

Hi,

I'm trying to use sgx driver for EGL application on BeagleBone Black. I
build a minimal image to test it and it is not working.

I got this:
root@beaglebone:~# sgx_init_test
----------------------- Start -----------------------
Try calling PVRSRVConnect with an invalid argument:
PVR:(Error): PVRSRVConnect: Invalid connection. [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
 OK
Call PVRSRVConnect with a valid argument:
 OK
Try calling PVRSRVEnumerateDevices with invalid puiNumDevices:
PVR:(Error): PVRSRVEnumerateDevices: Invalid params [0, ]
 OK
Get number of devices from PVRSRVEnumerateDevices:
 OK
.... Reported 1 devices
.... Device Number  | Device Type
            0000    | PVRSRV_DEVICE_ID_SGX
Attempt to acquire device 0:
 OK
Getting SGX Client info
 OK
.... ui32ProcessID:266
Display Class API: enumerate devices
 OK
PVRSRVEnumerateDeviceClass() returns 0 display device(s)
 FAIL - PVRSRV_ERROR_NO_DC_DEVICES_FOUND
-----

Here my configuration:
bblayes.conf:
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /path/poky2.1/meta \
  /path/poky2.1/meta-poky \
  /path/meta-ti2 \
  "
-----

local.conf:
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

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

IMAGE_INSTALL_append_pn-core-image-minimal = " packagegroup-base-vfat
packagegroup-base-usbhost dropbear linux-firmware ti-sgx-ddk-km
ti-sgx-ddk-um libdrm"

-----

What am I missing?

I try other configurations, like core-image-weston. After "adjusting" mesa
so it won't install gbm, weston won't boot and I still get the previous
error.

Thank you.

Simon

[-- Attachment #2: Type: text/html, Size: 2310 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-13 10:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-08  1:49 BeagleBone Black - ti-sgx-ddk not working on yocto Krogoth, what is missing Simon Pelletier-Thibault
2016-10-10 14:19 ` Ruei, Eric
2016-10-10 14:27   ` Denys Dmytriyenko
2016-10-10 20:26     ` Simon Pelletier-Thibault
2016-10-11  9:04       ` Denys Dmytriyenko
2016-10-12  2:40         ` Simon Pelletier-Thibault
2016-10-13 10:29           ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.