NAND flash booting problems

15 views
Skip to first unread message

sivaramkrishna neeruganti

unread,
Apr 26, 2011, 1:33:58 AM4/26/11
to android-porting
hi all,

I am trying to boot android froyo from NAND flash on DM368 Board. i
have got some problems while booting from NAND flash.

here is the logcat msg.

--------- beginning of /dev/log/main
I/DEBUG ( 1739): debuggerd: Apr 22 2011 15:45:22
I/Netd ( 1738): Netd 1.0 starting
--------- beginning of /dev/log/system
I/Vold ( 1737): Vold 2.1 (the revenge) firing up
D/Vold ( 1737): Volume sdcard state changing -1 (Initializing) -> 0
(No-Media)
W/Vold ( 1737): No UMS switch available
D/AndroidRuntime( 1741):
D/AndroidRuntime( 1741): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 1741): CheckJNI is ON
I/ ( 1742): ServiceManager: 0xacd0
E/ALSALib ( 1742): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 1742): Unable to attach mixer to device
AndroidOut: No such file or directory
E/ALSALib ( 1742): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 1742): Unable to attach mixer to device
AndroidIn: No such file or directory
I/CameraService( 1742): CameraService started: pid=1742
D/AudioHardwareALSA( 1742): openOutputStream called for devices:
0x00000002
D/ALSAModule( 1742): open called for devices 00000002 in mode 0...
E/ALSALib ( 1742): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
E/ALSALib ( 1742): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib ( 1742): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
I/ALSAModule( 1742): Initialized ALSA PLAYBACK device default
I/AudioFlinger( 1742): AudioFlinger's thread 0x3c960 ready to run
D/ALSAModule( 1742): route called for devices 00000002 in mode 0...
D/AndroidRuntime( 1741): --- registering native functions ---
I/SamplingProfilerIntegration( 1741): Profiler is disabled.
I/Zygote ( 1741): Preloading classes...
E/Zygote ( 1741): setreuid() failed. errno: 2
D/dalvikvm( 1741): GC_EXPLICIT freed 820 objects / 47408 bytes in 9ms
D/dalvikvm( 1741): GC_EXPLICIT freed 218 objects / 13560 bytes in 6ms
D/dalvikvm( 1741): GC_EXPLICIT freed 253 objects / 14360 bytes in 7ms
D/dalvikvm( 1741): GC_EXPLICIT freed 466 objects / 28864 bytes in 8ms
D/dalvikvm( 1741): GC_EXPLICIT freed 413 objects / 21720 bytes in 9ms
I/dalvikvm( 1741): Unable to dlopen(/system/lib/libexif.so): Cannot
load library: load_library[1083]: Library '/system/lib/libexif.so' not
found
W/dalvikvm( 1741): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Landroid/media/ExifInterface;.<clinit>
E/Zygote ( 1741): Error preloading android.media.ExifInterface.
E/Zygote ( 1741): java.lang.ExceptionInInitializerError
E/Zygote ( 1741): at java.lang.Class.classForName(Native Method)
E/Zygote ( 1741): at java.lang.Class.forName(Class.java:235)
E/Zygote ( 1741): at java.lang.Class.forName(Class.java:182)
E/Zygote ( 1741): at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302)
E/Zygote ( 1741): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
E/Zygote ( 1741): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 1741): Caused by: java.lang.UnsatisfiedLinkError: Library
exif not found
E/Zygote ( 1741): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/Zygote ( 1741): at java.lang.System.loadLibrary(System.java:557)
E/Zygote ( 1741): at
android.media.ExifInterface.<clinit>(ExifInterface.java:82)
E/Zygote ( 1741): ... 6 more
D/AndroidRuntime( 1741): Shutting down VM
W/dalvikvm( 1741): threadid=1: thread exiting with uncaught exception
(group=0x4001d7f0)
D/skia ( 1741): purging 6K from font cache [1 entries]
I/ServiceManager( 1736): service 'media.audio_flinger' died
I/ServiceManager( 1736): service 'media.player' died
I/ServiceManager( 1736): service 'media.camera' died
I/ServiceManager( 1736): service 'media.audio_policy' died
D/AndroidRuntime( 2171):
D/AndroidRuntime( 2171): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 2171): CheckJNI is ON
D/AndroidRuntime( 2171): --- registering native functions ---
I/ ( 2170): ServiceManager: 0xacd0
E/ALSALib ( 2170): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 2170): Unable to attach mixer to device
AndroidOut: No such file or directory
E/ALSALib ( 2170): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 2170): Unable to attach mixer to device
AndroidIn: No such file or directory
I/CameraService( 2170): CameraService started: pid=2170
D/AudioHardwareALSA( 2170): openOutputStream called for devices:
0x00000002
D/ALSAModule( 2170): open called for devices 00000002 in mode 0...
E/ALSALib ( 2170): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
E/ALSALib ( 2170): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib ( 2170): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
I/ALSAModule( 2170): Initialized ALSA PLAYBACK device default
I/AudioFlinger( 2170): AudioFlinger's thread 0x3c960 ready to run
D/ALSAModule( 2170): route called for devices 00000002 in mode 0...
I/SamplingProfilerIntegration( 2171): Profiler is disabled.
I/Zygote ( 2171): Preloading classes...
D/dalvikvm( 2171): GC_EXPLICIT freed 815 objects / 47120 bytes in 6ms
D/dalvikvm( 2171): GC_EXPLICIT freed 218 objects / 13520 bytes in 6ms
D/dalvikvm( 2171): GC_EXPLICIT freed 253 objects / 14320 bytes in 7ms
D/dalvikvm( 2171): GC_EXPLICIT freed 466 objects / 28856 bytes in 8ms
D/dalvikvm( 2171): GC_EXPLICIT freed 413 objects / 21672 bytes in 9ms
I/dalvikvm( 2171): Unable to dlopen(/system/lib/libexif.so): Cannot
load library: load_library[1083]: Library '/system/lib/libexif.so' not
found
W/dalvikvm( 2171): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Landroid/media/ExifInterface;.<clinit>
E/Zygote ( 2171): Error preloading android.media.ExifInterface.
E/Zygote ( 2171): java.lang.ExceptionInInitializerError
E/Zygote ( 2171): at java.lang.Class.classForName(Native Method)
E/Zygote ( 2171): at java.lang.Class.forName(Class.java:235)
E/Zygote ( 2171): at java.lang.Class.forName(Class.java:182)
E/Zygote ( 2171): at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302)
E/Zygote ( 2171): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
E/Zygote ( 2171): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 2171): Caused by: java.lang.UnsatisfiedLinkError: Library
exif not found
E/Zygote ( 2171): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/Zygote ( 2171): at java.lang.System.loadLibrary(System.java:557)
E/Zygote ( 2171): at
android.media.ExifInterface.<clinit>(ExifInterface.java:82)
E/Zygote ( 2171): ... 6 more
D/AndroidRuntime( 2171): Shutting down VM
W/dalvikvm( 2171): threadid=1: thread exiting with uncaught exception
(group=0x4001d7f0)
D/skia ( 2171): purging 6K from font cache [1 entries]
I/ServiceManager( 1736): service 'media.audio_flinger' died
I/ServiceManager( 1736): service 'media.player' died
I/ServiceManager( 1736): service 'media.camera' died
I/ServiceManager( 1736): service 'media.audio_policy' died


