Android Booting Problem on Real Target

by Rajesh N » Tue, 10 Mar 2009 07:27:41 GMT


Sponsored Links
 i 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): >>>>>



Android Booting Problem on Real Target

by Nimit Manglick » Tue, 10 Mar 2009 08:22:01 GMT


 ajesh,

please make sure u are not using a already used filesystem.

On Tue, Mar 10, 2009 at 12:57 PM, Rajesh N <rajesh.andr...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Android Booting Problem on Real Target

by Tom_porting_android » Tue, 10 Mar 2009 15:29:05 GMT


 ello,

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 <rajesh.andr...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android Booting Problem on Real Target

by Rajesh N » Wed, 11 Mar 2009 10:40:22 GMT


 i 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 <
thomas.bandel...@gmail.com> wrote:



--
Best Regards,
Rajesh N

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android Booting Problem on Real Target

by Thomas Bandelier » Wed, 11 Mar 2009 17:57:40 GMT


 i,
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 <rajesh.andr...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android Booting Problem on Real Target

by Nimit Manglick » Thu, 12 Mar 2009 04:53:41 GMT


 i Rajesh,

Sorry for the late reply.

Yes it might be the problem of file system type. utry using yaffs filesystem
with ext3 formatting.

Regards
Nimit

On Wed, Mar 11, 2009 at 11:27 PM, Thomas Bandelier <
thomas.bandel...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android Booting Problem on Real Target

by Rajesh N » Thu, 12 Mar 2009 05:28:28 GMT


 I Tom,

I have mounted it with rw , I have checked data partition, it is working
fine.

Rajesh

On Wed, Mar 11, 2009 at 11:27 PM, Thomas Bandelier <
thomas.bandel...@gmail.com> wrote:



--
Best Regards,
Rajesh N

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Android Booting Problem on Real Target

by Rajesh N » Thu, 12 Mar 2009 05:29:55 GMT


 i Nimit,

I have read this kind of mounting else where in the forum, I exactly dont
know how to do this, how to format the flash with ext3 filesystem ? kindly
let me know how to enable this?

Rajesh



On Thu, Mar 12, 2009 at 10:23 AM, Nimit Manglick <nimitandr...@gmail.com>wrote:



--
Best Regards,
Rajesh N

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Problem adding open AP to preferred ap-list.

Hi,
I'm trying to add an open WifiConfiguration, but everytime I try to
add one via my code the configuration either is WAP or WEP, I just
want to create an open configuration.
Does someone knows how to do this?

This is a part of my code:

WifiConfiguration THOMSON = new WifiConfiguration();
// THOMSON.BSSID = sr.BSSID;
THOMSON.SSID = "\"TestConfig\"";
THOMSON.priority = 67;
// sr.
THOMSON.status = 1;

BitSet allowedAuthAlgorithms = new BitSet();
// allowedAuthAlgorithms.set(0, 3, true);

THOMSON.allowedAuthAlgorithms = allowedAuthAlgorithms;

BitSet allowedGroupCiphers = new BitSet();
allowedGroupCiphers.set(0, 3, true);
THOMSON.allowedGroupCiphers = allowedGroupCiphers;

BitSet allowedKeyManagement = new BitSet();
allowedKeyManagement.set(0, true);
THOMSON.allowedKeyManagement = allowedKeyManagement;

BitSet allowedPairwiseCiphers = new BitSet();
allowedPairwiseCiphers.set(1, 2, true);
THOMSON.allowedPairwiseCiphers = allowedPairwiseCiphers;

BitSet allowedProtocols = new BitSet();
allowedProtocols.set(0, 1, true);
THOMSON.allowedProtocols = allowedProtocols;

THOMSON.preSharedKey = null;

int THOMSONnetid = mainWifi.addNetwork(THOMSON);
boolean THOMSONresult = mainWifi.enableNetwork(THOMSONnetid, true);
mainText.setText("Adding Manual:" + THOMSONnetid + " result: "
          + THOMSONresult + "\n\nSaving:"
          + mainWifi.saveConfiguration());
--~--~---------~--~----~------------~-------~--~----~

2. How to register a ContentProvider





IIUC, the name *is* the class name, at least that's how it is in my code.
IIRC, my android:name is preceded by a '.' (dot).



-- 

Faber Fedor
Cloud Computing New Jersey
http://cloudcomputingnj.com

--~--~---------~--~----~------------~-------~--~----~

3. Error using graphics in XML-Based UI

4. Requests: doc/FAQ fix & addition to SDK samples

5. Google phone dev 1 keyboard issues

6. Gmail app on Android, how to change view?

7. Here comes skype.....