problem booting from nand flash

閲覧: 14 回
最初の未読メッセージにスキップ

sivaramkrishna neeruganti

未読、
2011/04/25 6:01:412011/04/25
To: android-platform
hi all ,

I am working on DM368 Board .i have extracted the android filesystem
from the froyo repo .i am trying to boot android froyo from Nand
flash .

i am using initramfs filesystem for android rootfs. i have created
separate partitions on nand flash for system ,data and cache .i am
using yaffs2 filesystem for system,data and cache partitions.

when android kernel boots it mounts the rootfs filesystem and the init
process mounts the system,data and cache partitions.

i have got this problem ,here is the logcat msg .

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.
E/Zygote ( 2285): java.lang.ExceptionInInitializerError
E/Zygote ( 2285): at java.lang.Class.classForName(Native Method)
E/Zygote ( 2285): at java.lang.Class.forName(Class.java:235)
E/Zygote ( 2285): at java.lang.Class.forName(Class.java:182)
E/Zygote ( 2285): at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302)
E/Zygote ( 2285): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
E/Zygote ( 2285): at dalvik.system.NativeStart.main(Native
Method)
E/Zygote ( 2285): Caused by: java.lang.ExceptionInInitializerError
E/Zygote ( 2285): at
android.media.MediaFile.isWMAEnabled(MediaFile.java:106)
E/Zygote ( 2285): at
android.media.MediaFile.<clinit>(MediaFile.java:131)
E/Zygote ( 2285): ... 6 more
E/Zygote ( 2285): Caused by: java.lang.UnsatisfiedLinkError: Library
media_jni not found
E/Zygote ( 2285): at java.lang.Runtime.loadLibrary(Runtime.java:
461)
E/Zygote ( 2285): at java.lang.System.loadLibrary(System.java:
557)
E/Zygote ( 2285): at
android.media.DecoderCapabilities.<clinit>(DecoderCapabilities.java:
46)
E/Zygote ( 2285): ... 8 more
D/AndroidRuntime( 2285): Shutting down VM
W/dalvikvm( 2285): threadid=1: thread exiting with uncaught exception
(group=0x4001d7f0)
D/skia ( 2285): 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

when the android console comes up ,i can see the libmedia_jni.so
library in system/lib directory,but it says it cant find the library
which is something i didnt understand.

i am able to boot the DM368 board using the same android filesystem
extracted above with nfs filesystem ,but when i boot from nand
flash ,i see this problem. the same problem was coming for libexif.so
library too.

i think this is due to lack of permissions ,can anyone help me whats
going wrong .what are the correct permissions i have to give so that
the libraries can be loaded by the dalvikvm.

thanks,
siva.







全員に返信
投稿者に返信
転送
新着メール 0 件