Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

Installing CodeSourcery Toolchain

From Texas Instruments Wiki
Jump to: navigation, search

How to Obtain the CodeSourcery Lite Edition

This section walks through the steps required to install the Code Sourcery Lite toolchain for ARM GNU/Linux EABI processors. The specific toolchain release is 2011.03-42.
NOTE: Download the "IA32 GNU/Linux TAR" tarball. It is significantly smaller and takes less time to download.

Download CS Lite 2011.03-42
CsFileList 2009q1203.gif

When installing please remember the location you installed this toolchain. If your EVM comes with a SDK Installer it will check for a valid toolchain.

Uncompress tar file (About 73.8MB)
# tar xvf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar

Move to /opt/CodeSourcery/Sourcery_G++_Lite, /opt/ is the custom software folder in Ubuntu.
# mkdir /opt/CodeSourcery
# mv arm-2009q1 /opt/CodeSourcery/Sourcery_G++_Lite

Add path to existing shell, and apply.
# vi ~/.bashrc
  export PATH=/opt/CodeSourcery/Sourcery_G++_Lite/bin:$PATH
# source ~/.bashrc

Execute the SDK installer
# chmod 755 ./ti-sdk-am180x-evm-
# ./ti-sdk-am180x-evm-

How to Obtain the CodeSourcery Commercial Edition

CodeSourcery also provides commercial edition that contains an IDE, additional tools and support from CodeSourcery.  See CodeSourcery offerings for Davinci™, OMAP™ and Sitara™ processors here.

A DVD containing both CodeSourcery G++ Lite and Evaluation version of commercial tools are shipped with the various kits such as the AM37x Evaluation Module.

NOTE - When using the arm_2009q1_203_arm_none_linux_gnueabi.bin instead of the TAR, the toolchain path is /home/user/CodeSourcery/Sourcery_G++_Lite (assumes default).  To set path for bash shell, edit .bashrc file by adding the lin:

export PATH=/home/user/CodeSourcery/Sourcery_G++_Lite/bin:$PATH