QEMU virtual machine Play Raspberry Pi latest edition system (as of 2017-04-10)

Source: Internet
Author: User
Tags root directory

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.