GPIO status

Kernel development related

Re: GPIO status

Postby Jose_Paramore » Mon Jan 17, 2011 10:48 pm

Well... system with kernel 0.3 pre3 and platform 0.3 pre1 seems to be just a bit faster... but flickering is still here
Cheers,
Jose
Come on JétDroid team!!! ;D
User avatar
Jose_Paramore
Forum Moderator
Forum Moderator
 
Posts: 312
Joined: Thu Oct 21, 2010 3:44 pm
Location: Spain

Advertisement

       

Re: GPIO status

Postby Dopi » Mon Jan 17, 2011 10:54 pm

Thijs wrote:Although the modules seem to load OK, I've no proof yet that they work. But I didn't do much test either, so please let me know your test results!

I found a remark that the gralloc and copybit libs that may have an ending like S8000 and I57000 should be renamed to default. ( gralloc.GT-I5700.so -> gralloc.defualt.so ). In this post on Samdroid.net it was mentioned that the binaries need to be patched with a hex-editor to make it work. Maybe we need to do that, too (replace I5700 with S8000). Did you already try anything like that?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: GPIO status

Postby Thijs » Tue Jan 18, 2011 9:18 am

Dopi wrote:I found a remark that the gralloc and copybit libs that may have an ending like S8000 and I57000 should be renamed to default. ( gralloc.GT-I5700.so -> gralloc.defualt.so ). In this post on Samdroid.net it was mentioned that the binaries need to be patched with a hex-editor to make it work. Maybe we need to do that, too (replace I5700 with S8000). Did you already try anything like that?

Cheers,
Dopi

Hi Dopi,

I didn't try that yet. But it seems only a name-change. Because we just use the I5700 hw-libraries (including their name) it seems to me that it probably won't be necessary. Moreover, I saw the gralloc library loading OK in the logging, unfortunately I didn't check the loading of copybit (anyone else checked dmesg/logcat for this?).

best regards - Thijs
Thijs
Dev Team
Dev Team
 
Posts: 114
Joined: Fri Sep 10, 2010 6:28 pm

Re: GPIO status

Postby MadRocker » Wed Jan 19, 2011 7:41 pm

Hope this info is helpful.

I tested all these files to some extend.
If you add all files some / most get ignored / not loaded during boot or so it seems, so I renamed .so to either "default" or "S8000" for .so files then more modules gets loaded or so it appears. One of the 2 names worked.

Then I ended up removing most modules dew to black gui screen and only keeping g2d , g3d and jpeg modules + dhd.ko and default .so files + copybit rename to s8000 or default then the phone started normal no black gui screen dew to file renamed + loading.

Did not test on eclair yet will test that next. Only 1 sdcard :oops:

This was tested on Jet-Froyo so init.rc from eclair could not be used on Froyo or Ginger.

It seems that the .so files if not from the same kernel or same kernel number is very sensitive to change = pid error, same with init.rc that needs to be from a specific ginger or froyo or eclair and not mixed otherwise = pid issues and "saving status" error before animation screen at boot time.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: GPIO status

Postby Thijs » Thu Jan 20, 2011 6:39 am

MadRocker wrote:Hope this info is helpful.


Hi MadRocker,

This sure is helpful. I'll try to rename the copybit to an 's8000' version. I really thought it wouldn't work (although Dopi showed a site where they did some hexediting on these files)... so I'll give a second try on the eclair system which I'm running.

note: Or should we all move to Froyo? It probably speeds up things if we hold on to one configuration...

best regards - Thijs
Thijs
Dev Team
Dev Team
 
Posts: 114
Joined: Fri Sep 10, 2010 6:28 pm

Re: GPIO status

Postby Thijs » Thu Jan 20, 2011 10:08 pm

Hi guys,

I've renamed and hexedited the .so files in /system/lib/hw to GT-S8000. Furthermore I've added a few more libraries from SamDroid. Unzip these in /system/lib:

http://www.mediafire.com/download.php?n0m3ddsfrvjwske

You still need these as well in /system/lib/modules:
http://www.mediafire.com/download.php?2978aqm95rpd4gh

