Booting one of your images in Qemu

Hi,

I would be very interested in using Qemu to boot an image built from your tutorials, namely the wandboard tutorial here:
https://www.digikey.com/eewiki/display/linuxonarm/Wandboard#Wandboard-InstallKernelandRootFileSystem

However, when i try to boot qemu with the parameters below, nothing happens.

qemu-system-arm -M virt -m 1024
-kernel vmlinuz-4.15.17-armv7-x1
-drive if=none,file=hda.img,format=raw,id=hd
-device virtio-blk-device,drive=hd
-netdev user,id=mynet
-device virtio-net-device,netdev=mynet
-nographic -no-reboot

Do you guys happen to know how can i produce an image that would be bootable by qemu?

Best Regards,

@SilverOne, did you configure the kernel for the “virt” target?

looking at this list:

https://wiki.qemu.org/Documentation/Platforms/ARM

sabrelite is one of the normal targets that kernel is configured for…

Regards,

1 Like

@RobertCNelson,

I did not configure the Kernel for the “virt” target. Do you happen to know how i can perform this?

I did try to run the sabrelite machine, however qemu crashes with:
qemu-system-arm: Trying to execute code outside RAM or ROM at 0x00018000

Trying to use -kernel and -dtb imx6q-sabrelite.dtb does not work either.

Best Regards,