RasPiArduino
RasPiArduino copied to clipboard
Compile for QEMU
trafficstars
How can I compile for a QEMU instance of RaspberryPi (for testing purposes)? Using emulation method described here: https://github.com/dhruvvyas90/qemu-rpi-kernel
pi@raspberrypi:~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 582.45
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : ARM-Versatile (Device Tree Support)
Revision : 0000
Serial : 0000000000000000
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.50+ #1 Tue Nov 26 01:49:16 CET 2019 armv6l GNU/Linux
pi@raspberrypi:~ $ sudo ./test.ino.bplus.bin
UNKNOWN_REVISION: 0x00000000, MODEL: 0xFFFFFFFF