This gives the following logcat errors:
Code: Select all
I/SurfaceFlinger( 2189): SurfaceFlinger is starting
I/SurfaceFlinger( 2189): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/gralloc ( 2189): using (fd=20)
I/gralloc ( 2189): id           = s3cfb
I/gralloc ( 2189): xres         = 480 px
I/gralloc ( 2189): yres         = 800 px
I/gralloc ( 2189): xres_virtual = 480 px
I/gralloc ( 2189): yres_virtual = 1600 px
I/gralloc ( 2189): bpp          = 16
I/gralloc ( 2189): r            = 11:5
I/gralloc ( 2189): g            =  5:6
I/gralloc ( 2189): b            =  0:5
I/gralloc ( 2189): upper_margin = 8
I/gralloc ( 2189): lower_margin = 6
I/gralloc ( 2189): left_margin  = 64
I/gralloc ( 2189): right_margin = 62
I/gralloc ( 2189): pixclock     = 29767680
I/gralloc ( 2189): width        = 40 mm (304.799988 dpi)
I/gralloc ( 2189): height       = 67 mm (303.283569 dpi)
I/gralloc ( 2189): refresh rate = 60.00 Hz
E/libs3c2drender( 2189): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 2189): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 2189): Get2DRender(0)::IsDeviceOpen() fail
E/libs3c2drender( 2189): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 2189): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 2189): Get2DRender(1)::IsDeviceOpen() fail
E/libs3c2drender( 2189): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 2189): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 2189): Get2DRender(2)::IsDeviceOpen() fail
W/libs3c2drender( 2189): /dev/pmem_render is not opened
W/libs3c2drender( 2189): /dev/pmem_stream2 is not opened
W/libs3c2drender( 2189): /dev/pmem_picture is not opened
W/libs3c2drender( 2189): /dev/pmem_preview is not opened
D/libEGL  ( 2189): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 2189): loaded /system/lib/egl/libEGL_fimg.so
D/libEGL  ( 2189): loaded /system/lib/egl/libGLESv1_CM_fimg.so
D/libEGL  ( 2189): loaded /system/lib/egl/libGLESv2_fimg.so
I/SurfaceFlinger( 2189): EGL informations:
I/SurfaceFlinger( 2189): # of configs : 23
I/SurfaceFlinger( 2189): vendor    : Android
I/SurfaceFlinger( 2189): version   : 1.4 Android META-EGL
I/SurfaceFlinger( 2189): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
I/SurfaceFlinger( 2189): Client API: OpenGL ES
I/SurfaceFlinger( 2189): EGLSurface: 5-6-5-0, config=0x0
I/SurfaceFlinger( 2189): flags     : 00190000
I/        ( 2189): libGLESv1_CM_fimg.so was loaded and GLES 1.1 API was successfully mapped
E/        ( 2189): Cannot open memory device (/dev/mem)
E/        ( 2189): ERROR: ctx is NULL: GetGLstate20 line:117 pthreadid: 1227976
E/        ( 2189): fail to open g3d driver
E/        ( 2189): [3D][ERR]lock3DCriticalSection ioctl was not opened
E/        ( 2189): ERROR: ctx is NULL: GetGLstate20 line:117 pthreadid: 1227976
E/        ( 2189): fail to open g3d driver
E/        ( 2189): [3D][ERR]unlock3DCriticalSection ioctl was not opened
E/        ( 2189): ERROR: ctx is NULL: glViewport line:101 pthreadid: 1227976
E/        ( 2189): ERROR: ctx is NULL: glScissor line:132 pthreadid: 1227976
E/        ( 2189): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
E/        ( 2189): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
I/SurfaceFlinger( 2189): OpenGL informations:
E/        ( 2189): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
I/SurfaceFlinger( 2189): vendor    : (null)
I/SurfaceFlinger( 2189): renderer  : (null)
E/        ( 2189): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
I/SurfaceFlinger( 2189): version   : (null)
I/SurfaceFlinger( 2189): extensions: (null)
I/DEBUG   ( 1804): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 1804): Build fingerprint: 'unknown'
I/DEBUG   ( 1804): pid: 2189, tid: 2194  >>> system_server <<<
I/DEBUG   ( 1804): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG   ( 1804):  r0 00000005  r1 00008000  r2 80808080  r3 00000005
I/DEBUG   ( 1804):  r4 00000000  r5 acd29118  r6 00000041  r7 acd22eec
I/DEBUG   ( 1804):  r8 00100000  r9 a9d1ba35  10 44d8f000  fp 0012bc98
I/DEBUG   ( 1804):  ip 7341006f  sp 44e8ed48  lr afe1ba9d  pc afe1baa2  cpsr 40000030
I/DEBUG   ( 1804):          #00  pc 0001baa2  /system/lib/libc.so
I/DEBUG   ( 1804):          #01  pc 00016842  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1804):          #02  pc 000169ae  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1804):          #03  pc 00020964  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1804):          #04  pc 0001b654  /system/lib/libutils.so
I/DEBUG   ( 1804):          #05  pc 0001ba9a  /system/lib/libutils.so
I/DEBUG   ( 1804):          #06  pc 00010060  /system/lib/libc.so
I/DEBUG   ( 1804):          #07  pc 0000fb34  /system/lib/libc.so


