QEMU virtual machines can play Raspberry Pi, as we all know. But the online tutorial is very old, all 2012. I downloaded the latest version of the Raspberry Pi system according to the tutorial how can not run up.
Study for a long time, finally found a simple method, deliberately shared out. Reprint please note the source. If can help you solve the big problem, please give me a message to encourage. Thank you.
The source of this article: http://www.cnblogs.com/chengchen/p/6751420.html
1. Download the latest version of Qemu http://www.qemu.org/on the website The version I used was April 20, 2017 v2.9.0
2. Download the latest Raspberry Pi system on the website http://downloads.raspberrypi.org/raspbian/images/The version I used is raspbian-2017-04-10, and after decompression, copy to the installation root of QEMU.
3. Download the latest release on the GitHub Web site, Https://github.com/dhruvvyas90/qemu-rpi-kernel I'm using Kernel-qemu-4.4.34-jessie. Then be sure to note that changing this file name to Kernel-qemu does not have an extension. Then copy the file to the installation root of QEMU.
4. Create a new bat batch file in the QEMU installation root directory and enter the following command.
Qemu-system-arm.exe-m versatilepb-cpu arm1176-hda 2017-04-10-raspbian-jessie.img -kernel kernel-qemu-m 256- Append "Root=/dev/sda2"
Note that in bold, you need to replace the image file name of the Raspberry Pi system you downloaded.
Run this bat batch file, you can successfully simulate, simple.
This method currently supports the April 20, 2017 Raspberry Pi system. If the future is not supported, then please download GitHub on the compilation Kernel-qemu on the source code, you can modify and compile one yourself. I didn't study how to compile this thing. If you can not use it in the future, and you happen to see this article, please share a copy of the newly compiled kernel-qemu to me, then thank you very much. Cicistudio@qq.com