Home > debian, kernel, omap > Installing ARM Cross compilation

Installing ARM Cross compilation

Many phones are based on OMAP 1710. Search “OMAP 1710″ on google and you will find them.

The instructions below show you how you could configure a compiler for OMAP 1710 and compile a kernel using this compiler.

Instructions
Get CodeSourcery toolchain ==> arm-2005q3-2-arm-none-eabi
* On what system will your program run? ARM EABI
* On what system will you run the tools? IA32 GNU/Linux
* Download

Untar on /opt/cs-gcc

make -p /opt/cs-gcccp TOOLCHAIN_PATH/arm-2005q3-2-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 /opt/cs-gcctar -xvjf arm-2005q3-2-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

Create links from arm-none-eabi-* to arm-linux-*

cd /opt/cs-gcc/binfor a in arm-none-* ; do ln -s $a $(echo $a | sed -e 's/none-eabi/linux/') ; done

Compile your kernel

cd linux-omap-2.6 make ARCH=arm clean make ARCH=arm omap_h3_1710_defconfigmake ARCH=arm 

References:
* http://linux.omap.com/pipermail/linux-omap-open-source/2004-November/002175.html
* http://people.via.ecp.fr/~clem/nist/qt-notes.php

Categories: debian, kernel, omap Tags:
  1. No comments yet.
  1. No trackbacks yet.