Anyone who can get us further from here?

Is the missing "/dev/mem" the main problem? I couldn't find "/system/core/init/device.h" from this post in our kernel: http://forum.samdroid.net/f9/creating-working-init-eclair-froyo-2342/

Best regards - Thijs
Thijs
Dev Team
Dev Team
 
Posts: 114
Joined: Fri Sep 10, 2010 6:28 pm

Re: GPIO status

Postby MadRocker » Fri Jan 21, 2011 12:25 am

Will see what I can find + test this next.

Here is a similar log more detailed that can help with the problem and what loads with it and in what order ect.
E/libs3c2drender( 1902)
http://code.google.com/p/android/issues/attachmentText?id=6956&aid=-7582347135427406759&name=main_201003031123.log&token=39063311cdbf348446d2c5703db59ecf

Results:
Using Eclair and Sensor_patch_working.tar.gz zImage and only latest lib and modules linked above, I end up with a black screen that tries to restart every once in a while, then for less than 1 sec text and back to black screen.

2 times tested same results, s3cfb might be causing issues as it has to load before the S3c2DRender is active or S3c2DRender is dependent on what is available from s3cfb, if not this then some other lib having issues before s3cfb.

Also look at *jni.so already loaded and still trying to load.
Code: Select all
D/AndroidRuntime( 1903): CheckJNI is OFF

D/dalvikvm( 1812): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1812): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

D/dalvikvm( 1812): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1812): Shared lib '/system/lib/libsrec_jni.so' already loaded in same CL 0x0


