title: How to test android Goldfish Kernel 3.10 on Versatilepb Suported QEMU?
body: <pre><code>  I'm trying to port Android on VersatilePB using [Android Goldfish 3.10 kernel](https://android.googlesource.com/kernel/goldfish/+/android-goldfish-3.10).
  </code></pre>
  
  <p>First, I configured kernel for <code>versatile_defconfig</code> and I successfully built it. I got <code>.config</code> file, renamed it as <code>versatile_config</code> and added Android base configuration to that using the following command </p>
  
  <p>ARCH=arm scripts/kconfig/merge_config.sh versatile_config android/configs/android-base.cfg </p>
  
  <p>Again, I built the kernel successfully. After that, I built the Android Google source code and I have taken <code>ramdisk.img</code> from <code>google_src_v4.4/out/target/product/generic</code>. After that, I tested using following command,</p>
  
  <p>qemu-system-arm -M versatilepb -kernel ./arch/arm/boot/zImage -initrd ramdisk.img -append "console=ttyAMA0 root=/dev/ram0 rw" -serial stdio </p>
  
  <p>but I'm getting the following error. Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 </p>
  
  <pre><code>CPU: 0 PID: 1 Comm: init Not tainted 3.10.0 #15
  [&lt;c001271c&gt;] (unwind_backtrace+0x0/0xe8) from [&lt;c001129c&gt;] (show_stack+0x10/0x14)
  [&lt;c001129c&gt;] (show_stack+0x10/0x14) from [&lt;c0368304&gt;] (panic+0x8c/0x1d4)
  [&lt;c0368304&gt;] (panic+0x8c/0x1d4) from [&lt;c001fe94&gt;] (do_exit+0x7f8/0x8d8)
  [&lt;c001fe94&gt;] (do_exit+0x7f8/0x8d8) from [&lt;c001ffe0&gt;] (do_group_exit+0x40/0xd4)
  [&lt;c001ffe0&gt;] (do_group_exit+0x40/0xd4) from [&lt;c002a75c&gt;]   (get_signal_to_deliver+0x178/0x5c4)
  [&lt;c002a75c&gt;] (get_signal_to_deliver+0x178/0x5c4) from [&lt;c00109a4&gt;] (do_signal+0xd0/0x434)
  [&lt;c00109a4&gt;] (do_signal+0xd0/0x434) from [&lt;c0010ea4&gt;] (do_work_pending+0xa8/0xb8)
  </code></pre>
  
  <p>[] (do_work_pending+0xa8/0xb8) from [] (work_pending+0xc/0x20)</p>