ARM® Linux Internet Platform - Tools

From ARM Linux Internet Platform
Jump to: navigation, search

ARM platform tools

The software platform is built within a Scratchbox environment using GNU tools. Matrix scripts are used to automate the build process. The source code of each component is managed using GIT version control. Scratchbox version 1 is currently used (Scratchbox 2 support will follow soon).

The following tools are required:

Scratchbox

Scratchbox 1 is the cross-compilation environment used for building the software.

For the Nokia N8x0 variant scratchbox-core >= 1.0.11 is required to fix a build problem.

The following tools are required inside Scratchbox:

Compiler

CodeSourcery 2007q1-21 ARM GNU/Linux EABI toolchain is used to build root images. You may also use other Scratchbox-compatible toolchains, such as 2007q3-51sb2. The more recent 2008q1 toolchain is known to cause miscompilations.

It is also known that some of the toolchains emit incorrect code when the -Os option is used. The latter option needs to be avoided in favor of -O2. Please see also this GCC patch.

GIT devkit

The source code of the platform is stored in GIT repositories. The Git devkit is required.

CPU-transparency devkit

The CPU-transparency devkit is required as Scratchbox emulates a native compilation. It provides sbrsh (a tool which transparently executes native commands on an ARM machine) and Qemu (ARM platform emulation), one of which has to be used. The recommended Qemu version is qemu-arm-cvs-m which includes ARMv6 support.

Doctools and Perl devkits

The doctools and perl devkits are required by some of the packages.

Due to problems with the 1.0.8 version of the doctools devkit it is recommended to use a version >= 1.0.9 .

MTD devkit

mkfs.jffs2 is required for creating JFFS2 filesystems. The MTD devkit is required.

Matrix

Matrix provides scripts to build the software platform.

Development

Personal tools