Code: Select all
D/Zygote  ( 1881): Process 1887 terminated by signal (11)
I/Zygote  ( 1881): Exit zygote because system server (1887) has terminated
I/ServiceManager( 1807): service 'media.audio_flinger' died
I/ServiceManager( 1807): service 'media.player' died
I/ServiceManager( 1807): service 'media.camera' died
I/ServiceManager( 1807): service 'media.audio_policy' died
D/AndroidRuntime( 1903):
D/AndroidRuntime( 1903): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1903): CheckJNI is OFF
D/AndroidRuntime( 1903): --- registering native functions ---
I/        ( 1902): ServiceManager: 0xad08
W/AudioHardwareInterface( 1902): Using stubbed audio hardware. No sound will be produced.
D/AudioHardwareInterface( 1902): setMode(NORMAL)
I/CameraService( 1902): CameraService started: pid=1902
I/AudioFlinger( 1902): AudioFlinger's thread 0xb370 ready to run
I/SamplingProfilerIntegration( 1903): Profiler is disabled.
I/Zygote  ( 1903): Preloading classes...
D/dalvikvm( 1903): GC freed 793 objects / 50568 bytes in 3ms
D/dalvikvm( 1903): GC freed 251 objects / 16168 bytes in 4ms
D/dalvikvm( 1903): GC freed 295 objects / 18768 bytes in 5ms
D/dalvikvm( 1903): GC freed 214 objects / 13712 bytes in 6ms
D/dalvikvm( 1903): GC freed 415 objects / 26544 bytes in 6ms
D/skia    ( 1903): ------ build_power_table 1.4
D/skia    ( 1903): ------ build_power_table 0.714286
D/dalvikvm( 1903): GC freed 418 objects / 28656 bytes in 7ms
D/dalvikvm( 1903): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1903): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1903): Trying to load lib /system/lib/libexif.so 0x0
D/dalvikvm( 1903): Added shared lib /system/lib/libexif.so 0x0
D/dalvikvm( 1903): GC freed 2320 objects / 121616 bytes in 9ms
D/dalvikvm( 1903): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1903): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1903): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1903): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1903): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1903): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1903): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1903): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1903): GC freed 3790 objects / 197024 bytes in 17ms
D/dalvikvm( 1903): GC freed 461 objects / 26344 bytes in 15ms
D/dalvikvm( 1903): GC freed 294 objects / 17024 bytes in 17ms
D/dalvikvm( 1903): GC freed 204 objects / 11440 bytes in 18ms
D/dalvikvm( 1903): GC freed 178 objects / 9568 bytes in 19ms
D/dalvikvm( 1903): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1903): Added shared lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1903): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1903): Shared lib '/system/lib/libsrec_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1903): GC freed 296 objects / 34768 bytes in 21ms
D/dalvikvm( 1903): GC freed 123 objects / 24504 bytes in 32ms
D/dalvikvm( 1903): GC freed 337 objects / 38424 bytes in 29ms
D/dalvikvm( 1903): GC freed 418 objects / 25848 bytes in 31ms
D/dalvikvm( 1903): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 1903): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 1903): GC freed 432 objects / 25128 bytes in 34ms
D/dalvikvm( 1903): GC freed 489 objects / 30744 bytes in 31ms
D/dalvikvm( 1903): GC freed 349 objects / 28896 bytes in 33ms
D/dalvikvm( 1903): GC freed 309 objects / 21840 bytes in 37ms
D/dalvikvm( 1903): GC freed 915 objects / 80152 bytes in 35ms
D/dalvikvm( 1903): GC freed 664 objects / 35904 bytes in 41ms
D/dalvikvm( 1903): GC freed 709 objects / 41256 bytes in 36ms
D/dalvikvm( 1903): GC freed 735 objects / 40576 bytes in 41ms
D/dalvikvm( 1903): GC freed 14041 objects / 475408 bytes in 45ms
D/dalvikvm( 1903): GC freed 10462 objects / 448072 bytes in 54ms
D/dalvikvm( 1903): GC freed 10856 objects / 465744 bytes in 51ms
D/dalvikvm( 1903): GC freed 7567 objects / 463440 bytes in 56ms
D/dalvikvm( 1903): GC freed 7790 objects / 462128 bytes in 52ms
D/dalvikvm( 1903): GC freed 9102 objects / 519432 bytes in 59ms
D/dalvikvm( 1903): GC freed 6776 objects / 392032 bytes in 57ms
D/dalvikvm( 1903): GC freed 847 objects / 51456 bytes in 56ms
D/dalvikvm( 1903): GC freed 540 objects / 39008 bytes in 51ms
D/dalvikvm( 1903): GC freed 460 objects / 31392 bytes in 57ms
D/dalvikvm( 1903): GC freed 426 objects / 29616 bytes in 52ms
I/Zygote  ( 1903): ...preloaded 1942 classes in 8050ms.
D/dalvikvm( 1903): GC freed 117 objects / 14864 bytes in 57ms
I/Zygote  ( 1903): Preloading resources...
D/dalvikvm( 1903): GC freed 5 objects / 224 bytes in 51ms
D/dalvikvm( 1903): GC freed 172 objects / 8528 bytes in 51ms
D/dalvikvm( 1903): GC freed 155 objects / 8216 bytes in 53ms
D/dalvikvm( 1903): GC freed 141 objects / 6064 bytes in 52ms
I/Zygote  ( 1903): ...preloaded 48 resources in 594ms.
I/Zygote  ( 1903): ...preloaded 15 resources in 16ms.
D/dalvikvm( 1903): GC freed 221 objects / 14504 bytes in 53ms
D/dalvikvm( 1903): GC freed 228 objects / 8992 bytes in 59ms
D/dalvikvm( 1903): GC freed 23 objects / 856 bytes in 52ms
I/dalvikvm( 1903): Splitting out new zygote heap
I/dalvikvm( 1903): System server process 1909 has been created
I/Zygote  ( 1903): Accepting command socket connections
D/dalvikvm( 1909): Trying to load lib /system/lib/libandroid_servers.so 0x0
D/dalvikvm( 1909): Added shared lib /system/lib/libandroid_servers.so 0x0
I/sysproc ( 1909): Entered system_init()
I/sysproc ( 1909): ServiceManager: 0x116278
I/SurfaceFlinger( 1909): SurfaceFlinger is starting
I/SurfaceFlinger( 1909): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/gralloc ( 1909): using (fd=20)
I/gralloc ( 1909): id           = s3cfb
I/gralloc ( 1909): xres         = 480 px
I/gralloc ( 1909): yres         = 800 px
I/gralloc ( 1909): xres_virtual = 480 px
I/gralloc ( 1909): yres_virtual = 1600 px
I/gralloc ( 1909): bpp          = 16
I/gralloc ( 1909): r            = 11:5
I/gralloc ( 1909): g            =  5:6
I/gralloc ( 1909): b            =  0:5
I/gralloc ( 1909): upper_margin = 8
I/gralloc ( 1909): lower_margin = 6
I/gralloc ( 1909): left_margin  = 64
I/gralloc ( 1909): right_margin = 62
I/gralloc ( 1909): pixclock     = 29767680
I/gralloc ( 1909): width        = 40 mm (304.799988 dpi)
I/gralloc ( 1909): height       = 67 mm (303.283569 dpi)
I/gralloc ( 1909): refresh rate = 60.00 Hz
E/libs3c2drender( 1909): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 1909): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 1909): Get2DRender(0)::IsDeviceOpen() fail
E/libs3c2drender( 1909): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 1909): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 1909): Get2DRender(1)::IsDeviceOpen() fail
E/libs3c2drender( 1909): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 1909): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 1909): Get2DRender(2)::IsDeviceOpen() fail
W/libs3c2drender( 1909): /dev/pmem_render is not opened
W/libs3c2drender( 1909): /dev/pmem_stream2 is not opened
W/libs3c2drender( 1909): /dev/pmem_picture is not opened
W/libs3c2drender( 1909): /dev/pmem_preview is not opened
D/libEGL  ( 1909): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 1909): loaded /system/lib/egl/libEGL_fimg.so
D/libEGL  ( 1909): loaded /system/lib/egl/libGLESv1_CM_fimg.so
D/libEGL  ( 1909): loaded /system/lib/egl/libGLESv2_fimg.so
I/SurfaceFlinger( 1909): EGL informations:
I/SurfaceFlinger( 1909): # of configs : 23
I/SurfaceFlinger( 1909): vendor    : Android
I/SurfaceFlinger( 1909): version   : 1.4 Android META-EGL
I/SurfaceFlinger( 1909): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
I/SurfaceFlinger( 1909): Client API: OpenGL ES
I/SurfaceFlinger( 1909): EGLSurface: 5-6-5-0, config=0x0
I/SurfaceFlinger( 1909): flags     : 00190000
I/        ( 1909): libGLESv1_CM_fimg.so was loaded and GLES 1.1 API was successfully mapped
E/        ( 1909): Cannot open memory device (/dev/mem)
E/        ( 1909): ERROR: ctx is NULL: GetGLstate20 line:117 pthreadid: 1227976
E/        ( 1909): fail to open g3d driver
E/        ( 1909): [3D][ERR]lock3DCriticalSection ioctl was not opened
E/        ( 1909): ERROR: ctx is NULL: GetGLstate20 line:117 pthreadid: 1227976
E/        ( 1909): fail to open g3d driver
E/        ( 1909): [3D][ERR]unlock3DCriticalSection ioctl was not opened
E/        ( 1909): ERROR: ctx is NULL: glViewport line:101 pthreadid: 1227976
E/        ( 1909): ERROR: ctx is NULL: glScissor line:132 pthreadid: 1227976
E/        ( 1909): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
E/        ( 1909): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
I/SurfaceFlinger( 1909): OpenGL informations:
E/        ( 1909): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
I/SurfaceFlinger( 1909): vendor    : (null)
I/SurfaceFlinger( 1909): renderer  : (null)
E/        ( 1909): ERROR: ctx is NULL: glGetString line:410 pthreadid: 1227976
I/SurfaceFlinger( 1909): version   : (null)
I/SurfaceFlinger( 1909): extensions: (null)
I/DEBUG   ( 1809): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 1809): Build fingerprint: 'unknown'
I/DEBUG   ( 1809): pid: 1909, tid: 1914  >>> system_server <<<
I/DEBUG   ( 1809): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG   ( 1809):  r0 00000005  r1 00008000  r2 80808080  r3 00000005
I/DEBUG   ( 1809):  r4 00000000  r5 acd29118  r6 00000041  r7 acd22eec
I/DEBUG   ( 1809):  r8 00100000  r9 a9d1ba35  10 44d8f000  fp 0012bc98
I/DEBUG   ( 1809):  ip 7341006f  sp 44e8ed48  lr afe1ba9d  pc afe1baa2  cpsr 40000030
I/DEBUG   ( 1809):          #00  pc 0001baa2  /system/lib/libc.so
I/DEBUG   ( 1809):          #01  pc 00016842  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):          #02  pc 000169ae  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):          #03  pc 00020964  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):          #04  pc 0001b654  /system/lib/libutils.so
I/DEBUG   ( 1809):          #05  pc 0001ba9a  /system/lib/libutils.so
I/DEBUG   ( 1809):          #06  pc 00010060  /system/lib/libc.so
I/DEBUG   ( 1809):          #07  pc 0000fb34  /system/lib/libc.so
I/DEBUG   ( 1809):
I/DEBUG   ( 1809): code around pc:
I/DEBUG   ( 1809): afe1ba90 d0152e00 1c381c4f ee96f7f2 e0009001
I/DEBUG   ( 1809): afe1baa0 78231c2c d1012b00 e0092400 42b31c65
I/DEBUG   ( 1809): afe1bab0 1c28d1f6 9a011c39 ff4ef7ff d1ef2800
I/DEBUG   ( 1809):
I/DEBUG   ( 1809): code around lr:
I/DEBUG   ( 1809): afe1ba8c 1c04b083 d0152e00 1c381c4f ee96f7f2
I/DEBUG   ( 1809): afe1ba9c e0009001 78231c2c d1012b00 e0092400
I/DEBUG   ( 1809): afe1baac 42b31c65 1c28d1f6 9a011c39 ff4ef7ff
I/DEBUG   ( 1809):
I/DEBUG   ( 1809): stack:
I/DEBUG   ( 1809):     44e8ed08  00000001 
I/DEBUG   ( 1809):     44e8ed0c  ac704219  /system/lib/libEGL.so
I/DEBUG   ( 1809):     44e8ed10  00100000  [heap]
I/DEBUG   ( 1809):     44e8ed14  ac704317  /system/lib/libEGL.so
I/DEBUG   ( 1809):     44e8ed18  00000000 
I/DEBUG   ( 1809):     44e8ed1c  0012bc98  [heap]
I/DEBUG   ( 1809):     44e8ed20  0012bc98  [heap]
I/DEBUG   ( 1809):     44e8ed24  0012fc90  [heap]
I/DEBUG   ( 1809):     44e8ed28  0012fc90  [heap]
I/DEBUG   ( 1809):     44e8ed2c  c4958aa9 
I/DEBUG   ( 1809):     44e8ed30  00000000 
I/DEBUG   ( 1809):     44e8ed34  00000000 
I/DEBUG   ( 1809):     44e8ed38  a1e5616c  /system/lib/egl/libGLESv1_CM_fimg.so
I/DEBUG   ( 1809):     44e8ed3c  00001f02 
I/DEBUG   ( 1809):     44e8ed40  df002777 
I/DEBUG   ( 1809):     44e8ed44  e3a070ad 
I/DEBUG   ( 1809): #00 44e8ed48  a1e3adc8  /system/lib/egl/libGLESv1_CM_fimg.so
I/DEBUG   ( 1809):     44e8ed4c  00000005 
I/DEBUG   ( 1809):     44e8ed50  acd29118  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):     44e8ed54  0012f908  [heap]
I/DEBUG   ( 1809):     44e8ed58  acd29118  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):     44e8ed5c  00000001 
I/DEBUG   ( 1809):     44e8ed60  0012fc90  [heap]
I/DEBUG   ( 1809):     44e8ed64  acd16845  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809): #01 44e8ed68  000001e0 
I/DEBUG   ( 1809):     44e8ed6c  00000320 
I/DEBUG   ( 1809):     44e8ed70  00000000 
I/DEBUG   ( 1809):     44e8ed74  00000000 
I/DEBUG   ( 1809):     44e8ed78  acd22cf4  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):     44e8ed7c  00000000 
I/DEBUG   ( 1809):     44e8ed80  ac705c0e  /system/lib/libEGL.so
I/DEBUG   ( 1809):     44e8ed84  00000000 
I/DEBUG   ( 1809):     44e8ed88  0012bc98  [heap]
I/DEBUG   ( 1809):     44e8ed8c  0012fe58  [heap]
I/DEBUG   ( 1809):     44e8ed90  00000001 
I/DEBUG   ( 1809):     44e8ed94  00003033 
I/DEBUG   ( 1809):     44e8ed98  00000004 
I/DEBUG   ( 1809):     44e8ed9c  00003038 
I/DEBUG   ( 1809):     44e8eda0  00000000 
I/DEBUG   ( 1809):     44e8eda4  00003038 
I/DEBUG   ( 1809):     44e8eda8  00000000 
I/DEBUG   ( 1809):     44e8edac  00000005 
I/DEBUG   ( 1809):     44e8edb0  00000006 
I/DEBUG   ( 1809):     44e8edb4  00000005 
I/DEBUG   ( 1809):     44e8edb8  00000000 
I/DEBUG   ( 1809):     44e8edbc  00000017 
I/DEBUG   ( 1809):     44e8edc0  00003094 
I/DEBUG   ( 1809):     44e8edc4  acd22f9c  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):     44e8edc8  00303432  [heap]
I/DEBUG   ( 1809):     44e8edcc  a9d1ba25  /system/lib/libutils.so
I/DEBUG   ( 1809):     44e8edd0  00000000 
I/DEBUG   ( 1809):     44e8edd4  0012fa28  [heap]
I/DEBUG   ( 1809):     44e8edd8  00000000 
I/DEBUG   ( 1809):     44e8eddc  0012fa2c  [heap]
I/DEBUG   ( 1809):     44e8ede0  0012fa3c  [heap]
I/DEBUG   ( 1809):     44e8ede4  fffffff8 
I/DEBUG   ( 1809):     44e8ede8  00120083  [heap]
I/DEBUG   ( 1809):     44e8edec  a9d1b979  /system/lib/libutils.so
I/DEBUG   ( 1809):     44e8edf0  0012f998  [heap]
I/DEBUG   ( 1809):     44e8edf4  a9d13f8d  /system/lib/libutils.so
I/DEBUG   ( 1809):     44e8edf8  0012f988  [heap]
I/DEBUG   ( 1809):     44e8edfc  0012f998  [heap]
I/DEBUG   ( 1809):     44e8ee00  00000002 
I/DEBUG   ( 1809):     44e8ee04  a9d140a5  /system/lib/libutils.so
I/DEBUG   ( 1809):     44e8ee08  0012f950  [heap]
I/DEBUG   ( 1809):     44e8ee0c  0012fa20  [heap]
I/DEBUG   ( 1809):     44e8ee10  0012f908  [heap]
I/DEBUG   ( 1809):     44e8ee14  44e8ee84 
I/DEBUG   ( 1809):     44e8ee18  0012f908  [heap]
I/DEBUG   ( 1809):     44e8ee1c  acd16b4d  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):     44e8ee20  0012f908  [heap]
I/DEBUG   ( 1809):     44e8ee24  c4958aa9 
I/DEBUG   ( 1809):     44e8ee28  44e8ee84 
I/DEBUG   ( 1809):     44e8ee2c  0012f908  [heap]
I/DEBUG   ( 1809):     44e8ee30  00000000 
I/DEBUG   ( 1809):     44e8ee34  acd29118  /system/lib/libsurfaceflinger.so
I/DEBUG   ( 1809):     44e8ee38  0012f908  [heap]
I/DEBUG   ( 1809):     44e8ee3c  acd169b3  /system/lib/libsurfaceflinger.so
D/Zygote  ( 1903): Process 1909 terminated by signal (11)
I/Zygote  ( 1903): Exit zygote because system server (1909) has terminated
I/ServiceManager( 1807): service 'media.audio_flinger' died
I/ServiceManager( 1807): service 'media.player' died
I/ServiceManager( 1807): service 'media.camera' died
I/ServiceManager( 1807): service 'media.audio_policy' died
D/AndroidRuntime( 1925):
D/AndroidRuntime( 1925): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1925): CheckJNI is OFF
D/AndroidRuntime( 1925): --- registering native functions ---
I/        ( 1924): ServiceManager: 0xad08
W/AudioHardwareInterface( 1924): Using stubbed audio hardware. No sound will be produced.
D/AudioHardwareInterface( 1924): setMode(NORMAL)
I/CameraService( 1924): CameraService started: pid=1924
I/AudioFlinger( 1924): AudioFlinger's thread 0xb370 ready to run
I/SamplingProfilerIntegration( 1925): Profiler is disabled.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: GPIO status

