Closed guysoft closed 6 years ago
Hi, both kernels are different. In a nutshell, you can't use Rpi kernel from boot partition and use it on qemu out of the box.
I didn't, I used the ones from this repo
Hey, I also have this exact same issue. Downloaded the 3 latest jessie kernels from your repo and all have the same issue.
The command i run: qemu-system-arm -kernel kernel-qemu-4.4.26-jessie -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda work.img -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio
work.img is my own jessie/stretch image that works just fine outside of QEMU.
Is there any other logs you can point me to figure out the issue?
Make sure you configure your image file before running it on qemu. More details can be found on wiki.
Right. Will test it and see. I'll try and make scripts for CustomPiOS so any image you build there you can test on qemu. Note you might want to upgrade the wiki to say "Stretch" now too :)
Done, you can now use qemu_boot.sh script for CustomPiOS
Hey, A little new to this, so I might be doing something newbishly wrong:
When I run this:
I get this:
It actually says "eg trying to run a raspberry pi kernel on a versatilepb QEMU machine", what machine should I use?
(Command taken from: https://gist.github.com/hfreire/5846b7aa4ac9209699ba )