User Tools

Site Tools


designs:software:development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
designs:software:development [2015/10/13 15:45]
mikealdred created
designs:software:development [2015/10/20 17:11]
mikealdred [Emulation]
Line 1: Line 1:
 ====== Development Software ====== ====== Development Software ======
  
-To build the software into an image that's usable on the hardware, a collection of scripts and other software is used to try and make the process as automated as possible. ​+To build the software into an image that's usable on the hardware, a collection of scripts and other software is used to try and make the process as automated as possible
 + 
 +These can be found under the ''​build-tools''​. 
 + 
 +==== Needed Packages ==== 
 +On Debian/​Ubuntu:​ ''​sudo apt-get install git qemu-system-arm''​ 
 + 
 +===== Emulation ===== 
 + 
 +To remove the dependency on having a hardware Pi setup, QEMU is used to provide an emulated system. 
 +''​qemu-system-arm''​ must be installed on the system. 
 + 
 +The script ''​start.sh''​ takes the filename of the Raspberry Pi image to boot off. However, since there is no Raspberry Pi emulation available for QEMU, it relies on a kernel being specifically compiled for QEMU to use instead of the Raspberry Pi image kernel. 
 + 
 +''​download_raspbian.sh''​ can be run to get the latest release of Rasbian. 
 +===== Kernel ===== 
 + 
 +This contains the scripts for building the kernel for use with QEMU, cd into the ''​kernel''​ directory and run ''​./​setup.sh build'',​ it will download the toolchain, kernel source, and build the kernel.
designs/software/development.txt · Last modified: 2015/10/20 17:11 by mikealdred