AM335x SGX driver issue (pvrsrvctl: no such file or directory)

224 views
Skip to first unread message

Matthew Remfrey

unread,
Jun 8, 2016, 5:40:29 AM6/8/16
to BeagleBoard
I've been struggling with this for a few days now and it feels like it's time to ask for some help :) I originally posted this to the Ti e2e forum, but they have told me they do not provide support assistance for Angstrom :(

I would like to use the OpenGLES SDK for software development. I am targeting a Chipsee 1000 x 600 7" BBB cape, using an Angstrom build provided by Chipsee, which I'm trying to modify to include the SGX driver.

I've followed the installation guide carefully, but at the end of installing the am335x demo on the target device, i get this error:
./rc.pvr: line 52: /usr/local/bin/pvrsrvctl: No such file or directory

Weirdly, pvrsrvctl does seem to be in that directory, but it doesn't execute. When I try, I get the same error as above! I also get this error if I try and execute any of the demos, even after a reboot, after doing depmod -a.

Running lsmod after executing the am335x demo program does seem to indicate pvrsrvkm is running, but there's no sign of omapflb:

The steps i'm following to modify the Chipsee build i have are:


1. Build the custom Chipsee Angstrom kernel with module support
This includes a "make 0=am335x am335x_evm" command that creates the MLO and u-boot.img files

2. Build and install the SGX module
Using "make OMAPES=8.x all" and "make OMAPES=8.x install"... having modified the Rules.make paths first... it complains if i haven't already built the kernel with module support...

3. Rebuild and install the modules
In the root of the kernel source directory, "make modules INSTALL_MOD_PATH=/path/to/filesystem" and "make modules_install INSTALL_MOD_PATH=/path/to/filesystem"

4. Package it up and flash it to the target

5. Boot into new image, disable Window Manager and then run /etc/init.d/335x-demo

 

I transferred gfx_check.sh onto the target and have executed that, with these results:

 

WSEGL settings
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so
#WindowSystem=libpvrPVR2D_FLIPWSEGL.so

------
ARM CPU information
processor    : 0
model name    : ARMv7 Processor rev 2 (v7l)
BogoMIPS    : 993.47
Features    : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x3
CPU part    : 0xc08
CPU revision    : 2

Hardware    : Generic AM33XX (Flattened Device Tree)
Revision    : 0000
Serial        : 0000000000000000
------
SGX driver information
Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/user/Code/angstrom/source/GraphicsSDK/GFX_Linux_KM
System Version String: None
------
Framebuffer settings
------
Rotation settings
0
------
Kernel Module information
Module                  Size  Used by
pvrsrvkm              139675  0
ip_tables               8294  0
x_tables               15072  1 ip_tables
libcomposite           15228  0
rfcomm                 25106  0
ircomm_tty             14503  0
ircomm                  8846  1 ircomm_tty
irda                   89958  2 ircomm_tty,ircomm
ipv6                  229989  12
hidp                   10112  0
bluetooth             146123  4 hidp,rfcomm
rfkill                 16510  2 bluetooth
autofs4                17432  2
------
Boot settings
console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet ;
------
Linux Kernel version
Linux beaglebone-exp 3.8.13 #1 SMP Tue Jun 7 06:25:56 BST 2016 armv7l GNU/Linux

Any help would be greatly appreciated. I'm probably missing something stupid.


Thanks

Reply all
Reply to author
Forward
0 new messages