Version 1 (modified by sam, 7 years ago) (diff)

first version of the Raspberry Pi cross builder documentation

Set up a cross-build machine for the Raspberry Pi

Prerequisites

This document focuses on Debian hosts. Debian derivatives such as Ubuntu should work with minor changes.

Downloads

Alternatively, these can be retrieved using Git. Unpack them in two directories called firmware and tools.

Environment variables

  • Set RASPI_SDK_ROOT to the directory containing firmware and tools.
  • Add the following directory to PATH:
$RASPI_SDK_ROOT/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin

Configuration

Add the following section to the bitten machine file:

[raspi]
version = 0