Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [qemu]

QEMU (short for "Quick EMUlator") is a free and open-source hosted virtual machine monitor that performs hardware virtualization.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Booting a raspberry pi disk image using qemu without an external kernel?

Back in the day, qemu didn't have actual support for the raspberry pi, so while it was possible to boot a raspberry pi disk image in a virtual environment, it required a special kernel. Since then, ...
larsks's user avatar
  • 653
1 vote
0 answers
56 views

How to emulate Raspberry Pi in 2024

I followed roughly this tutorial: https://www.ravbug.com/tutorials/virtual-rpi/ I used the versatilepb approach and tried to move to bullseye and replaced the Variables of the script accordingly: #!/...
MaKaNu's user avatar
  • 111
1 vote
1 answer
2k views

Virtualization of Raspberry Pi OS 64-bit arm64 on M1 (arm64) Macbooks

I was wondering whether it was possible to virtualize Raspberry Pi OS Lite Bullseye 64-bit arm64 on an M1 Macbook pro. I've downloaded the '.img' file from the official source and tried to load it ...
Daemonique's user avatar
0 votes
0 answers
59 views

How is it made that NIC has name eth0 not usb0?

Raspberry Pi network card is internally a USB card. Why then it has name eth0 and not usb0? I need to find a code, which is responsible for this. I am simulating Raspberry Pi with QEMU and having a ...
Dims's user avatar
  • 175
0 votes
0 answers
25 views

How to add ACK and PWR LED support to qemu for Raspberry pi

Raspberry pi ( 2+ board) have two leds ACK and PWR , I am trying to add support for this leds in qemu raspi machine , but I am not able to understand How is these pins are controlled in the hardware ...
nodejs's user avatar
  • 1
-1 votes
1 answer
132 views

Prebuilt VM with Raspbian installed

I want to port some of my apps to Rasberry (Arm CPU), and am looking for the easiest way to get there. My apps are C++ & Qt5 based. I've read about cross compiling (looks like lots of headaches), ...
TSG's user avatar
  • 107
3 votes
0 answers
272 views

Improving file system performance on emulated Raspberry Pi

I am emulating a Raspberry Pi 3B running the latest Raspberry Pi OS Lite on qemu-system-arch64 but the file I/O speed is woefully slow. This is my QEMU command, for starting my virtual machine. sudo ...
jshbrntt's user avatar
  • 131
1 vote
1 answer
2k views

Unable to login in QEMU Raspberry Pi 3B

I am trying to emulate a Raspberry Pi 3B using QEMU 7 with the following options: qemu-system-aarch64 \ -M raspi3b \ -cpu cortex-a53 \ -append "ttyAMA0,115200 kgdboc=ttyAMA0,115200 ...
AQUATH's user avatar
  • 11
0 votes
1 answer
816 views

No video output running on QEMU

I have been trying to set up a RPi 3b emulation on QEMU for testing software related to the framebuffer, and have got it working including networking, but not video. Doing ls /dev/, I can't find the ...
rubemnobre's user avatar
0 votes
0 answers
129 views

raspi3 qemu wont reboot

I finally got raspian to boot in quem by following these instructions. https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emulation The only problem is that I can't figure out how to ...
bob mcgrath's user avatar
0 votes
0 answers
231 views

How to Install Canon LBP6000 Printer Driver on QEMU?

Canon Printers and CUPS: ARM drivers availabile? Platform: Raspbian Stretch I tried the link above but couldn't get it to work.In the driver guide it says I need to install some packages. # yum ...
a.gulcan's user avatar
0 votes
1 answer
225 views

Checkinstall fails to package QEMU to a deb

I compiled QEMU for my Raspberry pi and want to package it to a deb so I don't need to compile it every time I reflash (it takes a few hours). but every time I run sudo checkinstall I get errors (...
Itai Nelken's user avatar
1 vote
1 answer
1k views

QEMU 5.1, rpi2b, (Arch) and ssh. SSH fails

