Hi All I am currently porting android SDK 1.0 on PXA320. My machine have 240x320 16 Bit LCD, but no touch screen, . I modified android SDK 1.0 2.6.25 kernel from google to run on PXA320.
After booting, I can get the sreen "A N D R O I D" character. But I have the following message on console. Freeing init memory: 104K init: cannot open '/initlogo.rle' yaffs: dev is 32505860 name is "mtdblock4" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.4, "mtdblock4" yaffs: restored from checkpoint yaffs_read_super: isCheckpointed 1 yaffs: dev is 32505861 name is "mtdblock5" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.5, "mtdblock5" block 60 is bad yaffs_read_super: isCheckpointed 0 yaffs: dev is 32505862 name is "mtdblock6" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.6, "mtdblock6" yaffs_read_super: isCheckpointed 0 sh: can't access tty; job control turned off # warning: `rild' uses 32-bit capabilities (legacy support in use) binder: 459:459 refcount change on invalid ref 0 binder: 459:459 refcount change on invalid ref 0 binder: 459:459 transaction failed 29189, size 120-4 binder: 472:472 refcount change on invalid ref 0 binder: 472:472 refcount change on invalid ref 0 binder: 472:472 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 472:472 transaction failed 29189, size 112-4 # The screen is blank. But Console and kernel is working. and I have the following logcat message. # logcat -d I/DEBUG ( 456): debuggerd: Dec 9 2008 03:29:45 E/mountd ( 455): could not read initial mass storage state D/AndroidRuntime( 458): D/AndroidRuntime( 458): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime( 458): CheckJNI is ON D/AndroidRuntime( 458): --- registering native functions --- I/ ( 459): ServiceManager: 0xaab8 W/AudioHardwareInterface( 459): Using stubbed audio hardware. No sound will be produced. I/AudioFlinger( 459): AudioFlinger's main thread ready to run. I/CameraService( 459): CameraService started: pid=459 I/Zygote ( 458): Preloading classes... D/dalvikvm( 458): GC freed 746 objects / 41240 bytes in 13ms D/dalvikvm( 458): GC freed 302 objects / 18584 bytes in 13ms D/dalvikvm( 458): GC freed 309 objects / 18720 bytes in 17ms D/dalvikvm( 458): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 458): Added shared lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 458): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 458): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 458): Trying to load lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 458): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 458): GC freed 3698 objects / 177088 bytes in 56ms D/dalvikvm( 458): GC freed 284 objects / 23032 bytes in 43ms D/dalvikvm( 458): GC freed 403 objects / 23736 bytes in 48ms D/dalvikvm( 458): GC freed 137 objects / 26608 bytes in 51ms D/dalvikvm( 458): GC freed 740 objects / 46528 bytes in 87ms D/dalvikvm( 458): GC freed 384 objects / 23784 bytes in 87ms D/dalvikvm( 458): Trying to load lib /system/lib/libwebcore.so 0x0 D/dalvikvm( 458): Added shared lib /system/lib/libwebcore.so 0x0 D/dalvikvm( 458): GC freed 490 objects / 28200 bytes in 90ms D/dalvikvm( 458): GC freed 298 objects / 21072 bytes in 93ms D/dalvikvm( 458): GC freed 391 objects / 21136 bytes in 97ms D/dalvikvm( 458): GC freed 1469 objects / 76624 bytes in 105ms D/dalvikvm( 458): GC freed 611 objects / 45080 bytes in 102ms D/dalvikvm( 458): GC freed 14758 objects / 517520 bytes in 177ms D/dalvikvm( 458): GC freed 11450 objects / 484128 bytes in 171ms D/SSLSocketFactory( 458): Using factory org.apache.harmony.xnet.provider.jsse.opensslsocketfactoryi...@4012bac8 D/dalvikvm( 458): GC freed 4082 objects / 172320 bytes in 139ms D/dalvikvm( 458): GC freed 640 objects / 34240 bytes in 127ms D/dalvikvm( 458): GC freed 590 objects / 30488 bytes in 129ms D/dalvikvm( 458): GC freed 369 objects / 26248 bytes in 133ms I/Zygote ( 458): ...preloaded 854 classes in 13100ms. D/dalvikvm( 458): GC freed 43 objects / 2424 bytes in 132ms I/Zygote ( 458): Preloading resources... D/dalvikvm( 458): GC freed 6 objects / 8928 bytes in 133ms D/dalvikvm( 458): GC freed 180 objects / 9312 bytes in 137ms D/dalvikvm( 458): GC freed 123 objects / 4912 bytes in 137ms I/Zygote ( 458): ...preloaded 42 resources in 1410ms. D/dalvikvm( 458): GC freed 115 objects / 5512 bytes in 138ms D/dalvikvm( 458): GC freed 181 objects / 7408 bytes in 138ms D/dalvikvm( 458): GC freed 2 objects / 48 bytes in 137ms I/dalvikvm( 458): Splitting out new zygote heap I/dalvikvm( 458): System server process 472 has been created I/Zygote ( 458): Accepting command socket connections D/dalvikvm( 472): Trying to load lib /system/lib/ libandroid_servers.so 0x0 D/dalvikvm( 472): Added shared lib /system/lib/libandroid_servers.so 0x0 I/sysproc ( 472): Entered system_init() I/sysproc ( 472): ServiceManager: 0x156140 I/SurfaceFlinger( 472): SurfaceFlinger is starting E/MemoryHeapBase( 472): error opening /dev/pmem: No such file or directory I/SurfaceFlinger( 472): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... E/SurfaceFlinger( 472): Couldn't open /sys/android_power/ wait_for_fb_sleep or /sys/android_power/wait_for_fb_wake E/GLLogger( 472): couldn't load <libhgl.so> library (Cannot find library) I/SurfaceFlinger( 472): EGL informations: I/SurfaceFlinger( 472): # of configs : 4 I/SurfaceFlinger( 472): vendor : Android I/SurfaceFlinger( 472): version : 1.2 Android META-EGL I/SurfaceFlinger( 472): extensions: EGL_ANDROID_query_string_config EGL_ANDROID_swap_rectangle I/SurfaceFlinger( 472): ext/config: EGL_ANDROID_swap_rectangle I/SurfaceFlinger( 472): Client API: OpenGL ES I/EGLDisplaySurface( 472): using (fd=21) I/EGLDisplaySurface( 472): id = PXA I/EGLDisplaySurface( 472): xres = 240 px I/EGLDisplaySurface( 472): yres = 320 px I/EGLDisplaySurface( 472): xres_virtual = 240 px I/EGLDisplaySurface( 472): yres_virtual = 640 px I/EGLDisplaySurface( 472): bpp = 16 I/EGLDisplaySurface( 472): r = 11:5 I/EGLDisplaySurface( 472): g = 5:6 I/EGLDisplaySurface( 472): b = 0:5 I/EGLDisplaySurface( 472): width = 51 mm (119.529411 dpi) I/EGLDisplaySurface( 472): height = 38 mm (213.894730 dpi) I/EGLDisplaySurface( 472): refresh rate = 72.56 Hz I/SurfaceFlinger( 472): OpenGL informations: I/SurfaceFlinger( 472): vendor : Android I/SurfaceFlinger( 472): renderer : Android PixelFlinger 1.0 I/SurfaceFlinger( 472): version : OpenGL ES-CM 1.0 I/SurfaceFlinger( 472): 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_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap I/sysproc ( 472): System server: starting Android runtime. I/sysproc ( 472): System server: starting Android services. I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/SystemServer( 472): Entered the Android system server! I/sysproc ( 472): System server: entering thread pool. I/SystemServer( 472): Starting Power Manager. E/ServiceManager( 472): error in addService E/ServiceManager( 472): android.os.DeadObjectException E/ServiceManager( 472): at android.os.BinderProxy.transact (Native Method) E/ServiceManager( 472): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java: 146) E/ServiceManager( 472): at android.os.ServiceManager.addService (ServiceManager.java:72) E/ServiceManager( 472): at com.android.server.ServerThread.run (SystemServer.java:98) E/ServiceManager( 472): error in getService E/ServiceManager( 472): android.os.DeadObjectException E/ServiceManager( 472): at android.os.BinderProxy.transact (Native Method) E/ServiceManager( 472): at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java: 120) E/ServiceManager( 472): at android.os.ServiceManager.getService (ServiceManager.java:55) E/ServiceManager( 472): at com.android.internal.os.RuntimeInit.reportException(RuntimeInit.java: 375) E/ServiceManager( 472): at android.util.Log.e(Log.java:220) E/ServiceManager( 472): at android.os.ServiceManager.addService (ServiceManager.java:74) E/ServiceManager( 472): at com.android.server.ServerThread.run (SystemServer.java:98) E/AndroidRuntime( 472): Crash logging skipped, already logging another crash E/AndroidRuntime( 472): Crash logging skipped, no checkin service I/SystemServer( 472): Starting Activity Manager. I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... W/SurfaceComposerClient( 472): SurfaceFlinger not published, waiting... I/ServiceManager( 472): Waiting for sevice SurfaceFlinger... # ps USER PID PPID VSIZE RSS WCHAN PC NAME root 1 0 260 172 c0088660 0000c48c S /init root 2 0 0 0 c0047990 00000000 S kthreadd root 3 2 0 0 c0039678 00000000 S ksoftirqd/0 root 4 2 0 0 c0044cc8 00000000 S events/0 root 5 2 0 0 c0044cc8 00000000 S khelper root 11 2 0 0 c0044cc8 00000000 S suspend/0 root 55 2 0 0 c0044cc8 00000000 S kblockd/0 root 58 2 0 0 c0044cc8 00000000 S cqueue root 60 2 0 0 c0167844 00000000 S kseriod root 83 2 0 0 c00609c8 00000000 S pdflush root 84 2 0 0 c00609c8 00000000 S pdflush root 85 2 0 0 c00645ac 00000000 S kswapd0 root 87 2 0 0 c0044cc8 00000000 S aio/0 root 208 2 0 0 c015f778 00000000 S mtdblockd root 256 2 0 0 c0044cc8 00000000 S rpciod/0 root 454 1 724 312 c00370f4 afe0c50c S /system/bin/sh root 455 1 1824 324 ffffffff afe0c0fc S /system/bin/ mountd root 456 1 652 252 c018d50c afe0c0fc S /system/bin/ debuggerd radio 457 1 3252 596 ffffffff afe0bdfc S /system/bin/rild root 458 1 70344 18748 c0088c88 afe0b8b4 S zygote media 459 1 15700 2988 ffffffff afe0b78c S /system/bin/ mediaserver bluetooth 461 1 1156 560 c0088660 afe0c6dc S /system/bin/dbus- daemon root 463 1 1264 124 ffffffff 0000e664 S /sbin/adbd system 472 458 113428 13320 ffffffff afe0b78c S system_server root 492 454 872 328 00000000 afe0b54c R ps --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---