How to test android Goldfish Kernel 3.10 on Versatilepb Suported QEMU? -
How to test android Goldfish Kernel 3.10 on Versatilepb Suported QEMU? -
i'm trying port android on versatilepb using [android goldfish 3.10 kernel](https://android.googlesource.com/kernel/goldfish/+/android-goldfish-3.10).
first, configured kernel versatile_defconfig
, built it. got .config
file, renamed versatile_config
, added android base of operations configuration using next command
arch=arm scripts/kconfig/merge_config.sh versatile_config android/configs/android-base.cfg
again, built kernel successfully. after that, built android google source code , have taken ramdisk.img
google_src_v4.4/out/target/product/generic
. after that, tested using next command,
qemu-system-arm -m versatilepb -kernel ./arch/arm/boot/zimage -initrd ramdisk.img -append "console=ttyama0 root=/dev/ram0 rw" -serial stdio
but i'm getting next error. kernel panic - not syncing: attempted kill init! exitcode=0x00000004
cpu: 0 pid: 1 comm: init not tainted 3.10.0 #15 [<c001271c>] (unwind_backtrace+0x0/0xe8) [<c001129c>] (show_stack+0x10/0x14) [<c001129c>] (show_stack+0x10/0x14) [<c0368304>] (panic+0x8c/0x1d4) [<c0368304>] (panic+0x8c/0x1d4) [<c001fe94>] (do_exit+0x7f8/0x8d8) [<c001fe94>] (do_exit+0x7f8/0x8d8) [<c001ffe0>] (do_group_exit+0x40/0xd4) [<c001ffe0>] (do_group_exit+0x40/0xd4) [<c002a75c>] (get_signal_to_deliver+0x178/0x5c4) [<c002a75c>] (get_signal_to_deliver+0x178/0x5c4) [<c00109a4>] (do_signal+0xd0/0x434) [<c00109a4>] (do_signal+0xd0/0x434) [<c0010ea4>] (do_work_pending+0xa8/0xb8)
[] (do_work_pending+0xa8/0xb8) [] (work_pending+0xc/0x20)
somehow related "init()" function, kernel trying create first process (in userspace) first time - linux , android differs. did utilize qemu android?:
https://github.com/android/platform_external_qemu
and see give-and-take here:
https://balau82.wordpress.com/2010/03/22/compiling-linux-kernel-for-qemu-arm-emulator/
there hints here:
run android app in qemu-arm?
and here has commandline emulation:
how compile android goldfish 3.4 kernel , run on emulator
android
Comments
Post a Comment