EDIT: I significantly updated this after applying @Nikita Kipriyanov's answer. As of version 5.1 or 5.01 QEMU now supports RPI2 & 3 and USB. As the network on the RPI is behind USB, I should now ...
bronze51's user avatar
1 vote
1 answer
359 views

Which file in /boot is the initial RAM disk?

In order to emulate a Pi in the Qemu emulator, I will need to identify which (if any) of the files in /boot is the RAM disk, and which is the appropriate kernel. Booting Raspbian however, there is no ...
wudude's user avatar
  • 415
23 votes
4 answers
52k views

How to emulate Raspberry Pi in QEMU?

A few years ago, people were saying they were able to emulate a Raspberry Pi 2 or 3 in QEMU. However as of late 2020, I am unable to do so. Can anyone let me know what the correct command line ...
wudude's user avatar
  • 415
1 vote
1 answer
548 views

How would one emulate a Raspberry Pi guest on a Raspberry Pi 4b 4GB host?

I have a Raspberry Pi 4b, with 4GB of RAM. I would like to run a Virtual Machine with other Raspberry Pi operating systems as Guest (Ubuntu MATE, LibreELEC, possibly RISC OS). I tried using AQEMU, ...
ProphetZarquon's user avatar
1 vote
2 answers
1k views

Ubuntu 20.04 KVM kernel for Raspberry Pi 4

I would like to deploy a VM from KVM template on Raspberry Pi 4 running Ubuntu server 20.04. The VM will be configured with an emulated x86_64 CPU. Is there a precompiled KVM kernel for it? If not, ...
jwalker's user avatar
  • 11
1 vote
1 answer
530 views

Getting Memory Error while installing tensorflow in raspberry

Memory Error while installing tensorflow in raspberrypi-buster
vimala's user avatar
  • 11
-1 votes
1 answer
311 views

Cannot emulate Raspberry on QEMU

I have a problem when I want to emulate a Raspberry on QEMU. I created a "start.bat" where I put: qemu-system-arm -kernel kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -no-reboot -...
Ayaka's user avatar
  • 1
0 votes
2 answers
2k views

Running x86 Windows app on a Raspberry Pi 3B

I followed this guide to install QEMU in a chroot and I'm able to execute x86 Linux binaries: https://stackoverflow.com/questions/51895452/qemu-debian-x86-on-raspberrypi Next, I tried installing WINE ...
hjf's user avatar
  • 109
1 vote
0 answers
729 views

Why does qemu work with chroot, but not with systemd-nspawn?

Here's how I installed qemu/the system: sudo apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap binutils systemd-nspawn systemd-container #All deps debootstrap --foreign --...
SuperPizz's user avatar
0 votes
0 answers
846 views

Raspberry PI emulator for windows with QEMU

I am trying to follow this youtube video setting up PI emulator on my windows 10 machine. I am getting the following error : D:\2019-09-26-raspbian-buster-full>qemu-system-arm -kernel kernel-qemu-...
Pranav Vyas's user avatar
0 votes
0 answers
231 views

QEMU emulator window is not showing up

I am trying to run custom kernel on QEMU emulator version 2.11.0. Compilation done successfully but QEMU emulation window is not showing up. Should I use different QEMU emulator version? I am on ...
Chetan C's user avatar
0 votes
1 answer
362 views

Why isn't it possible to run a 32-bit kernel on QEMU's raspi3 machine?

I've been using QEMU for a few years now, and I know that when using raspi3 machine (in QEMU >= 3.x), you can't run a 32-bit kernel on it. You have to use raspi2 machine. However, Cortex-A53 is ...
Benjamin Barrois's user avatar
2 votes
0 answers
695 views

Emulating Raspberry Pi with GUI on QEMU / Virtual box in Ubuntu with RAM > 256Mb

