Android for i.MX51-BBG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android for i.MX51-BBG

8,232 Views
RashmiRamanna
Contributor I

Hi all,

I am porting android to i.MX51 BBG platform.

I followed i.MX_Android_R10.4_User_Guide and built the android.

But Android Gui is not starting on dvi monitor.

I am sure I am giving correct bootargs.

 

The log is as below

 

from_bootup.cap

 

Later I built the Android by using below command

make PRODUCT-imx51_BBG-eng

I am able to get Android GUI but all applications failing.
The log file is attached as eng.cap

Please can anyone tell me how can I fix it.
eng.cap

Original Attachment has been moved to: 166-from_bootup.cap

Tags (2)
0 Kudos
Reply
29 Replies

4,604 Views
nit123
Contributor I

Any success??

0 Kudos
Reply

4,604 Views
RashmiRamanna
Contributor I

Sorry for late reply.

Thank you Nitin. I will update after trying.

0 Kudos
Reply

4,604 Views
nit123
Contributor I

Just try to take some help from below link also and check your display settings from linux command prompt.

http://imxcommunity.org/group/graphics-display/forum/topics/dual-display-in-mx51-bbg-primary-display...

0 Kudos
Reply

4,604 Views
nit123
Contributor I

I think Your Laucher is getting failed to load due to some reason thats why you are not getting GUI.

And as per your log you are getting below error so many places.

"E/AndroidRuntime( 2434): FATAL EXCEPTION: launcher-loader"

So i suspect that some library is missing for Launcher.

Try to do all the steps again from begging including flashing of SDCARD.

And try once to make screen time out also more with the help of below link before doing it freshly.

http://osdir.com/ml/android-porting/2011-08/msg00182.html

May be your system is going in suspend mode before lauching the laucher itself.

0 Kudos
Reply

4,604 Views
nit123
Contributor I


i don't think so it is due to not having userdata.img.

0 Kudos
Reply

4,604 Views
RashmiRamanna
Contributor I

Do I have to copy userdata.img to SD card?

0 Kudos
Reply

4,604 Views
RashmiRamanna
Contributor I

As GUI starts, after some seconds those error messages pops up.

0 Kudos
Reply

4,604 Views
nit123
Contributor I

thats good atleast you got the UI.

So how you got the UI finally.

So is it happening for only after clicking on settings or for others also?

0 Kudos
Reply

4,604 Views
RashmiRamanna
Contributor I

Thank you.............

Android GUI is starting But below errors are getting displayed.

The process android.process.media has stopped unexpectedly. Please try again.

The process android.process.music has stopped unexpectedly. Please try again.

When I press F1 button It takes me to Menu but when I click on settings it shows the error message of failing application.

0 Kudos
Reply

4,604 Views
nit123
Contributor I

You need to do any of the key mapping first for waking up the device from suspend mode.

and if android GUI comes properly you can make screen timeout more and stay awake option you can enable inside settings.

or you can try to increase timeout value also with the help of below link.

http://osdir.com/ml/android-porting/2011-08/msg00182.html

0 Kudos
Reply

4,609 Views
RashmiRamanna
Contributor I

Once the Android GUI starts on DVI monitor I see android.process.media failing...

After some minutes system is going to suspend state. How to solve this?

Thanx

0 Kudos
Reply

4,609 Views
RashmiRamanna
Contributor I

Sorry Its the standard board I received from customer.

0 Kudos
Reply

4,609 Views
nit123
Contributor I

if it is not a standard EVK of IMX51 from freescale than you may need to change the memory related boot args.

Just try to increase one by one memory related bootargs values like for pmem,fbmem,gpu_memory.

0 Kudos
Reply

4,609 Views
RashmiRamanna
Contributor I

Its same as imx evk freescale board.

0 Kudos
Reply

4,609 Views
nit123
Contributor I

Ok,i think some memory issue might be there,i am not sure much.

Is it customized board or imx EVK from freescale.

0 Kudos
Reply

4,609 Views
RashmiRamanna
Contributor I

LCD is not connected. Its booting on DVI monitor.

0 Kudos
Reply

4,609 Views
nit123
Contributor I

is it booting on normal LCD of EVK instead of DVI monitor.

0 Kudos
Reply

4,609 Views
RashmiRamanna
Contributor I

I have tried below bootargs also

console=ttymxc0 init=/init androidboot.console=ttymxc0 di0_primary pmem=32M,64M fbmem=5M gpu_memory=32M video=mxcdi0fb:RGB24,1024x768M@60

console=ttymxc0 init=/init androidboot.console=ttymxc0 di0_primary pmem=32M,64M fbmem=10M gpu_memory=32M video=mxcdi0fb:RGB24,1024x768M@60,bpp=32

0 Kudos
Reply

4,609 Views
nit123
Contributor I

sorry i sent wrongly for testing last time.

please try below bootargs once if not tried and tell me.

console=ttymxc0 init=/init androidboot.console=ttymxc0 di0_primary pmem=32M,64M fbmem=10M gpu_memory=32M video=mxcdi0fb:RGB24,1024x768M@60,bpp=32

and tell me which kernel config file(name) you are using for compilation.

0 Kudos
Reply

4,609 Views
RashmiRamanna
Contributor I

For these bootargs also all applications are failing.

logcat is attached.

0 Kudos
Reply