I am trying to build a linux image for raspberrypi3 with buildroot and run it on qemu.
Once the make
process is done i can copy the sdcard.img file into a SD card and correctly run the OS on a real raspberry pi device without any issue.
but when i try to use the same image file and try to run it on qemu the bootup fails.
- qemu-system-aarch64 -M raspi3 -kernel zImage -dtb generated dtb -sd generated .img => qemu window opens but blank. nothing on the terminal as well.
- qemu-system-arm -M raspi2 -kernel zImage -dtb generated dtb -sd generated .img
=> qemu window opens. raspberry image appears on top left corner. but in the teminal window there is a kernel panic.
VFS mount failed
- same as 1st step but with a freshly compiled qemu from source => same as 1st step. nothing on the qemu window or in the terminal.
am i doing something wrong?