Postby Thijs » Fri Jan 21, 2011 8:00 am

Hi MadRocker,

I guess the good news is that we have a reproducable error. I got the same black screen + screen flash + restart over and over again.

The logging-link you mentioned is interesting but not necessarily the same problem we have. However, it is interesting how such detailed loggings can be created...?

Still I think it has something to do with the fact that we miss some devices like /dev/mem (related to missing dpram in our system?). Do you know how we can add /dev/mem (my previous post has a link to a SamDroid solution, but I can't port it to our Jets)?

Best regards - Thijs
Thijs
Dev Team
Dev Team
 
Posts: 114
Joined: Fri Sep 10, 2010 6:28 pm

Re: GPIO status

Postby MadRocker » Fri Jan 21, 2011 5:17 pm

I will look into this and report back.

Update:
I started with a clean install + wifi working + sensors patch + /boot/append-jet in that order.
Then added from Qdroid_2.0_Alpha2_2010.01.09.tar.bz2 the jni .so files + egl -> libGLES_android.so + lib -> 2x hardware .so files .
Next started adding the files from hw.zip excluding .old to test what is there and make sure they are good, see linked file content.

Known good working files.
http://www.megaupload.com/?d=OICJ7T71

Next will test modules alone video related then init.rc and vice versa.
You might want to compare the init.rc in the link above to modules init.rc .

Modules.zip init.rc is causing the black screen = confirmed with above linked files.

The s3c_g3d.ko , s3c_g2d_driver.ko with old init.rc causes this below. We might need to do a clean modules against the jetkernel if possible.
Code: Select all
E/libs3c2drender( 1784): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 1784): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 1784): Get2DRender(0)::IsDeviceOpen() fail
E/libs3c2drender( 1784): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 1784): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 1784): Get2DRender(1)::IsDeviceOpen() fail
E/libs3c2drender( 1784): int S3c2DRender::OpenPP()::Post processor open error
E/libs3c2drender( 1784): S3c2DRender::S3c2DRender()::OpenDevice() fail
E/libs3c2drender( 1784): Get2DRender(2)::IsDeviceOpen() fail


Here is a interesting error with lib/hw/libChunkAlloc.so
Code: Select all
D/libEGL  ( 1784): loaded /system/lib/egl/libGLES_android.so
E/libEGL  ( 1784): load_driver(/system/lib/egl/libEGL_fimg.so): Cannot load library: link_image[1721]:  1771 could not load needed library 'libChunkAlloc.so' for 'libEGL_fimg.so' (load_library[1051]: Library 'libChunkAlloc.so' not found)
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: GPIO status

Postby MadRocker » Sun Jan 23, 2011 10:50 pm

Not sure if we have this mem map for s3c6410 that shows some gpio is we do then ignore this or delete it.
http://htc-linux.org/wiki/index.php?title=S3C6410_MemoryMap

This guy used haret mmu dump and if anyone that knows how to work this can run it on the S8000 we might be able to get more info specific to the S8000 that you guys where looking for.
Code: Select all
You can check the memory mapping with the HaRET command "DUMP MMU"


There is speculation that we might also have a 4g / wimax in the phone hardware but it is just not active only 3g is active same as some HTC and other phones. This can be activated apparently with a firmware or bin.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

PreviousNext

Return to JetKernel

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron