This is not related to the NDK, try android-porting instead. On Wed, Oct 5, 2011 at 2:51 AM, Dmitry <divis1...@gmail.com> wrote:
> Hi, > > I'm trying to run custom Android build on emulator. > This build is created for Cortex-a9, so I had selected the -armv7 > kernel image (from prebuilt/android-arm/kernel) and use -qemu -cpu > cortex-a9 option. (I had cloned the latest external/qemu) > Unfortunately (well, as expected), this configuration does not work. > Kernel is starting, init process is started, init launches some > services, but they are terminated after some time, and finally system > halts. > One more issue is that I cannot connect to the emulator with adb. > (What is interesting, adbd is started by init but is not terminated. I > can see emulator-5554, but it is offline). > > I had turned off most of the services (including critical, like > servicemanager) in a hope that I just too slow in connecting to > emulator with adb. No luck. > > I'm suspecting that cortex-a9 emulation is a problem and would like to > debug it, but do not know how to do this. I can debug the kernel > itself (using qemu -s -S debugging), but this seems to me not optimal > (mostly because I do not know the kernel so good). > > I know that logcat can produce the crash stack of user-space > application. Since I do not have adb, I do not have this stack. It > seems that bionic intercepts aborting signals and directs the output > to debuggerd (which is also crashing in my emulator setup). > > Any guess are welcome. > P.S. Not sure this is correct group for this discussion... > > Dmitry > > -- > You received this message because you are subscribed to the Google Groups > "android-ndk" group. > To post to this group, send email to android-...@googlegroups.com. > To unsubscribe from this group, send email to > android-ndk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/android-ndk?hl=en. > > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting