Documention
https://docs.google.com/presentation/d/1Qtep8PPyMClAV48iFnnn-YatNSPEMukMfMRLN2YmIEs/edit?usp=sharing
Hardware
Part List: http://www.digikey.com/short/qt08d7
Setup
The development environment is contained inside a Linux virtual machine. The contents of the current directory are shared/mounted inside the VM at /vagrant
.
Install VirtualBox 5.1.x (don't use 5.2.x) and Extension Pack
- You can also use libvirt or VMware (with a paid plug-in)
Open Terminal
- Windows: Open a command prompt as Administrator (in order for symlinks in /vagrant to work)
Run vagrant up
- Install Vagrant >= 2.0.1
Build
vagrant ssh -c "cd Supercon-2017-PocketBeagle; ./scripts/build_u-boot.sh"
vagrant ssh -c "cd Supercon-2017-PocketBeagle; ./scripts/build_linux.sh"
- Configure the kernel, then Save, and Exit
Insert a microSD card reader and verify it appears inside the guest VM as sdb
(vagrant ssh -c "dmesg | tail"
)vagrant ssh -c "cd Supercon-2017-PocketBeagle; ./scripts/format_drive.sh"
vagrant ssh -c "cd Supercon-2017-PocketBeagle; ./scripts/install_u-boot.sh"
vagrant ssh -c "cd Supercon-2017-PocketBeagle; ./scripts/install_rootfs.sh"
vagrant ssh -c "cd Supercon-2017-PocketBeagle; ./scripts/install_kernel.sh"
- Do this last so that kernel is installed into the rootfs.
Usage
If needed, you can SSH into the machine using the following command.
vagrant ssh
Robert Nelson
Comments