I detail how use the new SGX drivers, the link is here: https://elinux.org/BeagleBoneBlack/SGX_%2B_Qt_EGLFS_%2B_Weston
What do you think Robert? Do you think that the SGX drivers /GBM and Weston patched can appear in an official version of the BeagleBone? I think it's important to have these tools especially with the arrival of the next generation of BeagleBone. Many people need the GUI. I hope this will help some people. Regards, Rémi A. Le mercredi 6 mars 2019 17:14:52 UTC+1, RobertCNelson a écrit : > > On Wed, Mar 6, 2019 at 6:19 AM <[email protected] <javascript:>> wrote: > > > > Hello everyone, > > > > My name is Remi, I'm french and it's difficult for me to write with a > good english. > > So, I'm sorry in advance if I have trouble expressing myself to explain > my problems. > > > > I take this message to thank Robert Nelson for all his work on the > BeagleBone! > > I read a lot of his posts and learned a lot about embedded linux. > > I love the BeagleBone Black board, there are a lot of GPIOs, i2c and > serials. It's a great system and open source too! > > Congratulations to everyone who worked on this project! > > > > I want, as many who have gone here, launch a Qt executable with the > QtQuick module. > > For this, I need to use the graphical acceleration with SGX. > > The official Debian image of beagleboard.org is perfect for me. The > image is very stable and has all the tools I need to work on the BBB. > > After two weeks of research and tests, I know there is a old and new > version of SDK sent by Texas Instrument. > > > > For information, all my questions are at the end of this message. > > > > I try to use SGX on kernel 4.14-ti, 4.14-bone, 4.9-ti, 4.9-bone, 4.4-ti, > 4.4-bone but I was never able to launch properly pvrsrvctl... > > > > Example with the last kernel available : > > I download the last stable image on : > https://beagleboard.org/latest-images > > I choose the IoT version because I haven't need of LXQT. > > The current version on this day is : 4.14.71-ti-r80 > > > > I take the last 4.14-ti version with the new SDK SGX : > > apt-get update > > cd /opt/scripts/tools/ > > git pull > > ./update_kernel.sh --ti-kernel --lts-4_14 > > reboot > > apt-get install ti-sgx-ti335x-modules-`uname -r` > > depmod -a > > git clone -b ti-img-sgx/1.14.3699939 git:// > git.ti.com/graphics/omap5-sgx-ddk-um-linux.git --depth=1 > > cd omap5-sgx-ddk-um-linux/ > > export DISCIMAGE=/ > > export TARGET_PRODUCT=ti335x > > make install > > sudo ln -s /usr/lib/arm-linux-gnueabihf/libgbm.so.1 > /usr/lib/arm-linux-gnueabihf/libgbm.so.2 > > tree /lib/modules/`uname -r`/extra/ > > /lib/modules/4.14.94-ti-r95/extra/ > > ├── libpruio.ko > > └── ti335x > > ├── bc_example.ko > > └── pvrsrvkm.ko > > modprobe pvrsrvkm > > => New message on dmesg: pvrsrvkm: loading out-of-tree module taints > kernel. > > /usr/bin/pvrsrvctl --start --no-module > > PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ] > > PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [0, ] > > PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [0, ] > > /usr/bin/pvrsrvctl: SrvInit failed (already initialized?) > (err=PVRSRV_ERROR_INIT_FAILURE) > > > > ls /dev/dri/ > > card0 > > > > > > I take the last 4.14-bone version with old SDK : > > apt-get update > > cd /opt/scripts/tools/ > > git pull > > ./update_kernel.sh --bone-kernel --lts-4_14 > > reboot > > apt-get install ti-sgx-es8-modules-`uname -r` > > { Generate GFX_5.01.01.02_es8.x.tar.gz on my debian server } > > tar xfv GFX_5.01.01.02_es8.x.tar.gz -C / > > cd gfxinstall/ > > apt-get install lsb-release insserv -y > > ./sgx-install.sh > > insserv -r /etc/init.d/sgx-startup.sh > > reboot > > tree /lib/modules/`uname -r`/extra/ > > /lib/modules/4.14.93-bone17/extra > > ├── es8.x > > │ ├── bufferclass_ti.ko > > │ ├── omaplfb.ko > > │ └── pvrsrvkm.ko > > └── libpruio.ko > > modprobe pvrsrvkm > > => New message on dmesg: pvrsrvkm: loading out-of-tree module > taints kernel. > > /usr/local/bin/pvrsrvctl --start --no-module > > SrvInit failed (already initialized?) (err=34) > > > > sgx_init_test > > ----------------------- Start ----------------------- > > Try calling PVRSRVConnect with an invalid argument: > > OK > > Call PVRSRVConnect with a valid argument: > > FAIL - PVRSRV_ERROR_BRIDGE_CALL_FAILED > > > > > > When I want to reload the pvrsrvkm module (rmmod pvrsrvkm;modprobe > pvrsrvkm), I have this new message on dmesg : > > pvrsrvkm 56000000.sgx: Unable to reset SGX! > > But I have access to sgx : > > ls /sys/devices/platform/ocp/56000000.sgx/ > > driver driver_override modalias of_node power subsystem > uevent > > > > > > > > I know that Robert Nelson redirects everyone to the Texas Instrument > forum for the SGX library but their support are not really good :-( > > I found this post: > http://e2e.ti.com/support/processors/f/791/p/759609/2811623 but the > prolem isn't solved and I have a different error... > > > > Here is the list of my questions: > > - Could someone put me on a way to successfully use powervr on kernel > 4.9 or 4.14 or 4.4 ? > > - Can we hope that in 2019 there will be official support to use > graphics accelerator for the BBB? > > - PowerVR is make in 2005, Can we hope that someday there will be a > hardware update of the BeagleBoneBlack with more RAM, CPU and video memory? > With the same architecture and the same location of gpios but just more > fast? > > > A few developers tired of the current kernel/blob/mess situation have > a github group now: > > https://github.com/openpvrsgx-devgroup > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- 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 this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/dc729c0c-fcaf-4512-bcd4-06f62937da1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
