All Questions
Tagged with qemu raspberry-pi
19
questions
-3
votes
1
answer
52
views
trying to run rasberry pi on qemu says -redir invalid option
I am trying to run Rasberry Pi on qemu but it says -redir invalid option.
Here's my command:
qemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial ...
2
votes
1
answer
925
views
Running a Raspberry image with qemu-system-aarch64 having a systemd.run firstrun.sh script gets stuck
I'm trying to emulate a Raspberry Pi (+OS) with Qemu. I'd like the OS to execute a firstrun.sh script on boot to configure various things.
This is how I start qemu:
qemu-system-aarch64 \
-M ...
2
votes
1
answer
497
views
Emulating ARM v8 to run DietPi in qemu for userspace software
I can't seem to get DietPi to boot on a generic ARM 64 bit virt machine in qemu. I'm using the Raspberry Pi ARMv8 64-bit DietPi image (for Raspberry Pi 4).
What am I missing/need to change to get ...
0
votes
1
answer
1k
views
Running Raspberry PI buildroot image in qemu
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 ...
1
vote
0
answers
1k
views
Why does qemu-system-arm hang if dtb and machine are swapped?
I am trying to use qemu-system-arm to emulate an embedded system. I am using Ubuntu 20.04 and installed the backport of QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu6~ppa0). I thought I would ...
2
votes
3
answers
4k
views
Emulate x86 on rasbian
I want to run a Starbound server on my Raspberry Pi running rasbian.
The server is built to run on an x86 architecture, so my goal is to emulate an x86 architecture to run the server.
Edit: box86 does ...
0
votes
1
answer
406
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 (...
0
votes
1
answer
450
views
Raspberry Pi QEMU stuck on emergency mode
so I've been trying to boot up a raspberry pi using qemu but after I put start.bat in and let qemu work for a bit it says
It won't let me enter
My start.bat file has
qemu-system-arm -kernel kernel-...
0
votes
0
answers
236
views
How to pass through USB device to guest VM? What are "hostaddr", "hostport" etc? [duplicate]
I have the following on the host machine
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-...
4
votes
0
answers
2k
views
How to boot Raspberry Pi IMG file on QEMU?
I have an IMG file, which is Raspberry Pi image. Can I boot it in Qemu on windows or linux? I am confused by examples, which say I need not only IMG file, but also a "kernel" file. Can I ...
4
votes
0
answers
1k
views
QEMU kernel for raspberry pi 3 with networking and virtio support
I used the QEMU(qemu-system-aarch64 -M raspi3) for emulating the Raspberry pi3 with the kernel from the working image.
Everything was working but there was no networking.
qemu-system-aarch64 \
-...
2
votes
0
answers
384
views
USB Support in Qemu User Mode Emulation
I have a CLI program compiled for x86_64 for which I have no source code (a firmware programming utility). I would like to run this on a Raspberry Pi.
The program runs fine using Qemu user mode ...
1
vote
0
answers
1k
views
Guest has not initialized the display (yet)
I'm trying to emulate a raspberry pi using an x86 system and qemu.
I'm trying to launch it like:
$ qemu-system-arm -kernel ~/Downloads/kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -...
3
votes
0
answers
979
views
QEMU: How to convert -net flags into -device & -netdev
I'm trying to emulate Raspberry Pi via QEMU and the following works for me:
qemu-system-arm \
-append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \
-boot c \
-cpu arm1176 \
-drive "...
0
votes
0
answers
360
views
"Disk I/O error" when trying to run OS via QEMU on Pi
I am trying to run Windows 98 on QEMU on my Pi using a project I found here: https://www.hackster.io/314reactor/windows-98-wrist-watch-15ecfd . When I run
qemu-system-i386 -localtime -cpu 486 -m 96 -...