[android-porting] Re: Android Eclair -- hangs after gralloc/mapFrameBufferLocked

2009-11-21 Thread AchimNohl
Hi Alexey, solution is simple: just remove lockunlock of mutex. it is locked before (in the same thread), so deadlock occurs. this does not seem to be safe. I have tried that and got beyond the point. But now the system crashes later with an uncaught exception in thread 19 PID 419 in my case.

[android-porting] Ported android patches to 2.6.31. Boots fine with non android FS. Panics with Android FS (images)

2009-11-21 Thread Shivappa
Hi, I am working on TI’s OMAP Zoom2 platform (OMAP3430). My intention is to boot Zoom2 with Android using 2.6.31 kernel. Note that I am also planning to post this in omapzoom discussion group. I think the issue is not related to platform (zoom2) but to do with Android images with Linux kernel

[android-porting] wakeup wakelock issues

2009-11-21 Thread Sriram V
Hi, I am trying to test pm on a custom board with android. Whats happening: 1) Android is putting the system to sleep - calling system wide suspend 2) During suspend, kernel resume immediately - I get wakeup wake lock: omap-8250-serial. and again puts it back to suspend.* *3) This

Re: [android-porting] wakeup wakelock issues

2009-11-21 Thread abhishek srivastav
Hey , You can solve this by two approaches - First, you can disable/change this sleep time for settings. -Second, I guess you are booting your android from MMC card, and once it goes to sleep mode it may not be able to remount the MMC card while waking up. I faced a similar issue when I ported

[android-porting] Re: using gdb in Android x86

2009-11-21 Thread Brian
Thanks! I tried it. I ran gdbserver and gdbclient, and got the following. I'd like to pinpoint the code causing the problem, but I can't. Any suggestion? - Brian # ./gdbserver localhost:1234 --attach 2154 Attached; pid = 2154 Listening on port 1234 Remote debugging from host 127.0.0.1 Child

Re: [android-porting] Boot from SD card

2009-11-21 Thread abhishek srivastav
Fredric, Please make sure that you follow following steps for booting Android from SD card. -Your bootargsboot parameters in bootloader should be set to SD card. -For booting Android from SD card your SD card should be formatted in ext2 format. -Copy the following files/directory from