5.3 Linux Support | 16 |
5.3Linux Support
The Linux Environment for Boundary Devices boards consists of four pri- mary pieces, a toolchain, the kernel and device drivers, a
5.3.1Crosstool Linux Toolchain
Before the kernel and applications can be built, it is first necessary to have a
The following examples show how we at Boundary Devices set up our toolchains. Please refer to the crosstool site for more complete instructions.
First, you’ll need to download and unpack crosstool;
$wget
$tar zxvf
As described in the crosstool Quick Start guide, the next step is to choose a starting point with one of the demo build scripts. We’re currently using
TARBALLS_DIR=/armArchives
RESULT_TOP=/opt/crosstool
eval ‘cat
We also build the compiler to use software floating point in user space, rather than hardware floating point (which traps to the kernel). To do this, modify
Also, we typically change the TARGET to read as follows:
because
Having completed these edits, you can execute the script as follows:
sh
December 28, 2005 | Revision 2.8 |