https://github.com/nodeos/nodeos-raspberrypi
Raspberry Pi Build of NodeOS
https://github.com/nodeos/nodeos-raspberrypi
Last synced: 5 months ago
JSON representation
Raspberry Pi Build of NodeOS
- Host: GitHub
- URL: https://github.com/nodeos/nodeos-raspberrypi
- Owner: NodeOS
- Created: 2013-11-12T05:38:52.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-12T05:54:02.000Z (about 12 years ago)
- Last Synced: 2025-01-16T08:28:15.666Z (about 1 year ago)
- Size: 105 KB
- Stars: 31
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raspberry Pi and NodeOS
## Developing with QEMU and VirtualBox
For development on MacOS X, it can make sense to use Virtualbox and QEMU.
- QEMU to run the `arm` emulation
- Virtualbox to run Ubuntu or another distro that can edit `ext4` partitions
### VirtualBox
Download a base image `RaspiNodeOS.img` and link it to your VirtualBox Ubuntu instance:
```
VBoxManage internalcommands createrawvmdk -filename nodeos.vmdk -rawdisk RaspiNodeOS.img
```
In the VirutalBox settings panel for your instance, attach the `nodeos.vmdk` image as a new disk.
The disk should appear as `/dev/sdb`:
- `/dev/sdb1` should be the `/boot` parition
- `/dev/sdb2` should be your main `ext4` partition housing the NodeOS build
Edit to your hearts content! Don't foreget to unmount before booting QEMU.
### QEMU
Follow the setup isntructions from [Emulating Raspberry Pi the easy way][1].
Note that you *must* download a linux kernel image to boot the instance.
The following *should* boot your system:
```
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 rootfstype=ext4 init=/nodeos/root/bin/init BOOT=1 HOME=/nodeos/root PATH=/nodeos/root/bin:/nodeos/bin npkg start nodeos-knockout" -hda RaspiNodeOS.img
```
[1]: http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/