I am searching for documentation on emulating Raspberry Pi with GUI on QEMU in Ubuntu with RAM size about 1Gb. Most articles I found from google are either emulating 256Mb rpi with jessie or in the ...
nayab's user avatar
  • 121
0 votes
0 answers
2k views

How to fix qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault

I don't know if this is a Noob question, and if it is I'm sorry. But can anyone tell me how to fix qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault I get this ...
user avatar
3 votes
2 answers
9k views

Running raspbian buster with qemu

I am trying to follow the instructions under https://github.com/wimvanderbauwhede/limited-systems/wiki/Debian-%22buster%22-for-Raspberry-Pi-3-on-QEMU to have buster start in qemu. However, none of the ...
Alex's user avatar
  • 131
-1 votes
1 answer
2k views

Buildroot problem "modprobe: can't change directory to '4.4.34+'"

I am trying to build a working embedded system for Raspberry Pi Zero W with Buildroot. I'm testing it in QEMU for now. The system boots OK from sdcard.img, but the wifi drivers will not load. I am ...
Jeremiah Rose's user avatar
0 votes
0 answers
263 views

Error installing dotNet4.0 on Wine

sorry if the solution is obvious but this is my first time working with Linux. Backstory (just the reason why I do this): I have to code a Programm for school which has to run on a Raspberry Pi and I ...
ItzCLiMB's user avatar
2 votes
0 answers
848 views

Emulating Raspbian With Qemu in Arch linux

I'm trying to emulate RaspbianOS on my Arch Linux host using qemu-system-arm. and I have run into some problems. The emulation works fine using the machine versatilepb but when invoking qemu-system-...
Iduoad's user avatar
  • 121
8 votes
4 answers
10k views

Emulate Raspberry Pi zero W with Qemu failed due to missing dtb

I am trying to emulate a Raspberry Pi zero W with Qemu based on an image I used on a real Raspberry Pi zero W. The command I am using is: sudo qemu-system-arm \ ...
GuillaumeB's user avatar
0 votes
0 answers
222 views

How to get QEMU/RPi emulator to work for first time in Windows

On my Windows machine, I have QEMU and RPI emulation working successfully. I also have the code I grabbed off an SD card from a working Raspberry Pi. How do I now execute this code within my ...
Chris's user avatar
  • 1
1 vote
0 answers
950 views

Raspberry pi emulator for windows

i found a web article for configure raspberry pi emulator for windows, but i couldn't able to bookmark the page. But i have these tools and any one can tell me how to configure raspberry pi emulator ...
PL_Pathum's user avatar
  • 111
2 votes
1 answer
436 views

Problems making a distribution for the raspberry using buildroot

I'm trying to use buildroot to build a minimalist distribution targeted to the raspberry pi. I'm following a guide that was provided to me in a class, in my university. During that class I followed ...
msantos's user avatar
  • 21
1 vote
0 answers
333 views

What kernel file to use for piCore 9 on qemu?

Trying to load qemu with the good old "kernel-qemu" file results in a sync error. qemu-system-arm -M versatilepb -cpu arm1176 -hda piCore-9.0.3.img -kernel kernel-qemu -m 256 -append "root=/dev/sda2" ...
Sparkler's user avatar
  • 131
3 votes
2 answers
3k views

Run Armbian in QEMU

Has anyone runned Armbian in QEMU? What is the command to run it? From where to get kernel and which version? Which version of Armbian to use?
pbies's user avatar
  • 298
1 vote
0 answers
119 views

QEMU wrapper script for labelprinter driver not working

I am trying to get a i386 raster binary for CUPS to work on a Raspberry Pi 3b. The driver is shipped with a 32bit raster script called rastertort58_80 This file is placed in /usr/lib/cups/filter, but ...
Bob Malcolm's user avatar
-1 votes
1 answer
3k views

raspbian does not boot on QEMU

I am trying to emulate raspbian on windows 10 64 bit. My start.bat is qemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/...
R.Imran's user avatar
2 votes
0 answers
1k views

How to get the network / usb interfaces in qemu

