Hi, I forgot to tell you to mount data partition rw, but this is an evidence isn't it?
Tom On Wed, Mar 11, 2009 at 11:40 AM, Rajesh N <[email protected]> wrote: > Hi Thomas, > > Thanks for the pointer , I will try this n get back to u... > > Rajesh > > > On Tue, Mar 10, 2009 at 8:58 PM, Tom_porting_android < > [email protected]> wrote: > >> >> Hello, >> >> Your DATA partition must support writable mmap. This is not the case >> with jffs2! >> Use YAFFS2 instead and this should work. You won't have 'unable to >> mmap DEX cache: Invalid argument' message and you should be able to >> boot. >> >> Hope this helps, >> >> Thomas >> >> >> >> >> On Mar 10, 8:27 am, Rajesh N <[email protected]> wrote: >> > Hi All, >> > >> > I have ported android on i.MX31 PDK target, it is booting , but I am >> only >> > getting "Android... " on bootup , I am unable to see android logo nor it >> is >> > further booting up ! >> > >> > I did logcat to extract some of the messages, I found these messages >> which I >> > have pasted were repeating again n again, I dont have any idea at these >> Java >> > based messages, if any one gives me some pointer on where the things r >> going >> > wrong, it would be higly appreciated. >> > >> > I am using android /System folder as CRAMFS and /data folder as JFFS2 , >> both >> > r mounted. >> > >> > D/AndroidRuntime( 1801): >>>>>>>>>>>>>> AndroidRuntime START >> <<<<<<<<<<<<<< >> > D/AndroidRuntime( 1801): CheckJNI is ON >> > W/dalvikvm( 1801): DexOpt: incorrect opt magic number (0xff ff ff ff) >> > D/dalvikvm( 1801): Stale deps in cache file; removing and retrying >> > D/dalvikvm( 1801): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- >> > E/dalvikvm( 1802): unable to mmap DEX cache: Invalid argument >> > E/dalvikvm( 1802): Optimization failed >> > W/dalvikvm( 1801): DexOpt: --- END 'core.jar' --- status=0xff00, process >> > failed >> > E/dalvikvm( 1801): Unable to extract+optimize DEX from >> > '/system/framework/core.jar' >> > D/dalvikvm( 1801): Failed on '/system/framework/core.jar' (boot=1) >> > D/dalvikvm( 1801): VM cleaning up >> > D/dalvikvm( 1801): LinearAlloc 0x0 used 4100 of 4194304 (0%) >> > W/dalvikvm( 1801): JNI_CreateJavaVM failed >> > E/AndroidRuntime( 1801): JNI_CreateJavaVM failed >> > D/AndroidRuntime( 1803): >> > D/AndroidRuntime( 1803): >>>>>>>>>>>>>> AndroidRuntime START >> <<<<<<<<<<<<<< >> > D/AndroidRuntime( 1803): CheckJNI is ON >> > W/dalvikvm( 1803): DexOpt: incorrect opt magic number (0xff ff ff ff) >> > D/dalvikvm( 1803): Stale deps in cache file; removing and retrying >> > D/dalvikvm( 1803): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- >> > E/dalvikvm( 1804): unable to mmap DEX cache: Invalid argument >> > E/dalvikvm( 1804): Optimization failed >> > W/dalvikvm( 1803): DexOpt: --- END 'core.jar' --- status=0xff00, process >> > failed >> > E/dalvikvm( 1803): Unable to extract+optimize DEX from >> > '/system/framework/core.jar' >> > D/dalvikvm( 1803): Failed on '/system/framework/core.jar' (boot=1) >> > D/dalvikvm( 1803): VM cleaning up >> > D/dalvikvm( 1803): LinearAlloc 0x0 used 4100 of 4194304 (0%) >> > W/dalvikvm( 1803): JNI_CreateJavaVM failed >> > E/AndroidRuntime( 1803): JNI_CreateJavaVM failed >> > D/AndroidRuntime( 1805): >> > D/AndroidRuntime( 1805): >>>>>>>>>>>>>> AndroidRuntime START >> <<<<<<<<<<<<<< >> > D/AndroidRuntime( 1805): CheckJNI is ON >> > W/dalvikvm( 1805): DexOpt: incorrect opt magic number (0xff ff ff ff) >> > D/dalvikvm( 1805): Stale deps in cache file; removing and retrying >> > D/dalvikvm( 1805): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- >> > E/dalvikvm( 1806): unable to mmap DEX cache: Invalid argument >> > E/dalvikvm( 1806): Optimization failed >> > W/dalvikvm( 1805): DexOpt: --- END 'core.jar' --- status=0xff00, process >> > failed >> > E/dalvikvm( 1805): Unable to extract+optimize DEX from >> > '/system/framework/core.jar' >> > D/dalvikvm( 1805): Failed on '/system/framework/core.jar' (boot=1) >> > D/dalvikvm( 1805): VM cleaning up >> > D/dalvikvm( 1805): LinearAlloc 0x0 used 4100 of 4194304 (0%) >> > W/dalvikvm( 1805): JNI_CreateJavaVM failed >> > E/AndroidRuntime( 1805): JNI_CreateJavaVM failed >> > D/AndroidRuntime( 1807): >> > D/AndroidRuntime( 1807): >>>>>>>>>>>>>> AndroidRuntime START >> <<<<<<<<<<<<<< >> > D/AndroidRuntime( 1807): CheckJNI is ON >> > W/dalvikvm( 1807): DexOpt: incorrect opt magic number (0xff ff ff ff) >> > D/dalvikvm( 1807): Stale deps in cache file; removing and retrying >> > D/dalvikvm( 1807): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- >> > E/dalvikvm( 1808): unable to mmap DEX cache: Invalid argument >> > E/dalvikvm( 1808): Optimization failed >> > W/dalvikvm( 1807): DexOpt: --- END 'core.jar' --- status=0xff00, process >> > failed >> > E/dalvikvm( 1807): Unable to extract+optimize DEX from >> > '/system/framework/core.jar' >> > D/dalvikvm( 1807): Failed on '/system/framework/core.jar' (boot=1) >> > D/dalvikvm( 1807): VM cleaning up >> > D/dalvikvm( 1807): LinearAlloc 0x0 used 4100 of 4194304 (0%) >> > W/dalvikvm( 1807): JNI_CreateJavaVM failed >> > E/AndroidRuntime( 1807): JNI_CreateJavaVM failed >> > D/AndroidRuntime( 1809): >> > D/AndroidRuntime( 1809): >>>>>>>>>>>>>> AndroidRuntime START >> <<<<<<<<<<<<<< >> > >> > -- >> > Best Regards, >> > Rajesh N >> >> > > > -- > Best Regards, > Rajesh N > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
