Thanks Raja & Magnus,
I have compiled sources to get image for Android Jelly Bean and the emulator is able to pick this up using following command :
out/host/linux-x86/bin/emulator -sysdir out/target/product/generic/ -system out/target/product/generic/system.img -ramdisk out/target/product/generic/ramdisk.img -data out/target/product/generic/userdata.img -kernel prebuilts/qemu-kernel/arm/3.4/kernel-qemu-armv7 -skindir sdk/emulator/skins -skin HVGA -scale 0.7 -memory 512 -partition-size 1024
May anyone please answer following questions :
1) -skin HVGA doesn't show the three touch options the way Nexus 4 has at the bottom of screen. How can I get that ?
2) I get following images :
a) system.img
b) ramdisk.img
c) userdata.img
What's the difference (I understand, but still would like to get proper inputs on these) and is there a way to get a single *.img file containing everything needed to get Android up ?
Also, -sysdir flag is necessary ?
3) I'm making use of prebuilt kernel. If I clone goldfish and build kernel, does it differ in any manner ?
4) I tried running these images using QEMU (I know android emulator is it self an extension of QEMU) with following arguments :
qemu-system-arm -M vexpress-a9 -cpu cortex-a9 -m 1024 -initrd ramdisk.img -kernel kernel-qemu-armv7 -nographic -sd system.img
It troughs core dump error. Is there a way to understand what flags I need to pass ?
Looking forward to reply
Thanks
Chetan Patil