{"id":19816910,"url":"https://github.com/rvm/myarm","last_synced_at":"2025-02-28T14:59:41.955Z","repository":{"id":66021990,"uuid":"11190895","full_name":"rvm/myarm","owner":"rvm","description":"Manage Rasperry Pi emulation with QEMU","archived":false,"fork":false,"pushed_at":"2013-07-05T06:36:37.000Z","size":132,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-02-24T23:58:57.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvm.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}},"created_at":"2013-07-05T03:27:54.000Z","updated_at":"2021-10-29T02:00:25.000Z","dependencies_parsed_at":"2023-02-19T21:20:30.415Z","dependency_job_id":null,"html_url":"https://github.com/rvm/myarm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvm%2Fmyarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvm%2Fmyarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvm%2Fmyarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvm%2Fmyarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvm","download_url":"https://codeload.github.com/rvm/myarm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241170256,"owners_count":19921572,"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":[],"created_at":"2024-11-12T10:11:02.577Z","updated_at":"2025-02-28T14:59:41.936Z","avatar_url":"https://github.com/rvm.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# myarm\n\nManage Rasperry Pi emulation with QEMU\n\n## Installation\n\nTwo basic ways of installation are available,\nin both cases make sure to use directory available via `$PATH`.\n\n1. Download the script to `~/bin`:\n\n        curl -L https://raw.github.com/mpapis/myarm/master/bin/myarm -o ~/bin/myarm\n        chmod +x ~/bin/myarm\n\n    To update repeat the steps.\n\n2. Clone repository and link script to `~/bin`:\n\n        mkdir -p ~/projects\n        git clone https://github.com/mpapis/myarm.git ~/projects/myarm\n        ln -s ~/projects/myarm/bin/myarm ~/bin/myarm\n\n    To update:\n\n        cd ~/projects/myarm\n        git pull\n\nThe second option is useful in development when changing the script.\n\n## Usage\n\n### Prepare\n\nCreate a new virtual machine based on Rasperry Pi image:\n\n    myarm prepare [URL [name]]\n\n- `URL`  - url to online image from http://downloads.raspberrypi.org/images/raspbian/\n- `name` - name of the virtual machine directory\n\nBoth can be omitted and will b auto detected,\nuse `\"\"`(empty string) for `URL` if only `name` is important.\n\n### Start\n\nFew ways of starting are available:\n\n    myarm start [ssh|gui|console]\n\n- `ssh` - start in backgroud, wait for ssh and connect,\n- `gui` - start in background with the GUI open to the machine,\n- `console` - start in forground with open console to the server.\n- with no parameter will just start in background,\n  you need to wait a bit for the machine to boot, it can take even few minutes.\n\n### Stop\n\nStop the running virtual machine:\n\n    myarm stop\n\n### Status\n\nShow if the virtual machine is running, returns nonzero status if it's not running:\n\n    myarm status\n\n### SSH\n\nAllow connecting to the virtual machine:\n\n    myarm ssh\n\n### SCP\n\nAllow upload / download of files:\n\n    myarm scp ...\n\nUse like standard `scp`, use `pi@localhost` for the virtual machine\n\n## Configuration files\n\nStandard virtual machine is a directory with file `.myarm` which contains:\n\n    IMAGE=path_to_image.img\n    PORT=forward_port\n    CPU=arm_cpu\n    RAM=machine_ram\n\nOnly `IMAGE` is required, for rest defaults will be used if not set:\n\n    PORT=\"5022\"\n    CPU=\"arm1176\"\n    RAM=\"256\"\n\nList of available CPUs can be checked with `qemu-system-arm -cpu help`,\nonly `arm1136-r2`, `arm1176`, `arm11mpcore` were tested with `myarm`,\nother CPUs might not work.\n\n## Reporting problems\n\nhttps://github.com/mpapis/myarm/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvm%2Fmyarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvm%2Fmyarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvm%2Fmyarm/lists"}