Hi All, I am trying port roboat Android version(Eclair+dsp) to devkit8000, i am able to build the kernel and filesystem. while booting i am getting error as "couldn't open framebuffer HAL (No such device)" No display is coming after this. below is logcat: I/DEBUG ( 808): Build fingerprint: 'timll/devkit8000/ devkit8000/:2.1-update1/ECLAIR/eng.dsp-test.20110810.174646:eng/test- keys' I/DEBUG ( 808): pid: 855, tid: 861 >>> system_server <<< I/DEBUG ( 808): signal 11 (SIGSEGV), fault addr ffffff00 I/DEBUG ( 808): r0 00116d38 r1 00000002 r2 4508fd54 r3 ffffff00 I/DEBUG ( 808): r4 4508fdc0 r5 00000001 r6 4508fd9c r7 00000000 I/DEBUG ( 808): r8 00100000 r9 a9d1c1d5 10 44f90000 fp 001382b0 I/DEBUG ( 808): ip acd291e0 sp 4508fd50 lr ac41d869 pc ffffff00 cpsr 00000010 I/DEBUG ( 808): #00 pc ffffff00 I/DEBUG ( 808): #01 pc 0001d866 /system/lib/libui.so I/DEBUG ( 808): #02 pc 00016228 /system/lib/ libsurfaceflinger.so I/DEBUG ( 808): #03 pc 000166ca /system/lib/ libsurfaceflinger.so I/DEBUG ( 808): #04 pc 0002067c /system/lib/ libsurfaceflinger.so I/DEBUG ( 808): #05 pc 0001bdce /system/lib/libutils.so I/DEBUG ( 808): #06 pc 0001c23c /system/lib/libutils.so I/DEBUG ( 808): #07 pc 00010014 /system/lib/libc.so I/DEBUG ( 808): #08 pc 0000fae0 /system/lib/libc.so I/DEBUG ( 808): I/DEBUG ( 808): code around lr: I/DEBUG ( 808): ac41d858 0015f06f 6d53b162 21024610 4798aa01 I/DEBUG ( 808): ac41d868 db052800 46314628 46239a01 ff48f7ff I/DEBUG ( 808): ac41d878 bf00bd7c 47706880 6941b901 69c2040b I/DEBUG ( 808): I/DEBUG ( 808): stack: I/DEBUG ( 808): 4508fd10 ac708a40 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd14 ac7087f8 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd18 ac708970 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd1c ac704ae3 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd20 00000001 I/DEBUG ( 808): 4508fd24 ac705b2f /system/lib/libEGL.so I/DEBUG ( 808): 4508fd28 ac708b14 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd2c 00000002 I/DEBUG ( 808): 4508fd30 00000001 I/DEBUG ( 808): 4508fd34 ac708940 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd38 00000000 I/DEBUG ( 808): 4508fd3c 00000000 I/DEBUG ( 808): 4508fd40 4508fd4c I/DEBUG ( 808): 4508fd44 ac702ba5 /system/lib/libEGL.so I/DEBUG ( 808): 4508fd48 df002777 I/DEBUG ( 808): 4508fd4c e3a070ad I/DEBUG ( 808): #01 4508fd50 00000001 I/DEBUG ( 808): 4508fd54 4508fd9c I/DEBUG ( 808): 4508fd58 001492a8 [heap] I/DEBUG ( 808): 4508fd5c acd29118 /system/lib/ libsurfaceflinger.so I/DEBUG ( 808): 4508fd60 00000001 I/DEBUG ( 808): 4508fd64 acd1622b /system/lib/ libsurfaceflinger.so I/DEBUG ( 808): debuggerd committing suicide to free the zombie! D/Zygote ( 849): Process 855 terminated by signal (11) I/Zygote ( 849): Exit zygote because system server (855) has terminated I/DEBUG ( 865): debuggerd: Aug 5 2011 17:12:16 I/ServiceManager( 805): service 'media.audio_flinger' died I/ServiceManager( 805): service 'media.player' died I/ServiceManager( 805): service 'media.camera' died I/ServiceManager( 805): service 'media.audio_policy' died D/AndroidRuntime( 867): D/AndroidRuntime( 867): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime( 867): CheckJNI is ON D/dalvikvm( 867): creating instr width table D/AndroidRuntime( 867): --- registering native functions --- I/SamplingProfilerIntegration( 867): Profiler is disabled. I/Zygote ( 867): Preloading classes... D/dalvikvm( 867): GC freed 793 objects / 50568 bytes in 3ms D/dalvikvm( 867): GC freed 251 objects / 16168 bytes in 3ms D/dalvikvm( 867): GC freed 295 objects / 18768 bytes in 4ms D/dalvikvm( 867): GC freed 214 objects / 13712 bytes in 5ms I/omx-dsp ( 866): 1023435323 [INTERFACE.INFO] Construct interface class I/omx-dsp ( 866): 1023435567 [INTERFACE.INFO] EngineInit IN I/omx-dsp ( 866): 1023448079 [INTERFACE.ERROR] Failed to open engine 'codecServer': 3 I/ ( 866): ServiceManager: 0xc138 E/ALSALib ( 866): external/alsa-lib/src/control/control.c:909: (snd_ctl_open_noupdate) Invalid CTL AndroidOut W/AudioHardwareALSA( 866): Unable to attach mixer to device AndroidOut: No such file or directory D/dalvikvm( 867): GC freed 411 objects / 26320 bytes in 6ms E/ALSALib ( 866): external/alsa-lib/src/control/control.c:909: (snd_ctl_open_noupdate) Invalid CTL AndroidIn W/AudioHardwareALSA( 866): Unable to attach mixer to device AndroidIn: No such file or directory I/CameraService( 866): CameraService started: pid=866 D/AudioHardwareALSA( 866): openOutputStream called for devices: 0x00000002 D/ALSAModule( 866): open called for devices 00000002 in mode 0... E/ALSALib ( 866): external/alsa-lib/src/pcm/pcm.c:2201: (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal E/ALSALib ( 866): external/alsa-lib/src/pcm/pcm.c:2201: (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker E/ALSALib ( 866): external/alsa-lib/src/pcm/pcm.c:2201: (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback D/skia ( 867): ------ build_power_table 1.4 D/skia ( 867): ------ build_power_table 0.714286 D/dalvikvm( 867): GC freed 422 objects / 28816 bytes in 6ms I/ALSAModule( 866): Initialized ALSA PLAYBACK device default I/AudioFlinger( 866): AudioFlinger's thread 0x38c80 ready to run D/ALSAModule( 866): route called for devices 00000002 in mode 0... D/dalvikvm( 867): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 867): Added shared lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 867): Trying to load lib /system/lib/libexif.so 0x0 D/dalvikvm( 867): Added shared lib /system/lib/libexif.so 0x0 D/dalvikvm( 867): GC freed 2314 objects / 121392 bytes in 8ms D/dalvikvm( 867): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 867): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 867): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 867): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 867): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 867): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 867): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 867): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 867): GC freed 3790 objects / 196992 bytes in 14ms D/dalvikvm( 867): GC freed 461 objects / 26328 bytes in 13ms D/dalvikvm( 867): GC freed 294 objects / 17024 bytes in 14ms D/dalvikvm( 867): GC freed 204 objects / 11432 bytes in 15ms D/dalvikvm( 867): GC freed 178 objects / 9576 bytes in 16ms D/dalvikvm( 867): Trying to load lib /system/lib/libsrec_jni.so 0x0 D/dalvikvm( 867): Added shared lib /system/lib/libsrec_jni.so 0x0 D/dalvikvm( 867): Trying to load lib /system/lib/libsrec_jni.so 0x0 D/dalvikvm( 867): Shared lib '/system/lib/libsrec_jni.so' already loaded in same CL 0x0 D/dalvikvm( 867): GC freed 296 objects / 34784 bytes in 16ms D/dalvikvm( 867): GC freed 123 objects / 24480 bytes in 23ms D/dalvikvm( 867): GC freed 337 objects / 38432 bytes in 24ms D/dalvikvm( 867): GC freed 418 objects / 25808 bytes in 25ms D/dalvikvm( 867): Trying to load lib /system/lib/libwebcore.so 0x0 D/dalvikvm( 867): Added shared lib /system/lib/libwebcore.so 0x0 D/dalvikvm( 867): GC freed 432 objects / 25144 bytes in 25ms D/dalvikvm( 867): GC freed 489 objects / 30688 bytes in 26ms D/dalvikvm( 867): GC freed 349 objects / 28968 bytes in 26ms D/dalvikvm( 867): GC freed 309 objects / 21912 bytes in 26ms D/dalvikvm( 867): GC freed 913 objects / 79824 bytes in 33ms D/dalvikvm( 867): GC freed 664 objects / 35936 bytes in 30ms D/dalvikvm( 867): GC freed 709 objects / 41176 bytes in 30ms D/dalvikvm( 867): GC freed 735 objects / 40640 bytes in 30ms D/dalvikvm( 867): GC freed 14041 objects / 475408 bytes in 36ms D/dalvikvm( 867): GC freed 10462 objects / 448184 bytes in 38ms D/dalvikvm( 867): GC freed 10803 objects / 465336 bytes in 40ms D/dalvikvm( 867): GC freed 7966 objects / 462072 bytes in 40ms D/dalvikvm( 867): GC freed 7711 objects / 462560 bytes in 41ms D/dalvikvm( 867): GC freed 9042 objects / 518528 bytes in 42ms D/dalvikvm( 867): GC freed 6569 objects / 394400 bytes in 41ms D/dalvikvm( 867): GC freed 847 objects / 51240 bytes in 39ms D/dalvikvm( 867): GC freed 540 objects / 38816 bytes in 39ms D/dalvikvm( 867): GC freed 460 objects / 31344 bytes in 40ms D/dalvikvm( 867): GC freed 426 objects / 29848 bytes in 40ms I/Zygote ( 867): ...preloaded 1942 classes in 8768ms. D/dalvikvm( 867): GC freed 117 objects / 14840 bytes in 40ms I/Zygote ( 867): Preloading resources... D/dalvikvm( 867): GC freed 5 objects / 224 bytes in 40ms W/Zygote ( 867): Preloaded drawable resource #0x1080093 (res/ drawable-mdpi/sym_def_app_icon.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080002 (res/ drawable-mdpi/arrow_down_float.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10800b4 (res/ drawable/btn_check.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10800b7 (res/ drawable-mdpi/btn_check_label_background.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10800b8 (res/ drawable-mdpi/btn_check_off.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10800bd (res/ drawable-mdpi/btn_check_on.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080004 (res/ drawable/btn_default.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080005 (res/ drawable/btn_default_small.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080006 (res/ drawable/btn_dropdown.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080008 (res/ drawable/btn_plus.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080007 (res/ drawable/btn_minus.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080009 (res/ drawable/btn_radio.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x108000a (res/ drawable/btn_star.xml) that varies with configuration!! D/dalvikvm( 867): GC freed 396 objects / 23960 bytes in 41ms W/Zygote ( 867): Preloaded drawable resource #0x1080125 (res/ drawable/btn_toggle.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080187 (res/ drawable-mdpi/ic_emergency.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080012 (res/ drawable-mdpi/divider_horizontal_bright.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080014 (res/ drawable-mdpi/divider_horizontal_dark.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080016 (res/ drawable/edit_text.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080161 (res/ drawable/expander_group.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080062 (res/ drawable/list_selector_background.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080217 (res/ drawable-mdpi/menu_background.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080218 (res/ drawable-mdpi/menu_background_fill_parent_width.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080219 (res/ drawable/menu_selector.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080224 (res/ drawable-mdpi/panel_background.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x108022e (res/ drawable-mdpi/popup_bottom_bright.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x108022f (res/ drawable-mdpi/popup_bottom_dark.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080230 (res/ drawable-mdpi/popup_bottom_medium.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080231 (res/ drawable-mdpi/popup_center_bright.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080232 (res/ drawable-mdpi/popup_center_dark.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080235 (res/ drawable-mdpi/popup_full_dark.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080238 (res/ drawable-mdpi/popup_top_bright.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080239 (res/ drawable-mdpi/popup_top_dark.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x108006d (res/ drawable/progress_indeterminate_horizontal.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x108023f (res/ drawable/progress_small.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080240 (res/ drawable/progress_small_titlebar.xml) that varies with configuration!! D/dalvikvm( 867): GC freed 452 objects / 31800 bytes in 41ms W/Zygote ( 867): Preloaded drawable resource #0x1080262 (res/ drawable-mdpi/scrollbar_handle_horizontal.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080263 (res/ drawable-mdpi/scrollbar_handle_vertical.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080071 (res/ drawable/spinner_dropdown_background.xml) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x1080326 (res/ drawable-mdpi/title_bar_shadow.9.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10801c6 (res/ drawable-mdpi/indicator_code_lock_drag_direction_green_up.png) that varies with configuration! W/Zygote ( 867): Preloaded drawable resource #0x10801c7 (res/ drawable-mdpi/indicator_code_lock_drag_direction_red_up.png) that varies with configuration!! D/dalvikvm( 867): GC freed 207 objects / 11600 bytes in 41ms W/Zygote ( 867): Preloaded drawable resource #0x10801c8 (res/ drawable-mdpi/indicator_code_lock_point_area_default.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10801c9 (res/ drawable-mdpi/indicator_code_lock_point_area_green.png) that varies with configuration!! W/Zygote ( 867): Preloaded drawable resource #0x10801ca (res/ drawable-mdpi/indicator_code_lock_point_area_red.png) that varies with configuration!! I/Zygote ( 867): ...preloaded 48 resources in 510ms. I/Zygote ( 867): ...preloaded 15 resources in 9ms. D/dalvikvm( 867): GC freed 142 objects / 11888 bytes in 41ms D/dalvikvm( 867): GC freed 127 objects / 5096 bytes in 41ms D/dalvikvm( 867): GC freed 14 objects / 496 bytes in 41ms I/dalvikvm( 867): Splitting out new zygote heap I/dalvikvm( 867): System server process 873 has been created I/Zygote ( 867): Accepting command socket connections D/dalvikvm( 873): Trying to load lib /system/lib/ libandroid_servers.so 0x0 D/dalvikvm( 873): Added shared lib /system/lib/libandroid_servers.so 0x0 E/BatteryService( 873): Could not open /sys/class/power_supply I/sysproc ( 873): Entered system_init() I/sysproc ( 873): ServiceManager: 0x136cf0 I/SurfaceFlinger( 873): SurfaceFlinger is starting I/SurfaceFlinger( 873): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... E/SurfaceFlinger( 873): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake E/FramebufferNativeWindow( 873): couldn't open framebuffer HAL (No such device) D/libEGL ( 873): loaded /system/lib/egl/libGLES_android.so D/libEGL ( 873): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so D/libEGL ( 873): loaded /system/lib/egl/ libGLESv1_CM_POWERVR_SGX530_121.so D/libEGL ( 873): loaded /system/lib/egl/ libGLESv2_POWERVR_SGX530_121.so W/libEGL ( 873): 0: eglInitialize(0x1) failed (EGL_BAD_ALLOC) I/DEBUG ( 865): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Hi Panibushan,
May I know which platform you are working and what are your bootargs? Looks like it is FB memory issue.
Regards,
Aditya
Hi Aditya,
Iam using Eclair+DSP version and kernel 2.6.32 and am using boot args: setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2 init=/init rootdelay=1 vram=12M omapdss.def_disp=lcd omapfb:mode: 480x272 omapfb.vram=0:12M omapdss.debug=y mem=128M and using Ubuntu PC for building. Regards, Pani.
Hi Phani,
Can you please try to reduce vram size from 12M to something like 4M / 2M ? We have seen similar issues in the past on some platforms.
I have tried both options same Error.
Pani.
Hi Pani,
On which TI platform (board) are you working? Can you please attach full logcat and dmesg logs? Also after the Android boots, can you check what all kernel modules are inserted? (run "lsmod" on board).
Please note that unless it is essential, we always encourage to use gingerbread.
Copy <FS>/system/lib/hw/ gralloc.default.so to <FS>/system/vendor/lib/hw/. Then rename it to gralloc.omap4.so.
<FS> is the file system path. This works for me.
I'm having the exact same problem with the current 2.3.4 release. What is the cause? I have built everything exactly the way TI says it should be built but this happens on start up.
Chris,
On which platform you observe the issue? Could you please verify all the suggestions described in the previous posts? Also it would help if you can provide logcat output.
Ok lets get started. First off I'm using an am3715evm from Logic PD. Second off I'm using the latest repo sync of gingerbread rowboat. Everything builds ok. I then tar the root with a copy of the system directory (~40MB) to an SD card where it gets un-tared. Upon boot I recieve the first problem in the log.
init: cannot execve('/system/bin/sgx/rc.pvr'): Permission denied
Apparently you are not setting the permissions to execute for this file to run from exec. If you were, you are not anymore. Please verify.
secondly if I fix this manually, you get the following console output.
# warning: `zygote' uses 32-bit capabilities (legacy support in use)request_suspend_state: wakeup (3->0) at 13228790286 (2000-01-01 00:00:11.602722169 UTC)init: untracked pid 919 exitedrequest_suspend_state: wakeup (0->0) at 21017425540 (2000-01-01 00:00:19.391357423 UTC)init: untracked pid 1010 exited
this is due to the SurfaceFlinger failling on SGX driver crash/failure to run. You can see this from the logcat output
I am also troubled by the AlsaControl, AlsaLib, and AudioHardwareALSA errors as well!
--------- beginning of /dev/log/mainI/DEBUG ( 916): debuggerd: Mar 27 2012 17:21:35I/Netd ( 915): Netd 1.0 starting--------- beginning of /dev/log/systemI/Vold ( 914): Vold 2.1 (the revenge) firing upD/Vold ( 914): USB mass storage support is not enabled in the kernelD/Vold ( 914): usb_configuration switch is not enabled in the kernelD/Vold ( 914): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)D/Vold ( 914): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)D/Vold ( 914): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)D/AndroidRuntime( 918):D/AndroidRuntime( 918): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<D/AndroidRuntime( 918): CheckJNI is OND/dalvikvm( 918): creating instr width tableI/ ( 919): ServiceManager: 0xad50E/ALSALib ( 919): external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL AndroidPlaybackW/AudioHardwareALSA( 919): Unable to attach mixer to device AndroidPlayback: No such file or directoryE/ALSALib ( 919): external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL AndroidCaptureW/AudioHardwareALSA( 919): Unable to attach mixer to device AndroidCapture: No such file or directoryD/TIALSAModule( 919): TI ALSA module openedD/TIALSAModule( 919): Initializing devices for TI ALSA moduleI/CameraService( 919): CameraService started (pid=919)D/AudioHardwareALSA( 919): openOutputStream called for devices: 0x00000002D/TIALSAModule( 919): open called for devices 00000002 in mode 0...E/ALSAControl( 919): Control 'HeadsetR Mixer AudioR1' cannot get element info: -2E/ALSAControl( 919): Control 'HeadsetL Mixer AudioL1' cannot get element info: -2E/ALSAControl( 919): Control 'Headset Playback Volume' cannot get element info: -2I/TIALSAModule( 919): Initialized ALSA PLAYBACK device defaultI/AudioFlinger( 919): AudioFlinger's thread 0x1f520 ready to runD/TIALSAModule( 919): route called for devices 00000002 in mode 0...E/AudioHardwareALSA( 919): CALLING STANDBYI/SamplingProfilerIntegration( 918): Profiler is disabled.I/Zygote ( 918): Preloading classes...D/dalvikvm( 918): GC_EXPLICIT freed 47K, 78% free 232K/1024K, external 0K/0K, paused 4msD/dalvikvm( 918): GC_EXPLICIT freed 1K, 73% free 282K/1024K, external 0K/0K, paused 3msD/dalvikvm( 918): GC_EXPLICIT freed 20K, 70% free 315K/1024K, external 0K/0K, paused 4msD/dalvikvm( 918): GC_EXPLICIT freed 17K, 66% free 353K/1024K, external 0K/0K, paused 4msD/dalvikvm( 918): GC_EXPLICIT freed 26K, 63% free 381K/1024K, external 0K/0K, paused 5msD/dalvikvm( 918): GC_EXPLICIT freed 22K, 58% free 440K/1024K, external 0K/0K, paused 5msW/MediaProfiles( 918): could not find media config xml fileD/dalvikvm( 918): GC_EXPLICIT freed 98K, 48% free 542K/1024K, external 0K/0K, paused 8msD/dalvikvm( 918): GC_EXPLICIT freed 271K, 24% free 881K/1155K, external 0K/0K, paused 15msD/dalvikvm( 918): GC_EXPLICIT freed 21K, 20% free 929K/1155K, external 0K/0K, paused 13msD/RenderScript_jni( 918): RenderScript JNI library not found!D/dalvikvm( 918): GC_EXPLICIT freed 24K, 21% free 970K/1219K, external 0K/0K, paused 12msD/dalvikvm( 918): GC_EXPLICIT freed 24K, 6% free 1276K/1347K, external 0K/0K, paused 19msD/dalvikvm( 918): GC_EXPLICIT freed 24K, 4% free 1306K/1347K, external 0K/0K, paused 19msD/dalvikvm( 918): GC_EXPLICIT freed 28K, 6% free 1331K/1411K, external 0K/0K, paused 23msD/dalvikvm( 918): GC_EXPLICIT freed 14K, 3% free 1372K/1411K, external 0K/0K, paused 19msW/Zygote ( 918): Class not found for preloading: android.widget.TextView$SelectionModifierCursorController$1D/dalvikvm( 918): GC_EXPLICIT freed 28K, 6% free 1397K/1475K, external 0K/0K, paused 20msD/dalvikvm( 918): GC_EXPLICIT freed 31K, 3% free 1436K/1475K, external 0K/0K, paused 21msD/dalvikvm( 918): GC_EXPLICIT freed 38K, 6% free 1453K/1539K, external 0K/0K, paused 21msD/dalvikvm( 918): GC_EXPLICIT freed 41K, 5% free 1468K/1539K, external 0K/0K, paused 21msD/dalvikvm( 918): GC_EXPLICIT freed 55K, 8% free 1481K/1603K, external 0K/0K, paused 22msD/dalvikvm( 918): GC_FOR_MALLOC freed 2890K, 57% free 2232K/5123K, external 0K/0K, paused 63msD/dalvikvm( 918): GC_EXPLICIT freed 2439K, 52% free 2485K/5123K, external 0K/0K, paused 58msD/dalvikvm( 918): GC_EXPLICIT freed 128K, 51% free 2545K/5123K, external 0K/0K, paused 40msD/dalvikvm( 918): GC_EXPLICIT freed 73K, 50% free 2571K/5123K, external 0K/0K, paused 41msD/dalvikvm( 918): GC_EXPLICIT freed 36K, 50% free 2589K/5123K, external 0K/0K, paused 41msD/dalvikvm( 918): GC_EXPLICIT freed 30K, 50% free 2612K/5123K, external 0K/0K, paused 41msD/dalvikvm( 918): GC_EXPLICIT freed 38K, 49% free 2635K/5123K, external 0K/0K, paused 41msI/Zygote ( 918): ...preloaded 1829 classes in 5622ms.D/dalvikvm( 918): GC_EXPLICIT freed 18K, 49% free 2632K/5123K, external 0K/0K, paused 41msI/Zygote ( 918): Preloading resources...D/dalvikvm( 918): GC_EXTERNAL_ALLOC freed <1K, 49% free 2634K/5123K, external 0K/0K, paused 41msD/dalvikvm( 918): GC_EXPLICIT freed 15K, 48% free 2673K/5123K, external 414K/521K, paused 41msD/dalvikvm( 918): GC_EXTERNAL_ALLOC freed 7K, 48% free 2683K/5123K, external 516K/521K, paused 42msI/Zygote ( 918): ...preloaded 51 resources in 582ms.I/Zygote ( 918): ...preloaded 15 resources in 18ms.D/dalvikvm( 918): GC_EXPLICIT freed 14K, 48% free 2707K/5123K, external 716K/1038K, paused 42msD/dalvikvm( 918): GC_EXPLICIT freed 8K, 48% free 2699K/5123K, external 716K/1038K, paused 43msD/dalvikvm( 918): GC_EXPLICIT freed 1K, 48% free 2697K/5123K, external 716K/103warning: `zygote' uses 32-bit capabilities (legacy support in use)8K, paused 43msI/dalvikvm( 918): System server process 1000 has been createdI/Zygote ( 918): Accepting command socket connectionsE/BatteryService( 1000): acOnlinePath not foundE/BatteryService( 1000): usbOnlinePath not foundE/BatteryService( 1000): batteryStatusPath not foundE/BatteryService( 1000): batteryHealthPath not foundE/BatteryService( 1000): batteryPresentPath not foundE/BatteryService( 1000): batteryCapacityPath not foundE/BatteryService( 1000): batteryVoltagePath not foundE/BatteryService( 1000): batteryTemperaturePath not foundE/BatteryService( 1000): batteryTechnologyPath not foundI/sysproc ( 1000): Entered system_init()I/sysproc ( 1000): ServiceManager: 0x8d6e0I/SurfaceFlinger( 1000): SurfaceFlinger is startingI/SurfaceFlinger( 1000): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...E/FramebufferNativeWindow( 1000): couldn't open framebuffer HAL (No such device)I/DEBUG ( 916): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***I/DEBUG ( 916): Build fingerprint: 'TI/am3517evm/am3517evm:2.3.4/GRJ22/eng.chris.20120327.171501:eng/test-keys'I/DEBUG ( 916): pid: 1000, tid: 1008 >>> system_server <<<I/DEBUG ( 916): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000005cI/DEBUG ( 916): r0 0000d410 r1 4376ddc4 r2 00000001 r3 00000000I/DEBUG ( 916): r4 0008f5f0 r5 0008f6e8 r6 fffffec0 r7 00000000I/DEBUG ( 916): r8 ac52b730 r9 00193ad8 10 00100000 fp 00000001I/DEBUG ( 916): ip ac52b78c sp 4376dd68 lr af904a10 pc ac518bc8 cpsr 60000030I/DEBUG ( 916): d0 0000000000000000 d1 4148207265666665I/DEBUG ( 916): d2 6461657268742076 d3 7420796461657269I/DEBUG ( 916): d4 49202e6e7572206f d5 7a696c616974696eI/DEBUG ( 916): d6 7061726720676e69 d7 0000000073636968I/DEBUG ( 916): d8 0000000000000000 d9 0000000000000000I/DEBUG ( 916): d10 0000000000000000 d11 0000000000000000I/DEBUG ( 916): d12 0000000000000000 d13 0000000000000000I/DEBUG ( 916): d14 0000000000000000 d15 0000000000000000I/DEBUG ( 916): d16 00000000405fd010 d17 3fe999999999999aI/DEBUG ( 916): d18 42eccefa43de3400 d19 3fbc71c71c71c71cI/DEBUG ( 916): d20 4008000000000000 d21 3fd99a27ad32ddf5I/DEBUG ( 916): d22 3fd24998d6307188 d23 3fcc7288e957b53bI/DEBUG ( 916): d24 3fc74721cad6b0ed d25 3fc39a09d078c69fI/DEBUG ( 916): d26 0000000000000000 d27 0000000000000000I/DEBUG ( 916): d28 0000000000000000 d29 0000000000000000I/DEBUG ( 916): d30 0000000000000000 d31 0000000000000000I/DEBUG ( 916): scr 20000012I/DEBUG ( 916):I/DEBUG ( 916): #00 pc 00018bc8 /system/lib/libsurfaceflinger.soI/DEBUG ( 916): #01 pc 000190ec /system/lib/libsurfaceflinger.soI/DEBUG ( 916): #02 pc 00023dfc /system/lib/libsurfaceflinger.soI/DEBUG ( 916): #03 pc 0001c8c8 /system/lib/libutils.soI/DEBUG ( 916): #04 pc 0001ce3a /system/lib/libutils.soI/DEBUG ( 916): #05 pc 000118ec /system/lib/libc.soI/DEBUG ( 916): #06 pc 000114b0 /system/lib/libc.soI/DEBUG ( 916):I/DEBUG ( 916): code around pc:I/DEBUG ( 916): ac518ba8 ffb8f7ff edd06ca0 23000a0b 6ec7a917I/DEBUG ( 916): ac518bb8 0a07edc4 0a0ced90 0450f8df 0a08ed84I/DEBUG ( 916): ac518bc8 7a17edd7 edc44478 64e37a09 e886f7feI/DEBUG ( 916): ac518bd8 9817b940 024cf104 1434f8df 44796945I/DEBUG ( 916): ac518be8 4798682b e42cf8df 0924f10d ad182600I/DEBUG ( 916):I/DEBUG ( 916): code around lr:I/DEBUG ( 916): af9049f0 e1853f92 e3530000 1afffffa e8bd8070I/DEBUG ( 916): af904a00 e92d4070 e1a04000 e1a05001 ebffffd4I/DEBUG ( 916): af904a10 e1950f9f e0802004 e1853f92 e3530000I/DEBUG ( 916): af904a20 1afffffa e8bd8070 e1a01000 e3e00000I/DEBUG ( 916): af904a30 eafffff2 e1a01000 e3a00001 eaffffefI/DEBUG ( 916):I/DEBUG ( 916): stack:I/DEBUG ( 916): 4376dd28 0008f75cI/DEBUG ( 916): 4376dd2c ac52b730I/DEBUG ( 916): 4376dd30 00100000I/DEBUG ( 916): 4376dd34 ab91b11f /system/lib/libui.soI/DEBUG ( 916): 4376dd38 00100000I/DEBUG ( 916): 4376dd3c afd13ec7 /system/lib/libc.soI/DEBUG ( 916): 4376dd40 0008f5f0I/DEBUG ( 916): 4376dd44 00000000I/DEBUG ( 916): 4376dd48 0008f638I/DEBUG ( 916): 4376dd4c 0008f6e8I/DEBUG ( 916): 4376dd50 fffffec0I/DEBUG ( 916): 4376dd54 ac518b2d /system/lib/libsurfaceflinger.soI/DEBUG ( 916): 4376dd58 0008f5f0I/DEBUG ( 916): 4376dd5c 0008f6e8I/DEBUG ( 916): 4376dd60 df002777I/DEBUG ( 916): 4376dd64 e3a070adI/DEBUG ( 916): #00 4376dd68 ac5261be /system/lib/libsurfaceflinger.soI/DEBUG ( 916): 4376dd6c a811cda9 /system/lib/libutils.soI/DEBUG ( 916): 4376dd70 fffffff8I/DEBUG ( 916): 4376dd74 00193ad8I/DEBUG ( 916): 4376dd78 00000000I/DEBUG ( 916): 4376dd7c 0008f650I/DEBUG ( 916): 4376dd80 00000000I/DEBUG ( 916): 4376dd84 00193ad8I/DEBUG ( 916): 4376dd88 00000001I/DEBUG ( 916): 4376dd8c a811ccb3 /system/lib/libutils.soI/DEBUG ( 916): 4376dd90 00000000I/DEBUG ( 916): 4376dd94 00000000I/DEBUG ( 916): 4376dd98 00000000I/DEBUG ( 916): 4376dd9c 00000000I/DEBUG ( 916): 4376dda0 00000000I/DEBUG ( 916): 4376dda4 00000001I/DEBUG ( 916): 4376dda8 00000000I/DEBUG ( 916): 4376ddac 00100000I/DEBUG ( 916): 4376ddb0 00001000I/DEBUG ( 916): 4376ddb4 00000000I/DEBUG ( 916): 4376ddb8 00000000I/DEBUG ( 916): 4376ddbc 0008f6a8I/DEBUG ( 916): 4376ddc0 fffffff8I/DEBUG ( 916): 4376ddc4 0008f648I/DEBUG ( 916): 4376ddc8 0008f648I/DEBUG ( 916): 4376ddcc 00000001I/DEBUG ( 916): 4376ddd0 00000000I/DEBUG ( 916): 4376ddd4 ac5261be /system/lib/libsurfaceflinger.soI/DEBUG ( 916): 4376ddd8 0008f664I/DEBUG ( 916): 4376dddc 0008f654I/DEBUG ( 916): 4376dde0 00000000I/DEBUG ( 916): 4376dde4 a811cd9b /system/lib/libutils.soI/DEBUG ( 916): 4376dde8 00000000I/DEBUG ( 916): 4376ddec 0008f650I/DEBUG ( 916): 4376ddf0 a811ccf9 /system/lib/libutils.soI/DEBUG ( 916): 4376ddf4 0008f598I/DEBUG ( 916): 4376ddf8 4376de84I/DEBUG ( 916): 4376ddfc 0008f240I/DEBUG ( 916): 4376de00 0008f5f0I/DEBUG ( 916): 4376de04 00193ad8I/DEBUG ( 916): 4376de08 00100000I/DEBUG ( 916): 4376de0c ac519163 /system/lib/libsurfaceflinger.soI/DEBUG ( 916): 4376de10 0008f680I/DEBUG ( 916): 4376de14 ac519177 /system/lib/libsurfaceflinger.soI/DEBUG ( 916): 4376de18 0008f680I/DEBUG ( 916): 4376de1c a8114b8f /system/lib/libutils.soI/DEBUG ( 916): 4376de20 0008f5f0I/DEBUG ( 916): 4376de24 521574f1I/DEBUG ( 916): 4376de28 ac52bc4cI/DEBUG ( 916): 4376de2c 0008f5f0I/DEBUG ( 916): 4376de30 00000000I/DEBUG ( 916): 4376de34 4376de84I/DEBUG ( 916): 4376de38 0008f240I/DEBUG ( 916): 4376de3c 0008f5f0I/DEBUG ( 916): 4376de40 00193ad8I/DEBUG ( 916): 4376de44 00100000I/DEBUG ( 916): 4376de48 00000001I/DEBUG ( 916): 4376de4c ac5190f1 /system/lib/libsurfaceflinger.soI/DEBUG ( 916): #01 4376de50 0008f1b0I/DEBUG ( 916): 4376de54 ac52a7ccI/DEBUG ( 916): 4376de58 4376de84I/DEBUG ( 916): 4376de5c ac523e01 /system/lib/libsurfaceflinger.soD/Zygote ( 918): Process 1000 terminated by signal (11)I/Zygote ( 918): Exit zygote because system server (1000) has terminatedrequest_suspend_state: wakeup (3->0) at 13763519289 (2000-01-01 00:00:12.125549318 UTC)I/ServiceManagerinit: untracked pid 919 exited( 913): service 'media.audio_flinger' diedI/ServiceManager( 913): service 'media.player' diedI/ServiceManager( 913): service 'media.camera' diedI/ServiceManager( 913): service 'media.audio_policy' diedD/AndroidRuntime( 1018):D/AndroidRuntime( 1018): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<D/AndroidRuntime( 1018): CheckJNI is OND/dalvikvm( 1018): creating instr width tableI/ ( 1016): ServiceManager: 0xad50E/ALSALib ( 1016): external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL AndroidPlaybackW/AudioHardwareALSA( 1016): Unable to attach mixer to device AndroidPlayback: No such file or directoryE/ALSALib ( 1016): external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL AndroidCaptureW/AudioHardwareALSA( 1016): Unable to attach mixer to device AndroidCapture: No such file or directoryD/TIALSAModule( 1016): TI ALSA module openedD/TIALSAModule( 1016): Initializing devices for TI ALSA moduleI/CameraService( 1016): CameraService started (pid=1016)D/AudioHardwareALSA( 1016): openOutputStream called for devices: 0x00000002D/TIALSAModule( 1016): open called for devices 00000002 in mode 0...
Could you please (lsmod to) check if the pvrsrvkm and omaplfb modules are inserted on the platform? If not you may have to start the service using the following command -
/system/bin/sgx/rc.pvr start.
Also what are the bootargs on your platform? You may have to set vram size in the bootargs command line appropriately.
lsmod reveals:
omaplfb 10738 0 - Live 0xbf031000pvrsrvkm 153950 1 omaplfb, Live 0xbf000000
so looks like they are running.
Kernel pass arguments are:
console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 init=/init ip=off omap_vout.vid1_static_vrfb_alloc=y vram=8M omapfb.vram=0:8M
I got it to work! Seems I missed using the mktarball.sh step. Sorry for the false alarm. I'm not really sure what this does but I know it's only useful when you are building an SD card. We build android with the Google paradigm now where the system directory is tarred up and dumped onto the system partition. The rootfs skeleton is linked in the kernel as the initramfs with the init and init.rc files included in it for a skeleton of only 160k. For some reason, the SD card needs all that fs_stating to work properly. This is a real pain so I guess I should write up how to use the system we use ehh. Also, the YAFFS drivers need to be updated to the most recent in the repo as the old ones had lots of bugs and would keep you from doing what we do with the root fs.
Chris Westervelt ... Also, the YAFFS drivers need to be updated to the most recent in the repo as the old ones had lots of bugs and would keep you from doing what we do with the root fs.
... Also, the YAFFS drivers need to be updated to the most recent in the repo as the old ones had lots of bugs and would keep you from doing what we do with the root fs.
Could you post your patches to our community rowboat group for review? This would be useful for other users too and might be integrated to TI Android DevKit in future.
http://groups.google.com/group/rowboat
--------------------------------------------------------------------------------------------------------- Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
I would but I need to issue a whole set of files and folders. Basically, you git the latest release of yaffs2 from http://www.yaffs.net/. In the git you will find in the root a patch-ker.sh script that will run and update the kernel when you point it to that directory. Afterwards, rebuild the kernel and your up to date and ready to test. I can send you what I have if you can tell me where to deposit the tar ball.
Thanks, we shall try this out.