Installing CodeSourcery Toolchain
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.
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-188.8.131.52-Linux-x86-Install # ./ti-sdk-am180x-evm-184.108.40.206-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: