Hello,
My AM335x EVM boots the SDK 6.0.0.0 and I added the Graphics SDK 4.10.0.1. I followed the instructions in:
http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide
but can't get the OGLES demos to work.
To get the new kernel modules to load, I had to remove the default ones from the SDK (in lilib/modules/3.2.0/kernel/drivers/gpu/pvr/b/modules/3.2.0/kernel/drivers/gpu/pvr/) (the find command in the script will otherwise report two .ko modules per call)
I also tried building with PM_RUINTIME=1 as described here:
http://e2e.ti.com/support/arm/sitara_arm/f/791/t/284135.aspx
but it doesn't change anything.
The output of gfx_check.sh (from http://processors.wiki.ti.com/index.php/SGXDbg ) is:
root@am335x-evm:~# ./gfx_check.sh
WSEGL settings
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so
#WindowSystem=libpvrPVR2D_FLIPWSEGL.so
------
ARM CPU information
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 718.02
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 : am335xevm
Revision : 0000
Serial : 0000000000000000
------
SGX driver information
Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/lf/ti/Graphics_SDK_4_10_00_01/GFX_Linux_KM
System Version String: None
------
Framebuffer settings
mode "800x480-62"
# D: 30.000 MHz, H: 32.433 kHz, V: 61.895 Hz
geometry 800 480 800 960 32
timings 33333 39 39 29 13 47 2
rgba 8/16,8/8,8/0,8/24
endmode
Frame buffer device information:
Name : DA8xx FB Drv
Address : 0x8f400000
Size : 3072000
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 1
YWrapStep : 0
LineLength : 3200
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by
g_mass_storage 37599 0
bufferclass_ti 5200 0
omaplfb 10943 0
pvrsrvkm 170290 2 omaplfb,bufferclass_ti
wl12xx_sdio 3986 0
------
Boot settings
console=ttyO0,115200n8 mem=256M vram=50M root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
------
Linux Kernel version
Linux am335x-evm 3.2.0 #2 Wed Oct 16 14:14:46 CEST 2013 armv7l GNU/Linux
root@am335x-evm:~#
Running the demo does not print any output:
root@am335x-evm:~# /opt/gfxsdkdemos/ogles/OGLESSkybox
root@am335x-evm:~#
strace gives a lot of output when searching for the libs but terminates with:
open("/usr/lib/libGLES_CM.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\330<\0\0004\0\0\0"..., 512) = 512
lseek(3, 428036, SEEK_SET) = 428036
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000
lseek(3, 427712, SEEK_SET) = 427712
read(3, "A2\0\0\0aeabi\0\1(\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\3\f"..., 51) = 51
exit_group(1) = ?
+++ exited with 1 +++
root@am335x-evm:~#
Shouldn't the combination SDK 6.0.0.0 & Graphics SDK 4.10.0.1 work?
Regards,
Lo2