Intel I/O Processor manual Cross Toolchain

Page 13

 

Cross Toolchain—Linux - Debian

Cross Toolchain

4

 

 

The next step in building a Linux system for running on Intel XScale® microarchitecture is to generate a cross-toolchain for building the kernel and applications from the IA Linux host. Currently, we use a toolchain built using the crosstool build scripts (http://kegel.com/crosstool). We currently build for the armv5l-linux target.

After the latest version of the script is downloaded a couple changes need to be made:

1.Edit the arm-xscale.datfile to change the following line: TARGET=arm-xscale-linux-gnu

To TARGET=armv5l-linux

2.Edit the demo-arm-xscale.shto select which versions of gcc and glibc are to be used. Comment out or remove all of the statements starting with "eval `cat" and replace them with the following statement:

eval `cat arm-xscale.dat gcc-3.4.3-glibc-2.3.5.dat` sh all.sh --notest

Change the RESULTS_TOP variable to the directory where the tools are to be installed (the default is "/opt/crosstool")

After the changes are made the demo-arm-xscale.shscript needs to be run. Next, add the /opt/ crosstool/bin (or the path where the tools were built) to your PATH variable.

Linux-Debian Installation Guide

Intel® I/O Processors

June 2005

 

Order Number: 306507001US

13

Image 13
Contents Intel I/O Processors Linux Debian Installation GuideJune Contents Revision History Introduction Host Setup Host Setup-Linux Debian Host Networking Setup Minicom SetupDhcpd Server Setup Tftp Server Setup NFS Server SetupRedBoot Parameter Values for CRBs Target Firmware SetupLinux Debian-Target Firmware Setup Cross Toolchain Kernel Kernel-Linux Debian Linux Debian-Kernel Distributions6 Installing Debian Stable on a NFS Root File System Installing Debian# cd /target/var # tar cvf lib.tar lib # exit Linux Debian-Distributions Maintaining System Time With Rdate Initial Debian System ConfigurationMaintaining System Time With NTP and Ntpdate Upgrading to Debian Testing