Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-19 Thread Robert Nelson
On Wed, Oct 19, 2016 at 9:14 AM, Matteo Facchinetti wrote: > > > Il giorno mercoledì 19 ottobre 2016 10:21:53 UTC+2, Matteo Facchinetti ha > scritto: >> >> >>> I'm pretty sure we will have to back-port wayland from stretch.. >>> >>> But this scares me: >>> >>> >>> http://git.ti.com/gitweb/?p=graph

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-19 Thread Matteo Facchinetti
Il giorno mercoledì 19 ottobre 2016 10:21:53 UTC+2, Matteo Facchinetti ha scritto: > > > I'm pretty sure we will have to back-port wayland from stretch.. >> >> But this scares me: >> >> >> http://git.ti.com/gitweb/?p=graphics/omap5-sgx-ddk-um-linux.git;a=commit;h=8d4ba04a2da59989b21aacca9defdf

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-19 Thread Matteo Facchinetti
> I'm pretty sure we will have to back-port wayland from stretch.. > > But this scares me: > > > http://git.ti.com/gitweb/?p=graphics/omap5-sgx-ddk-um-linux.git;a=commit;h=8d4ba04a2da59989b21aacca9defdf387e321695 > > > the gcc 4.9 -> gcc 5.x was so much "FUN" in stretch over the summer, ^ >

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-17 Thread Robert Nelson
On Mon, Oct 17, 2016 at 5:00 PM, Charles Steinkuehler wrote: > On 10/17/2016 10:42 AM, Robert Nelson wrote: >> >> The libraries are built for egl/wayland, so remember no x.. > > What's the status of wayland on the BBB with Debian Jessie? > > ...or is that more "build from source" fun, like the SGX

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-17 Thread Charles Steinkuehler
On 10/17/2016 10:42 AM, Robert Nelson wrote: > > The libraries are built for egl/wayland, so remember no x.. What's the status of wayland on the BBB with Debian Jessie? ...or is that more "build from source" fun, like the SGX drivers themselves? -- Charles Steinkuehler char...@steinkuehler.net

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-17 Thread Robert Nelson
On Mon, Oct 17, 2016 at 10:37 AM, Robert Nelson wrote: > On Mon, Oct 17, 2016 at 5:51 AM, Robert Nelson > wrote: >> On Oct 17, 2016 2:43 AM, "Matteo Facchinetti" >> wrote: >>> >>> > > How was this module built? https://github.com/rcn-ee/ti-sgx-omap5/blob/master/build-ti335x-

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-17 Thread Robert Nelson
On Mon, Oct 17, 2016 at 5:51 AM, Robert Nelson wrote: > On Oct 17, 2016 2:43 AM, "Matteo Facchinetti" > wrote: >> >> >>> > >>> > How was this module built? >>> >>> https://github.com/rcn-ee/ti-sgx-omap5/blob/master/build-ti335x-4.4.x.sh >>> >> >> I belive to have discovered what is the problem: >

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-17 Thread Robert Nelson
On Oct 17, 2016 2:43 AM, "Matteo Facchinetti" < matteo.facchine...@sirius-es.it> wrote: > > >> > >> > How was this module built? >> >> https://github.com/rcn-ee/ti-sgx-omap5/blob/master/build-ti335x-4.4.x.sh >> > > I belive to have discovered what is the problem: > > in build-ti335x-4.4.x.sh script

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-17 Thread Matteo Facchinetti
> > > > How was this module built? > > https://github.com/rcn-ee/ti-sgx-omap5/blob/master/build-ti335x-4.4.x.sh > > I belive to have discovered what is the problem: in build-ti335x-4.4.x.sh script, when specify make_options, there isn't "TARGET_PRODUCT=ti335x" option. If not specify TARGET_P

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread William Hermans
On Tue, Oct 4, 2016 at 6:05 PM, Matthijs van Duin wrote: > On 5 October 2016 at 02:43, William Hermans wrote: > >> So libEGL is Mesa's Wayland extensions. >> > > No. > > > https://en.wikipedia.org/wiki/EGL_(API) > > >> Mesa is a 3d graphics library. Not

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread Matthijs van Duin
On 5 October 2016 at 02:43, William Hermans wrote: > So libEGL is Mesa's Wayland extensions. > No. https://en.wikipedia.org/wiki/EGL_(API) > Mesa is a 3d graphics library. Not sure how SGX even comes in at this > context ? > > Well it's not going to if you accidently use the wrong libEGL.so,

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread William Hermans
On Tue, Oct 4, 2016 at 12:24 PM, Matthijs van Duin < matthijsvand...@gmail.com> wrote: > On Wednesday, 28 September 2016 11:05:50 UTC+2, Matteo Facchinetti wrote: >> >> libEGL warning: DRI3: xcb_connect failed >> libEGL warning: DRI2: xcb_connect failed >> libEGL warning: DRI2: xcb_connect failed

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread Robert Nelson
On Tue, Oct 4, 2016 at 5:23 PM, Matthijs van Duin wrote: > On 4 October 2016 at 23:18, Robert Nelson wrote: >> >> debian@beaglebone:~$ sudo modprobe pvrsrvkm >> >> (nothing in dmesg) >> >> debian@beaglebone:~$ lsmod | grep pvr >> pvrsrvkm 379674 0 >> debian@beaglebone:~$ ls /dev/dri

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread Matthijs van Duin
On 4 October 2016 at 23:18, Robert Nelson wrote: > > debian@beaglebone:~$ sudo modprobe pvrsrvkm > > (nothing in dmesg) > > debian@beaglebone:~$ lsmod | grep pvr > pvrsrvkm 379674 0 > debian@beaglebone:~$ ls /dev/dri/* > /dev/dri/card0 /dev/dri/controlD64 > Those two nodes are from

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread Robert Nelson
On Tue, Oct 4, 2016 at 3:34 PM, Matthijs van Duin wrote: > On Monday, 26 September 2016 21:06:17 UTC+2, RobertCNelson wrote: >> >> sudo mkdir -p /lib/modules/4.4.11-00332-gce54280-dirty/extra/ >> sudo ln -s /lib/modules/`uname -r`/extra/ti335x/pvrsrvkm.ko >> /lib/modules/4.4.11-00332-gce54280-dirt

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread Matthijs van Duin
On Monday, 26 September 2016 21:06:17 UTC+2, RobertCNelson wrote: > > sudo mkdir -p /lib/modules/4.4.11-00332-gce54280-dirty/extra/ > sudo ln -s /lib/modules/`uname -r`/extra/ti335x/pvrsrvkm.ko > /lib/modules/4.4.11-00332-gce54280-dirty/extra/pvrsrvkm.ko > You can also just modprobe the module

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-10-04 Thread Matthijs van Duin
On Wednesday, 28 September 2016 11:05:50 UTC+2, Matteo Facchinetti wrote: > > libEGL warning: DRI3: xcb_connect failed > libEGL warning: DRI2: xcb_connect failed > libEGL warning: DRI2: xcb_connect failed > Unable to initialise egl > egl error 'EGL_NOT_INITIALIZED' (0x3001) > > Sounds like it's

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-09-28 Thread Matteo Facchinetti
> Yeah, that's as far as i got... TI even got that far in our jessie image > too... > > Yeah, you are right. SGX module is an headache inclusion of proprietary code. This is the main problem... :-( ... Well, with the same commands, have the same error... good. another little st

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-09-28 Thread Matteo Facchinetti
... sending test ... I'm sorry but my original message is automatically deleted ... I try to do another send ... -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from t

Re: [beagleboard] SGX on 4.4.*-ti-rt kernel

2016-09-26 Thread Robert Nelson
On Mon, Sep 26, 2016 at 10:50 AM, wrote: > Hi, > > I try for the first time to enable SGX feauture on BBB using the kernel > version 4.4.* to experiment and try to use it with weston. > I use jessie debian image (rcn) updated to kernel 4.4.16-ti-rt-r38 > After the update, I install also sgx modul