{"id":18863912,"url":"https://github.com/jwarwick/nerves-vagrant","last_synced_at":"2026-02-11T04:30:19.117Z","repository":{"id":17814352,"uuid":"20709769","full_name":"jwarwick/nerves-vagrant","owner":"jwarwick","description":"A Vagrant configuration to run the Nerves embedded Erlang environment","archived":false,"fork":false,"pushed_at":"2015-11-23T21:41:46.000Z","size":881,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T21:26:40.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwarwick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-11T02:46:50.000Z","updated_at":"2015-11-23T18:45:54.000Z","dependencies_parsed_at":"2022-09-05T18:12:32.057Z","dependency_job_id":null,"html_url":"https://github.com/jwarwick/nerves-vagrant","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/jwarwick%2Fnerves-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Fnerves-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Fnerves-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Fnerves-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwarwick","download_url":"https://codeload.github.com/jwarwick/nerves-vagrant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808523,"owners_count":19700451,"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-08T04:39:03.581Z","updated_at":"2026-02-11T04:30:19.049Z","avatar_url":"https://github.com/jwarwick.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nerves-Vagrant Setup\n\nThis project contains a Vagrant/VirtualBox setup to build the Nerves Project (http://nerves-project.org/ https://github.com/nerves-project/nerves-sdk),\nan embedded Erlang environment for the BeagleBone and Raspberry Pi.\n\n## Installation\n\nTo install VirtualBox and Vagrant using homebrew (http://brew.sh/) :\n```\nbrew tap caskroom/cask\nbrew update\nbrew install brew-cask\nbrew cask install virtualbox\nbrew cask install vagrant\n```\n\n## Description\n\nThe VagrantFile describes the VM setup (important to increase the default memory size and use the specified version\nof Ubuntu - newer versions don't appear to have the correct libraries available). The `nerves-bootstrap.sh` file is\nrun when the vagrant environment is initially started with `vagrant up` or by running `vagrant provision`. It will\ndownload the Nerves project and build an image for the Raspberry Pi.\n\nIf you are using a Raspberry Pi 2, before running `vagrant up` for the first time, edit file `nerves_bootstrap.sh` and replace `nerves_rpi_defconfig` with `nerves_rpi2_defconfig`.  You can choose other configurations as you wish.  See [nerves-sdk repo](https://github.com/nerves-project/nerves-sdk) for a list of them.\n\nThe default Raspberry Pi setup makes the HDMI output the console. To make the debug console be the default output,\nssh to the image and modify the file `~/nerves-sdk/board/nerves-common/rootfs-additions/etc/erlinit.config` and run `make` again.\n\nFor info on connecting to the Raspberry Pi via the USB console cable, see: https://learn.adafruit.com/downloads/pdf/adafruits-raspberry-pi-lesson-5-using-a-console-cable.pdf\nYou will need the appropriate USB-serial driver from here: http://sourceforge.net/projects/osx-pl2303/\n\nWhen finished, run `vagrant ssh` to connect to the VM. Then run:\n```\ncp nerves-sdk/buildroot/output/images/nerves-rpi-base.img /vagrant/\n```\nTo copy the SD card image back to the host machine (the `/vagrant` directory is mapped back to the directory of the\nVagrantFile on the host machine).\n\nOn the host machine (MacOS X), insert the SD card and run the following commands:\n```\ndiskutil list\n# note the /dev/disk# of the SD card\ndiskutil unmountDisk /dev/disk#\nsudo dd if=nerves-rpi-base.img of=/dev/rdisk# bs=1m\n```\n\nInsert the SD card into the Raspberry Pi, then run:\n```\n# where the values after PL2303- will be machine specific\nscreen /dev/cu.PL2303-000014FA 115200\n```\nTo connect via screen to the console of the Raspberry Pi. The default nerves-minimal image will provide you with\nan Erlang console.\n\nSD card creation instructions from: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_card_using_Mac_OSX\nSee the section: _Using command line tools (1)_\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwarwick%2Fnerves-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwarwick%2Fnerves-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwarwick%2Fnerves-vagrant/lists"}