the logcat says libexif.so is not found in the system/lib directory .
libexif.so is present in the directory system/lib but it says library
is not found.this is something i find very strange.

i commented the line System.loadLibrary("exif"); in the android repo
so that i wont try to load the library.

now the problem comes to the "libmedia_jni.so"

I/dalvikvm( 2285): Unable to dlopen(/system/lib/libmedia_jni.so):
Cannot load library: load_library[1083]: Library '/system/lib/
libmedia_jni.so' not found

W/dalvikvm( 2285): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Landroid/media/DecoderCapabilities;.<clinit>
W/dalvikvm( 2285): Exception Ljava/lang/ExceptionInInitializerError;
thrown during Landroid/media/MediaFile;.<clinit>

E/Zygote ( 2285): Error preloading android.media.MediaFile.

can anyone help me in understanding whats going wrong?

Thanks,
Siva.



can anyone help me whats going wrong ?

James Coggan

unread,
Apr 26, 2011, 6:48:48 AM4/26/11
to androi...@gmail.com, android-porting
Looks like there are som,e files missing
 
I/dalvikvm( 1741): Unable to dlopen(/system/lib/libexif.so): Cannot
load library: load_library[1083]: Library '/system/lib/libexif.so' not
found


Hamilton Vera

unread,
Apr 26, 2011, 2:40:51 PM4/26/11
to androi...@gmail.com, android-porting
Please let us know about the kernel msg. If possible try to use dmesg.

On Tue, Apr 26, 2011 at 2:33 AM, sivaramkrishna neeruganti
<androi...@gmail.com> wrote:

--
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com

Reply all
Reply to author
Forward
0 new messages