{"id":17043635,"url":"https://github.com/m0rf30/simonpi","last_synced_at":"2025-04-10T05:08:57.902Z","repository":{"id":139465655,"uuid":"108152580","full_name":"M0Rf30/simonpi","owner":"M0Rf30","description":"A quick \u0026 dirty script to emulate Raspberry PI family devices on your laptop.","archived":false,"fork":false,"pushed_at":"2024-10-30T12:01:12.000Z","size":45,"stargazers_count":67,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-10T05:08:53.989Z","etag":null,"topics":["aarch32","aarch64","archlinux","armv6","armv7","armv8","docker","emulation","ovmf-arm","qemu","qemu-kernel","raspberry-pi","rpi","sdcard","simonpi","uefi-boot","virtio"],"latest_commit_sha":null,"homepage":"https://m0rf30.github.io/simonpi","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/M0Rf30.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-24T16:16:05.000Z","updated_at":"2024-11-05T08:55:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c9e52e6-8102-4385-b310-ee23f3eae9de","html_url":"https://github.com/M0Rf30/simonpi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M0Rf30%2Fsimonpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M0Rf30%2Fsimonpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M0Rf30%2Fsimonpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M0Rf30%2Fsimonpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M0Rf30","download_url":"https://codeload.github.com/M0Rf30/simonpi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161269,"owners_count":21057555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aarch32","aarch64","archlinux","armv6","armv7","armv8","docker","emulation","ovmf-arm","qemu","qemu-kernel","raspberry-pi","rpi","sdcard","simonpi","uefi-boot","virtio"],"created_at":"2024-10-14T09:30:04.530Z","updated_at":"2025-04-10T05:08:57.874Z","avatar_url":"https://github.com/M0Rf30.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimOnPI\n\n![simonpi-logo](./images/logo.png)\n\n## Description\n\nA quick \u0026 dirty script to emulate Raspberry family devices on your laptop.\nIt generates a valid sdcard image that can be deployed on real hardware and used as virtual storage for QEMU.\n\n### Some features\n\n- Preliminary support for custom images generated by third parties, adopting the classic Raspberry Pi partition table.\n- Use OVMF UEFI images for rpi-2, rpi-3 \u0026 rpi-4\n- Almost full KVM acceleration for aarch64\n- Latest stable Linux kernels for every supported platform\n- Basic Networking support\n- Docker image and example docker-compose file for quick deploy\n- SSH guest access\n\nPowered with :heart: by Arch Linux Arm images\n\n## Instructions\n\n### Required runtime dependencies\n\n- coreutils\n- dnsmasq\n- dosfstools\n- e2fsprogs\n- file\n- grep\n- iproute2\n- iptables\n- libarchive\n- procps-ng\n- qemu-arch-extra\n- sudo\n- util-linux\n- curl\n\n### From sources\n\n1. Download the sources and go into the simonpi directory\n\n   `git clone https://github.com/M0Rf30/simonpi.git`\n\n   `cd simonpi`\n\n2. Set permissions for QEMU bridge interface\n\n   `sudo echo \"allow rasp-br0 \u003e\u003e /etc/qemu/bridge.conf`\n\n3. Download the required EDK2-AVMF images:\n\n   and place them respectively in the follow path:\n\n   /usr/share/edk2-armvirt/aarch64/QEMU_EFI.fd\n\n4. Type:\n\n   `./simonpi -h for details`\n\nand follow the help guidelines\n\n### For Arch Linux users\n\nYou can find sim-on-pi on AUR\n\nType:\n\n`yaourt -S simonpi`\n\nor\n\n`yaourt -S simonpi-git`\n\nfor latest development changes\n\nand that's all!\n\n### Docker image\n\nSee the **How to** into **docker** folder\n\n## Deployment\n\nAll the assets (disk images, downloaded archives..) are saved in\n`~/.simonpi` by default.\n\nYou can transfer your sd img on a valid sdcard using programs like Etcher or this simple command:\n\n`dd if=sd-arch-MODEL-qemu.img of=/dev/sdX bs=4M`\n\nwhere MODEL could be:\n\n- rpi\n- rpi-2\n- rpi-3\n- rpi-4 and theorically next upgrades\n  and X could be mmcblk0 or other block devices\n\n## PR\n\n- Fork it\n- Modify it\n- TEST it\n- Do a Pull Request\n\nAny suggestions are welcome\n\n## Used Kernels\n\nTake a look [here](https://github.com/M0Rf30/qemu-kernels-rpi) for adopted Kernel images:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0rf30%2Fsimonpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm0rf30%2Fsimonpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0rf30%2Fsimonpi/lists"}