Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m0rf30/simonpi
A quick & dirty script to emulate Raspberry PI family devices on your laptop.
https://github.com/m0rf30/simonpi
aarch32 aarch64 archlinux armv6 armv7 armv8 docker emulation ovmf-arm qemu qemu-kernel raspberry-pi rpi sdcard simonpi uefi-boot virtio
Last synced: 11 days ago
JSON representation
A quick & dirty script to emulate Raspberry PI family devices on your laptop.
- Host: GitHub
- URL: https://github.com/m0rf30/simonpi
- Owner: M0Rf30
- License: gpl-3.0
- Created: 2017-10-24T16:16:05.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T12:01:12.000Z (3 months ago)
- Last Synced: 2025-01-16T12:34:22.995Z (19 days ago)
- Topics: aarch32, aarch64, archlinux, armv6, armv7, armv8, docker, emulation, ovmf-arm, qemu, qemu-kernel, raspberry-pi, rpi, sdcard, simonpi, uefi-boot, virtio
- Language: Shell
- Homepage: https://m0rf30.github.io/simonpi
- Size: 43.9 KB
- Stars: 67
- Watchers: 8
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimOnPI
![simonpi-logo](./images/logo.png)
## Description
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.### Some features
- Preliminary support for custom images generated by third parties, adopting the classic Raspberry Pi partition table.
- Use OVMF UEFI images for rpi-2, rpi-3 & rpi-4
- Almost full KVM acceleration for aarch64
- Latest stable Linux kernels for every supported platform
- Basic Networking support
- Docker image and example docker-compose file for quick deploy
- SSH guest accessPowered with :heart: by Arch Linux Arm images
## Instructions
### Required runtime dependencies
- coreutils
- dnsmasq
- dosfstools
- e2fsprogs
- file
- grep
- iproute2
- iptables
- libarchive
- procps-ng
- qemu-arch-extra
- sudo
- util-linux
- curl### From sources
1. Download the sources and go into the simonpi directory
`git clone https://github.com/M0Rf30/simonpi.git`
`cd simonpi`
2. Set permissions for QEMU bridge interface
`sudo echo "allow rasp-br0 >> /etc/qemu/bridge.conf`
3. Download the required EDK2-AVMF images:
and place them respectively in the follow path:
/usr/share/edk2-armvirt/aarch64/QEMU_EFI.fd
4. Type:
`./simonpi -h for details`
and follow the help guidelines
### For Arch Linux users
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!
### Docker image
See the **How to** into **docker** folder
## Deployment
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:
- rpi
- rpi-2
- rpi-3
- rpi-4 and theorically next upgrades
and X could be mmcblk0 or other block devices## PR
- Fork it
- Modify it
- TEST it
- Do a Pull RequestAny suggestions are welcome
## Used Kernels
Take a look [here](https://github.com/M0Rf30/qemu-kernels-rpi) for adopted Kernel images: