title: Booting Custom 64 bit Kernel for RPI 3 on QEMU
body: <p>I have compiled a 64 bit kernel for Raspberry pi 3 to use with raspbian.<br>
  I did it following this tutorial
  <a href="https://devsidestory.com/build-a-64-bit-kernel-for-your-raspberry-pi-3/" rel="nofollow noreferrer">https://devsidestory.com/build-a-64-bit-kernel-for-your-raspberry-pi-3/</a>.</p>
  
  <p>As I finished, I ended up with a raspberry image which supposedly used a 64 bit kernel, and the kernel Image.</p>
  
  <p>However, when I run 
  <br><code>&gt; qemu-system-aarch64 -kernel Image -cpu cortex-a53 -m 512 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda raspbian64.img</code></p>
  
  <p>Nothing happens, its like it cant find the kernel.<br>
  Is there a way to debug QEMU ? Should I use <code>versatiblepb</code> or something else?</p>