Hi,
I managed to port the android-2.6.29 kernel over to the gumstix
TI OMAP 3503 Overo patform. However, I am unable to get OpenGL ES to
work correctly and display something on the screen.
I am getting the following error:
W/EGLDisplaySurface (898): page flipping not supported
(yres_virtual-272, requested=544)
This is a software OpenGL ES implementation, so how do I set the
framebuffer to use double buffering?
I/sysproc ( 898): Entered system_init()
I/sysproc ( 898): ServiceManager: 0x154f90
I/SurfaceFlinger( 898): SurfaceFlinger is starting
I/SurfaceFlinger( 898): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/MemoryHeapBase( 898): error opening /dev/pmem: No such file or
directory
E/SurfaceFlinger( 898): Couldn't open /sys/power/wait_for_fb_sleep
or /sys/power/wait_for_fb_wake
E/GLLogger( 898): couldn't load <libhgl.so> library (Cannot find
library)
I/SurfaceFlinger( 898): EGL informations:
I/SurfaceFlinger( 898): # of configs : 6
I/SurfaceFlinger( 898): vendor : Android
I/SurfaceFlinger( 898): version : 1.31 Android META-EGL
I/SurfaceFlinger( 898): extensions:
I/SurfaceFlinger( 898): Client API: OpenGL ES
W/EGLDisplaySurface( 898): page flipping not supported
(yres_virtual=272, requested=544)
I/EGLDisplaySurface( 898): using (fd=21)
I/EGLDisplaySurface( 898): id = omapfb
I/EGLDisplaySurface( 898): xres = 480 px
I/EGLDisplaySurface( 898): yres = 272 px
I/EGLDisplaySurface( 898): xres_virtual = 480 px
I/EGLDisplaySurface( 898): yres_virtual = 273 px
I/EGLDisplaySurface( 898): bpp = 16
I/EGLDisplaySurface( 898): r = 11:5
I/EGLDisplaySurface( 898): g = 5:6
I/EGLDisplaySurface( 898): b = 0:5
I/EGLDisplaySurface( 898): width = 76 mm (160.421051 dpi)
I/EGLDisplaySurface( 898): height = 43 mm (160.669769 dpi)
I/EGLDisplaySurface( 898): refresh rate = 66.49 Hz
W/HAL ( 898): load: module=/system/lib/hw/copybit.gumstix.so
error=Cannot find library
W/HAL ( 898): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
W/SurfaceFlinger( 898): ro.sf.lcd_density not defined, using 160 dpi
by default.
I/DEBUG ( 832): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG ( 832): Build fingerprint: 'generic/generic/generic/:1.5/
CUPCAKE/eng.elvis.20090422.071707:eng/test-keys'
I/DEBUG ( 832): pid: 898, tid: 905 >>> system_server <<<
I/DEBUG ( 832): signal 11 (SIGSEGV), fault addr 0000000c
I/DEBUG ( 832): r0 00001f03 r1 00000000 r2 afe3cb58 r3 00000000
I/DEBUG ( 832): r4 44a66db0 r5 001856c0 r6 00000001 r7 00185a68
I/DEBUG ( 832): r8 be8053dc r9 afe39dd0 10 a9d2856d fp 00000001
I/DEBUG ( 832): ip 00000000 sp 44a66d88 lr acd1f2cb pc
acb04c18 cpsr 00000010
I/DEBUG ( 832): #00 pc 00004c18 /system/lib/
libGLESv1_CM.so
I/DEBUG ( 832): #01 pc 0001f2c6 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): #02 pc 0001f584 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): #03 pc 0002f5ce /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): #04 pc 000287e0 /system/lib/libutils.so
I/DEBUG ( 832): #05 pc 000285d4 /system/lib/libutils.so
I/DEBUG ( 832): #06 pc 0000f8ac /system/lib/libc.so
I/DEBUG ( 832): #07 pc 0000f418 /system/lib/libc.so
I/DEBUG ( 832): stack:
I/DEBUG ( 832): 44a66d48 00000fdc
I/DEBUG ( 832): 44a66d4c ac708ad0 /system/lib/libEGL.so
I/DEBUG ( 832): 44a66d50 00189810 [heap]
I/DEBUG ( 832): 44a66d54 ac704395 /system/lib/libEGL.so
I/DEBUG ( 832): 44a66d58 ac70900c
I/DEBUG ( 832): 44a66d5c 00189810 [heap]
I/DEBUG ( 832): 44a66d60 00185720 [heap]
I/DEBUG ( 832): 44a66d64 ac7051ad /system/lib/libEGL.so
I/DEBUG ( 832): 44a66d68 ac708ad0 /system/lib/libEGL.so
I/DEBUG ( 832): 44a66d6c ac709a5c
I/DEBUG ( 832): 44a66d70 001856c0 [heap]
I/DEBUG ( 832): 44a66d74 44a66db0
I/DEBUG ( 832): 44a66d78 001856c0 [heap]
I/DEBUG ( 832): 44a66d7c 00000001
I/DEBUG ( 832): 44a66d80 df002777
I/DEBUG ( 832): 44a66d84 e3a070ad
I/DEBUG ( 832): #01 44a66d88 44a66da4
I/DEBUG ( 832): 44a66d8c 00000003
I/DEBUG ( 832): 44a66d90 acd3aa08 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66d94 00189810 [heap]
I/DEBUG ( 832): 44a66d98 be8053dc [stack]
I/DEBUG ( 832): 44a66d9c 0000f717 [heap]
I/DEBUG ( 832): 44a66da0 01000000
I/DEBUG ( 832): 44a66da4 00000001
I/DEBUG ( 832): 44a66da8 00000006
I/DEBUG ( 832): 44a66dac 00003094
I/DEBUG ( 832): 44a66db0 00303631
I/DEBUG ( 832): 44a66db4 00185720 [heap]
I/DEBUG ( 832): 44a66db8 acd3aa08 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66dbc 00185760 [heap]
I/DEBUG ( 832): 44a66dc0 001856c0 [heap]
I/DEBUG ( 832): 44a66dc4 acd341d0 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66dc8 001856c0 [heap]
I/DEBUG ( 832): 44a66dcc afd00949 /system/lib/libstdc++.so
I/DEBUG ( 832): 44a66dd0 00185760 [heap]
I/DEBUG ( 832): 44a66dd4 a9d213f9 /system/lib/libutils.so
I/DEBUG ( 832): 44a66dd8 00185760 [heap]
I/DEBUG ( 832): 44a66ddc 00185754 [heap]
I/DEBUG ( 832): 44a66de0 00185760 [heap]
I/DEBUG ( 832): 44a66de4 a9d214eb /system/lib/libutils.so
I/DEBUG ( 832): 44a66de8 001857c0 [heap]
I/DEBUG ( 832): 44a66dec 001856c0 [heap]
I/DEBUG ( 832): 44a66df0 00185778 [heap]
I/DEBUG ( 832): 44a66df4 acd3aa08 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66df8 acd1f629 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66dfc acd1f657 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66e00 001856c0 [heap]
I/DEBUG ( 832): 44a66e04 00185778 [heap]
I/DEBUG ( 832): 44a66e08 001856c0 [heap]
I/DEBUG ( 832): 44a66e0c 8dfd57c7
I/DEBUG ( 832): 44a66e10 afe39dd0 /system/lib/libc.so
I/DEBUG ( 832): 44a66e14 001856c0 [heap]
I/DEBUG ( 832): 44a66e18 00000000
I/DEBUG ( 832): 44a66e1c acd3aa08 /system/lib/
libsurfaceflinger.so
I/DEBUG ( 832): 44a66e20 00185220 [heap]
I/DEBUG ( 832): 44a66e24 acd1f589 /system/lib/
libsurfaceflinger.so
D/Zygote ( 894): Process 898 terminated by signal (11)
I/Zygote ( 894): Exit zygote because system server (898) has
terminated
request_suspend_state: wakeup (0->0) at 22796081570 (2000-01-01
00:00:21.654357881 UTC)
Best regards,
Elvis
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---