This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GFX sdk demo run on OMAP3530 cause Segmentation fault

Other Parts Discussed in Thread: OMAP3530

recently, I am trying to build TI Graphics SDK to my OMAP3530 target(according to this document:
http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide), every things
goes fine except the OGLES demo, the demo cause "Segmentation fault". I show the details below:
--------------------------------------------------------------------------------------------------------------------------------------------------
host OS:                        Xubuntu 12.04
Cross Tool Chain:         CodeSourcery arm-none-linux-gnueabi (arm-2012.03)
Graphics SDK:              Graphics_SDK_4_10_00_01

target device:                OMAP3530
target kernel:                 Linux-3.3.8
target filesystem:           Created by busybox-1.20.2
target /dev/nodes:         /dev/input/mice
                                      /dev/input/event3
                                      /dev/input/event2
                                      /dev/input/event1
                                      /dev/input/event0
                                      /dev/ttyO2
                                      /dev/tty3
                                      /dev/tty2
                                      /dev/tty1
                                      /dev/tty0
                                      /dev/tty
                                      /dev/sda1
                                      /dev/sda
                                      /dev/nul
                                      /dev/mem
                                      /dev/fb0
                                      /dev/console
--------------------------------------------------------------------------------------------------------------------------------------------------
build command:   

host:$ export ARCH=arm

host:$ make BUILD=release OMAPES=3.x FBDEV=yes SUPPORT_XORG=0 PM_RUNTIME=1 all

host:$ make BUILD=release OMAPES=3.x FBDEV=yes SUPPORT_XORG=0 PM_RUNTIME=1 install

--------------------------------------------------------------------------------------------------------------------------------------------------

run command:                

target:$ /etc/init.d/omap-demo

/dev/mem opened.
Memory mapped at address 0xb6f48000.
Value at address 0x48004B48 (0xb6f48b48): 0x3
Written 0x2; readback 0x2
/dev/mem opened.
Memory mapped at address 0xb6f29000.
Value at address 0x48004B10 (0xb6f29b10): 0x0
Written 0x1; readback 0x1
/dev/mem opened.
Memory mapped at address 0xb6fce000.
Value at address 0x48004B00 (0xb6fceb00): 0x0
Written 0x2; readback 0x2
0x10201
release3.x
SGX Revision is 121...
installing 3.x SGX release user libraries

Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target

File system installation root is /

Uninstalling existing version sgxddk_1.10@2359475
Uninstallation completed.
boot script rc.pvr -> /etc/init.d/rc.pvr
kernel module pvrsrvkm.ko -> /lib/modules/3.3.8/extra/pvrsrvkm.ko
kernel module omaplfb.ko -> /lib/modules/3.3.8/extra/omaplfb.ko
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
shared library libpvrEWS_WSEGL.so -> /usr/lib/libpvrEWS_WSEGL.so.1.10.2359475
shared library libpvrEWS_REMWSEGL.so -> /usr/lib/libpvrEWS_REMWSEGL.so.1.10.2359475
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
shared library libews.so -> /usr/lib/libews.so.1.10.2359475
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary ews_server -> /usr/local/bin/ews_server
binary ews_server_es2 -> /usr/local/bin/ews_server_es2
binary services_test -> /usr/local/bin/services_test
binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
binary pvr2d_test -> /usr/local/bin/pvr2d_test
binary gles1test1 -> /usr/local/bin/gles1test1
binary gles1_texture_stream -> /usr/local/bin/gles1_texture_stream
binary gles2test1 -> /usr/local/bin/gles2test1
shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt
binary gles2_texture_stream -> /usr/local/bin/gles2_texture_stream
binary eglinfo -> /usr/local/bin/eglinfo
binary ews_test_gles1 -> /usr/local/bin/ews_test_gles1
binary ews_test_gles2 -> /usr/local/bin/ews_test_gles2
shader ews_test_gles2_main.vert -> /usr/local/bin/ews_test_gles2_main.vert
shader ews_test_gles2_main.frag -> /usr/local/bin/ews_test_gles2_main.frag
shader ews_test_gles2_pp.vert -> /usr/local/bin/ews_test_gles2_pp.vert
shader ews_test_gles2_pp.frag -> /usr/local/bin/ews_test_gles2_pp.frag
binary ews_test_swrender -> /usr/local/bin/ews_test_swrender

Installation complete!
You may now reboot your target.

Loaded PowerVR consumer services.
--------------------------------------------------------------------------------------------------------------------------------------------------

until now, every things goes fine, the sgx demo works(sgx_blit_test, sgx_clipblit_test, sgx_flip_test,

sgx_init_test, sgx_render_flip_test). but, when I execute the demo under "/opt/gfxsdkdemos/ogles", 

"Segmentation fault" happened and the terminal die, details showed below:

--------------------------------------------------------------------------------------------------------------------------------------------------

run command:
target:$ /opt/gfxsdkdemos/ogles /OGLESCoverflow
Can't open remote control input device (/dev/ttyS1)
PVRShell: EGL 1.4 initialized
Segmentation fault

--------------------------------------------------------------------------------------------------------------------------------------------------

somebody know how to solved this problem?

qing

2014-8-9