A quick & dirty script to emulate Raspberry PI family devices on your laptop.
GPL-3.0 License
A quick & dirty script to emulate Raspberry family devices on your laptop. It generates a valid sdcard image that can be deployed on real hardware and used as virtual storage for QEMU.
Powered with ❤️ by Arch Linux Arm images
Download the sources and go into the simonpi directory
git clone https://github.com/M0Rf30/simonpi.git
cd simonpi
Set permissions for QEMU bridge interface
sudo echo "allow rasp-br0 >> /etc/qemu/bridge.conf
Download the required EDK2-AVMF images:
and place them respectively in the follow path:
/usr/share/edk2-armvirt/aarch64/QEMU_EFI.fd
Type:
./simonpi -h for details
and follow the help guidelines
You can find sim-on-pi on AUR
Type:
yaourt -S simonpi
or
yaourt -S simonpi-git
for latest development changes
and that's all!
See the How to into docker folder
All the assets (disk images, downloaded archives..) are saved in
~/.simonpi
by default.
You can transfer your sd img on a valid sdcard using programs like Etcher or this simple command:
dd if=sd-arch-MODEL-qemu.img of=/dev/sdX bs=4M
where MODEL could be:
Any suggestions are welcome
Take a look here for adopted Kernel images: