-
Notifications
You must be signed in to change notification settings - Fork 23
Build dependencies
I'm using Ubuntu 14.04, and the following packages are required:
You'll need git, to be able to check out the repository:
sudo apt-get install git gitk
Next, you'll need the ARM GCC cross compiler (check it's version 4.7, as there are issues with 4.9):
sudo apt-get install gcc-arm-none-eabi
Finally, we use cmake to manage the make files:
sudo apt-get install cmake
Next: Running cmake
TODO:
You will need git, cmake, and version 4.7 of gcc-arm-none-eabi. You already have git, although it might be an old version. For cmake, assuming you are using MacPorts, install with
sudo port install cmake
You will need to download version 4.7 of gcc-arm-none-eabi from elsewhere, for example launchpad.net. Let's assume you get this:
ls -l Downloads/gcc-arm-none-eabi-4_7-2014q2-20140408-mac.tar.bz2
Now unpack the tarfile:
sudo tar -C /opt/local/bin -xjf Downloads/gcc-arm-none-eabi-4_7-2014q2-20140408-mac.tar.bz2
Finally, you should adjust your PATH:
PATH=$PATH:/opt/local/bin/gcc-arm-none-eabi-4_7-2014q2/bin
Next: Compiling kernel.img
Hardware
Software
- Build dependencies
- Running cmake
- Compiling kernel.img
- Deploying on a Pi
- Recommended config.txt and cmdline.txt options
- Validation
- Compilation flags
Implementation Notes