Discussion:
Emualator fails at Boot up
Joe Petruchi
2009-02-28 18:28:14 UTC
Permalink
Hi All

Can some body help me to solve this issue

Regards
Joe
Hi All
I was trying to change the kernel for Emulator.I was successful in building
the kernel Image(2.6.27) for the Emlator using the Goldfish configuraton.
The Emulators kernel is booting up however it stops in the intial Andriod
screen. i gave the following command
emulator -kernel ./x/y/zImage -system ./a/b/ -show-kernel
I saw the kernel messages.. Everything works fine; the init finally fails
telling this
init: cannot open '/initlogo.rle'
init: Unable to open persistent property directory /data/property errno: 2
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/mountd', disabling 'mountd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
init: cannot find '/system/etc/init.goldfish.sh', disabling
'goldfish-setup'
init: cannot find '/system/bin/qemud', disabling 'qemud'
init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat'
Does any body face the same problem ??
Joe
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+***@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---
David Turner
2009-03-02 15:58:58 UTC
Permalink
Ok, I just rebuilt a kernel from the official sources and could boot with
it.
Here's what I did:


git clone git://android.git.kernel.org/kernel/common kernel-common
cd kernel-common
git branch goldfish origin/android-goldfish-2.6.27
git checkout goldfish

# you need to have the Android toolchain in your path, so that arm-eabi-gcc
works, etc..
export CROSS_COMPILE=arm-eabi-
export ARCH=arm
export SUBARCH=arm
make goldfish_defconfig # configure the kernel
make # build it

-> this generates the file arch/arm/boot/zImage

then start the emulator with: "emulator -kernel path/to/your/new/zImage
-show-kernel -logcat '*:v'"

let me know if these exact steps do not work.
Post by Joe Petruchi
Hi All
Can some body help me to solve this issue
Regards
Joe
Post by Joe Petruchi
Hi All
I was trying to change the kernel for Emulator.I was successful in
building
Post by Joe Petruchi
the kernel Image(2.6.27) for the Emlator using the Goldfish configuraton.
The Emulators kernel is booting up however it stops in the intial Andriod
screen. i gave the following command
emulator -kernel ./x/y/zImage -system ./a/b/ -show-kernel
I saw the kernel messages.. Everything works fine; the init finally fails
telling this
init: cannot open '/initlogo.rle'
2
Post by Joe Petruchi
init: cannot find '/system/bin/servicemanager', disabling
'servicemanager'
Post by Joe Petruchi
init: cannot find '/system/bin/mountd', disabling 'mountd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
init: cannot find '/system/etc/init.goldfish.sh', disabling
'goldfish-setup'
init: cannot find '/system/bin/qemud', disabling 'qemud'
init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat'
Does any body face the same problem ??
Joe
Loading...