Installing CodeSourcery Toolchain

From Texas Instruments Wiki

Jump to: navigation, search
Translate this page to   

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-4.0.1.0-Linux-x86-Install
# ./ti-sdk-am180x-evm-4.0.1.0-Linux-x86-Install



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 





Leave a Comment

Comments

Comments on Installing CodeSourcery Toolchain


D-smalley said ...

Executing arm_2009q1_203_arm_none_linux_gnueabi.bin will place the tool chain at /home/user/CodeSourcery/Sourcery_G++_Lite (if using default).

To set path for bash shell, edit .bashrc file by adding thie line

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


--D-smalley 09:28, 17 August 2010 (CDT)

Baldwinc said ...

CodeSourcery download path appears to be bad, try this:

http://www.codesourcery.com/sgpp/lite/arm/portal/release858

Download the ".bin" file.

To Install, run the UI by typing:

/bin/sh ./arm-2009q1-203-arm-none-linux-gnueabi.bin


--Baldwinc 17:06, 14 September 2011 (CDT)

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox