This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
designs:software:development [2015/10/20 13:52] mikealdred |
designs:software:development [2015/10/20 17:09] mikealdred |
||
---|---|---|---|
Line 3: | Line 3: | ||
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''. These tools are composed as follows: | + | These can be found under the ''build-tools''. |
+ | |||
+ | ==== Needed Packages ==== | ||
+ | On Debian/Ubuntu: ''sudo apt-get install git qemu-system-arm'' | ||
===== Emulation ===== | ===== Emulation ===== | ||
Line 12: | Line 15: | ||
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. | 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. | ||
+ | ===== 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. |