I am trying to run Jessy minimal in Qemu 2.9.0 This is the command qemu-system-arm -M raspi2 -kernel rasp-boot/kernel7.img \ -sd 2017-07-05-raspbian-jessie-lite.img \ -append "rw earlyprintk loglevel=...
Rodney's user avatar
  • 121
0 votes
1 answer
439 views

QEMU Raspbian on OSX - no network?

I've managed to get QEMU Raspbian running on OS X but I can't figure out how to get networking to work. I've seen details if configuring TAP network interface but this was on an Ubuntu host. Is there ...
Cliff's user avatar
  • 101
0 votes
1 answer
1k views

Qemu Raspberry Pi to Windows file transfer PUTTY

Im logged in through putty for an ssh with the raspberry pi qemu on windows. I want to get the .tgz file from the qemu to my windows so i can submit the file as my homework but i dont know how to save ...
Clueless's user avatar
1 vote
0 answers
1k views

Mathematica requires activation key for a Raspbian (jessie) session on Qemu

First off, sorry if this is not the most suitable forum to post this question. I downloaded a Raspbian "jessie" image to run on Linux with qemu. I'm chiefly interested in Mathematica and raspbian-...
Fausto Arinos Barbuto's user avatar
1 vote
1 answer
1k views

Problem in booting an u-boot image for raspberry pi 2 on QEMU

Needed some help in running u-boot on qemu emulating Raspberry pi 2. I came across qemu supporting emulation of Raspbeerry pi 2 (raspi2 machine in qemu). I thought of giving it a try by running u-boot ...
pradeepmcp's user avatar
2 votes
0 answers
297 views

Options for building docker images for pi 3 on amd64?

I've got a Raspberry Pi 3 running Raspbian with Docker in a headless setup just fine. I've been building an application with docker-compose directly on the Pi, and while that's working just fine, it's ...
ckingdev's user avatar
2 votes
1 answer
1k views

Getting Sound with Qemu and Raspbian

I successfully set up a current Raspbian (Jessy) with Qemu. But I really need a soundcard. I'm not sure, if the Sound Chip of the Pi is supported by Qemu? To boot I use the Kernel from https://github....
s.meissner's user avatar
5 votes
1 answer
4k views

Is it possible to get the state of the LEDs and GPIOs in a QEMU emulation like the HDMI and audio?

I've gotten QEMU emulation working with: Emulation on a Linux PC On that Linux based example, I can see the HDMI output on a window, and hear sounds from the speaker. Now I started playing with bare ...
Ciro Santilli OurBigBook.com's user avatar
4 votes
2 answers
2k views

How much connection speed can I except using Pi 3 in this setup?

I bought the following product to get good internet in my room: AWUS036ACH 802.11ac AC1200 Wide Range USB 3.0 Wireless Adapter with External Antenna I'm planning to buy a Pi 3 to use this wireless ...
Yuri Borges's user avatar
-1 votes
1 answer
277 views

can PiNet provide other distibutions than Raspbian?

i'm aware that usual Ubuntu is recommended for the PiNet-server and Raspbian is served to the clients (Raspberry Pi's), but since PiNet is something like an "advanced fat client solution" of Terminal ...
DJCrashdummy's user avatar
11 votes
1 answer
21k views

How Can I Emulate An x86 CPU on a Raspberry Pi with Qemu?

NOTE: I am aware that this question has been asked before HERE, but after having followed that question step by step, troubleshooted on my own and having done plenty of research on the internet to try ...
HyperCell's user avatar
  • 111
7 votes
2 answers
8k views

How to emulate raspberry pi 2 on Ubuntu 14.04 PC?

Here I got an image of Raspberry Pi (re-designed). Let's call it pi2-16gb.img Emulate ARM Raspberry Pi 2 model B v1.1 on a Ubuntu PC Now I want to emulate it before inserting it to a Pi 2 physically....
dotslash's user avatar
  • 179