[HD2 Android NAND Development] securecrt:
I have change the pmem.c and android_pmem.h also the pmem define in the board file

but still can't make the KGSL work

I use a libgenlock.so from other place(without this file the libEGL_adreno200.so can't be loaded), I think maybe the libgenlock.so is not correct.

does anyone know the info about the libgenlock.so?

I am using tytung's CM9 SD version do the test

http://xdaforums.com/showthread.php?t=1437463

changed the initrd.gz ( chmod 0777 /dev/kgsl-3d0)

replaced the adreno 200 driver from Qaulcomm

replaced the kernel files.

I/qsd8k.gralloc( 125): using (fd=11)

I/qsd8k.gralloc( 125): id = msmfb

I/qsd8k.gralloc( 125): xres = 480 px

I/qsd8k.gralloc( 125): yres = 800 px

I/qsd8k.gralloc( 125): xres_virtual = 480 px

I/qsd8k.gralloc( 125): yres_virtual = 1600 px

I/qsd8k.gralloc( 125): bpp = 32

I/qsd8k.gralloc( 125): r = 0:8

I/qsd8k.gralloc( 125): g = 8:8

I/qsd8k.gralloc( 125): b = 16:8

I/qsd8k.gralloc( 125): width = 48 mm (254.000000 dpi)

I/qsd8k.gralloc( 125): height = 80 mm (254.000000 dpi)

I/qsd8k.gralloc( 125): refresh rate = 60.00 Hz

D/libEGL ( 125): loaded /system/lib/egl/libGLES_android.so

D/libEGL ( 125): loaded /system/lib/egl/libEGL_adreno200.so

D/libEGL ( 125): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

D/libEGL ( 125): loaded /system/lib/egl/libGLESv2_adreno200.so

I/Adreno ( 125): open(/dev/kgsl-3d0) failed: errno 38. Function not implemente

d

W/libEGL ( 125): 0: eglInitialize(0x1) failed (EGL_SUCCESS)

E/Adreno200-EGL( 125): <qeglDrvAPI_eglChooseConfig:571>: EGL_NOT_INITIALIZED

I/SurfaceFlinger( 125): EGL informations:

I/SurfaceFlinger( 125): # of configs : 8

I/SurfaceFlinger( 125): vendor : Android

I/SurfaceFlinger( 125): version : 1.4 Android META-EGL

I/SurfaceFlinger( 125): extensions: EGL_KHR_image_base EGL_ANDROID_image_native

_buffer EGL_ANDROID_get_render_buffer

I/SurfaceFlinger( 125): Client API: OpenGL ES

I/SurfaceFlinger( 125): EGLSurface: 8-8-8-8, config=0x4

I/SurfaceFlinger( 125): OpenGL informations:

I/SurfaceFlinger( 125): vendor : Android

I/SurfaceFlinger( 125): renderer : Android PixelFlinger 1.4

I/SurfaceFlinger( 125): version : OpenGL ES-CM 1.0

I/SurfaceFlinger( 125): extensions: GL_OES_byte_coordinates GL_OES_fixed_point

GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL

_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_OES_

compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power

_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_ge

nerate_mipmap

I/SurfaceFlinger( 125): GL_MAX_TEXTURE_SIZE = 4096

I/SurfaceFlinger( 125): GL_MAX_VIEWPORT_DIMS = 4096 x 4096

I/SurfaceFlinger( 125): flags = 00040000

D/SurfaceTexture( 125): [unnamed-125-0] this:0x15c18 SurfaceTexture: texTarget:

0xde1 name:unnamed-125-0 mTexName:3

D/SurfaceTexture( 125): [unnamed-125-0] this:0x15c18 setSynchronousMode: enable

d=1

D/SurfaceTexture( 125): [unnamed-125-0] this:0x15c18 SurfaceTexture::setName: n

ame:<pid_183>

D/libEGL ( 183): loaded /system/lib/egl/libGLES_android.so

D/libEGL ( 183): loaded /system/lib/egl/libEGL_adreno200.so

D/libEGL ( 183): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

D/libEGL ( 183): loaded /system/lib/egl/libGLESv2_adreno200.so

I/ ( 128): ServiceManager: 0xf958

E/AudioHardwareQSD( 128): Cannot open /dev/audience_a1026 -1

D/AudioHardwareQSD( 128): set_tpa2018d1_parameters() not present

I/HTC Acoustic( 128): libhtc_acoustic.so version 2.0.1.2.

I/HTC Acoustic( 128): open /system/etc/AdieHWCodecSetting.csv success.

I/HTC Acoustic( 128): ADIE table version: PASSION_HTC_20091019

E/HTC Acoustic( 128): Update ADIE table ID 0

E/HTC Acoustic( 128): Update ADIE table ID 2

E/HTC Acoustic( 128): Update ADIE table ID 5

E/HTC Acoustic( 128): Update ADIE table ID 7

E/HTC Acoustic( 128): Update ADIE table ID 8

E/HTC Acoustic( 128): Update ADIE table ID 10

E/HTC Acoustic( 128): Update ADIE table ID 51

E/HTC Acoustic( 128): Update ADIE table ID 53

I/HTC Acoustic( 128): read_adie_para_from_file success.

D/HTC Acoustic( 128): ioctl ACOUSTIC_UPDATE_ADIE success

I/HTC Acoustic( 128): open /system/etc/AudioBTID.csv success.

I/HTC Acoustic( 128): BT ID table version: PASSION_HTC_20091105

I/AudioFlinger( 128): Loaded primary audio interface from LEGACY Audio HW HAL (

audio)

I/AudioFlinger( 128): Using 'LEGACY Audio HW HAL' (audio.primary) as the primar

y audio interface

I/AudioFlinger( 128): Loaded a2dp audio interface from A2DP Audio HW HAL (audio

)

D/AudioHardwareInterface( 128): setMode(NORMAL)

I/AudioHardwareQSD( 128): Set master volume to 1.000000

D/SurfaceTexture( 125): [<pid_183>] this:0x15c18 setSynchronousMode: enabled=1

I/CameraService( 128): CameraService started (pid=128)

E/CameraHAL( 128): CameraHAL_GetNum_Cameras:

I/AudioFlinger( 128): AudioFlinger's thread 0x128e8 ready to run

W/AudioFlinger( 128): Thread AudioOut_1 cannot connect to the power manager ser

vice

I/AudioHardwareQSD( 128): Routing audio to Speakerphone

D/AudioHardwareQSD( 128): Switching audio device to

D/AudioHardwareQSD( 128): Speakerphone

E/Adreno200-EGLSUB( 183): GetBackBuffer() handle base address is NULL

E/Adreno200-ES20( 183): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY

E/Adreno200-EGL( 183): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC

E/Adreno200-ES11( 183): <qglDrvAPI_glTexImage2D:1913>: GL_OUT_OF_MEMORY

E/Adreno200-ES11( 183): <qglDrvAPI_glTexSubImage2D:2055>: GL_OUT_OF_MEMORY

E/Adreno200-EGLSUB( 183): GetBackBuffer() handle base address is NULL

E/Adreno200-ES20( 183): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY

E/Adreno200-EGL( 183): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC

E/Adreno200-ES11( 183): <qglDrvAPI_glTexImage2D:1913>: GL_OUT_OF_MEMORY

E/Adreno200-ES11( 183): <qglDrvAPI_glTexSubImage2D:2055>: GL_OUT_OF_MEMORY

E/Adreno200-EGLSUB( 183): GetBackBuffer() handle base address is NULL

E/Adreno200-ES20( 183): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY

E/Adreno200-EGL( 183): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC

E/Adreno200-ES11( 183): <qglDrvAPI_glTexImage2D:1913>: GL_OUT_OF_MEMORY