I seem to going round in circles with qemu trying to boot a arm image. Many examples on the net(for a raspberry pi) says something along these lines which should work.
Code:
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 512 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda panic=1" -hda /home/me/2014-06-20-wheezy-raspbian.img -redir tcp:5022::22
but it's not happening for me, qemu either crashes or hangs(I don't know how to display debugging information). If I remove -no-reboot from the above qemu will loop through 'Uncompressing Linux... done, booting the kernel'. I'm guessing it's not booting because of the kernel-qemu image I downloaded from git-hub so I did a search on how to build a arm kernel for qemu and found two options one using busybox and the other using coreboot.
My question is
1- Can I boot a arm image without using kernel-qemu, if I can do you have an example.
2- If I need to build a kernel image what should I use busybox or coreboot, this will be my first attempt at doing something like this.
3- I'm looking for a general and hopefully easy solution to boot any arm image not just for a raspberry pi.
Thanks