People who code: we want your input. Take the Survey

Questions tagged [emulation]

The tag has no usage guidance.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
379 views

Is there a way to emulate HCI (Bluetooth) device on linux?

I'm working with a Bluetooth LE device in my project and I want to test bluetooth-related host code without having an actual Bluetooth device. Currently, I have a Linux machine with BT dongle as a ...
3
votes
0answers
353 views

Cross-arch Docker container will stop emulation

I'm trying to build a portable cross-arch Docker container using QEMU. However, depending on the host system and the programs installed on the host the container behaves differently. Running the ...
2
votes
1answer
48 views

Unix Version 7 'learn' command (CAI) - additional configuration necessary?

I'm going through the 'Unix Programming Environment' classic by Kernighan and Pike. I discovered there was a very interesting command written by Kernighan and someone else called learn for computer ...
2
votes
0answers
791 views

Emulate Bluetooth LE Adapter for Acceptance Testing

I'm developing an Android app that captures Bluetooth LE signals and I'm a big fan of test driven and behaviour driven development. So, I want to develop my app by using TDD and BDD. When it comes to ...
2
votes
1answer
925 views

Can “grub-emu” make any changes to my system?

Can "grub-emu" make any changes to my system? I understand that the command "grub-emu" opens a GRUB emulator. However, since it loads the configuration files used by the "real" GRUB, I am a little ...
1
vote
0answers
405 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 -...
1
vote
0answers
111 views

Ubuntu 16.04: How to get libx86emu x86emu-demo to work?

Does anyone know how to get libx86emu x86emu-demo to work? https://github.com/wfeldt/libx86emu Test.bin 00000000 55 8B EC 51 C7 45 FC 00 00 00 00 8B 45 FC 50 E8 00000010 09 00 00 00 83 C4 04 33 ...
1
vote
0answers
60 views

type string as if it were a keyboard

I have a bunch of unicode symbols in a file and a script to select and copy one of them (dmenuunicode script in this repository which I've forked). But instead pasting them I would like to save one ...
1
vote
0answers
95 views

Problems Building Debian Wheezy Inside User Mode Linux

I am building a Debian virtual machine inside UML, but it is hanging. Here is my shell script for the construction: #!/bin/bash # Let's make sure we're updated printf "\nUpdating...\n" apt update ...
1
vote
0answers
365 views

problem with qemu emulation, “black window!!”

I am running Ubuntu 16.04 x86, a kernel linux-4.9 and I followed this tutorial and everything works perfectly, but when I run qemu with: qemu-system-arm -m vexpress -a9 \ -kernel linux-4.9/arch/arm/...
1
vote
0answers
30 views

Unitary testing: emulating hardware connection or disconnection

I'm writing a program using libudev. And I want to write some tests. But, one of the functionalities of the program has to do with an usb drive being connected or disconnected. I've read plenty of ...
0
votes
0answers
18 views

Difference between “kernel image” and “disk image”

I'm trying to boot Ubuntu on the gem5 simulator. The gem5 simulator expects 2 binaries to boot from: a "disk image" and a "kernel image". When I've booted Linux with QEMU or ...
0
votes
0answers
37 views

DosBox - no files in directory

Why does DosBox not see any files in the directory, please?
0
votes
0answers
17 views

Tricky emulation of custom kernel image using QEMU

thank you for viewing this question. I have an SD image which contains 4 partitions: U-boot and sys volume info Only contains sys volume info Empty Root file system After running file at the U-boot ...
0
votes
0answers
26 views

How do I emulate a firmware image using qemu

I have a firmware image for which I want to create an emulator using qemu. When I extract the firmware image using binwalk, I get a file system, and it also contains a kernel zImage. How do I go about ...
0
votes
0answers
7 views

Genymotion don't start, because of network problems

I use Genymotion on Ubuntu to emulate an Android. I use it every day to get a Token to connect to my company's network using the 2FA app. This works without problems, when I start genymotion for the ...
0
votes
1answer
58 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
0answers
42 views

How to emulate linux within linux without virtual machine

How to create clean, isolated enviroment within linux without installing virtual machine or donwloading iso file. Is it possible?
0
votes
0answers
624 views

Simulating UVC webcam from v4l2loopback stream

Is there any way to emulate a USB camera device (UVC) from my v4l2loopback stream at /dev/video0, so my linux can recognize it as a real USB device?
0
votes
0answers
163 views

Bochs TUN/TAP setup

I'm trying to set up a network with Bochs using TUN/TAP within Win98 on a Linux machine. Here are some of my settings (in Windows 98): IP Address Specify IP address IP Address: 192.168.1.2 Subnet ...
0
votes
1answer
143 views

How to set up TAP to bridge Ethernet and emulator?

I'm looking to set up an emulator so that its emulated Ethernet interface acts like a real one connected to my LAN. For this example, I'm going to use the address 192.168.120.6 for the Linux host on ...