I've been developing for Stellaris target on a Linux machine for several months now using GNU GCC and OpenOCD. Due to an OS re-install this weekend, I needed to get this all set-up again. I thought I would share the majority of steps it took me to get things up and running on a fresh debian / stable install in hopes that it will help someone else out wanting to develop on Linux with the open / free tools. Sorry if something similar has already been posted before.
Links
crosstool-ng (building the toolchain made easy.. very nice!.)
http://ymorin.is-a-geek.org/projects/crosstool
OpenOCD project (debugger / flashing). Need the latest from GIT repository to get the interface and target definitions for the Stellaris parts. This is done with git clone (see below)
http://developer.berlios.de/projects/openocd
Open FTDI driver for accessing the FT2232 on the Stellaris boards
http://www.intra2net.com/en/developer/libftdi/download.php
#install crosstool-ng
bzip2 -d crosstool-ng-1.8.1.tar.bz2
tar -xf crosstool-ng-1.8.1.tar
cd crosstool-ng-1.8.1/
sudo apt-get install awk
sudo apt-get install gawk
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install libncurses-dev
sudo apt-get install zlib1g-dev
./configure
make
sudo make install
mkdir /home/user1/arm-eabi/
cd /home/user1/arm-eabi/
#copy sample file for baremetal build to new directory
cp /home/user1/downloads/crosstool-ng-1.8.1/samples/arm-bare_newlib_cortex_m3_nommu-eabi/crosstool.config .config
#build the entire toolchain
ct-ng build
#install open FTDI drivers
tar -xzf libftdi-0.18.tar.gz
cd libftdi-0.18/
sudo apt-get install libusb-dev
./configure
make
sudo make install
ldconfig
#install latest OpenOCD
git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd openocd-git
cd openocd-git/
./bootstrap
./configure --enable-ft2232_libftdi
make
sudo make install
#add toolchain built by crosstool-ng to path
PATH="/home/user1/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin:${PATH}"
export PATH
#edit PREFIX in StellarisWare/makedefs to use new toolchain
PREFIX=arm-bare_newlib_cortex_m3_nommu-eabi
#build entire StellarisWare distribution
cd StellarisWare
make clean
make
#start openocd with stellaris configuration
#lm3s9b9x with external FTDI ICD board
#sudo openocd -f openocd-git/tcl/interface/luminary-icdi.cfg -f openocd-git/tcl/target/stellaris.cfg
#lm3s6965 with on-board FTDI
sudo openocd -f openocd-git/tcl/interface/luminary.cfg -f openocd-git/tcl/target/stellaris.cfg
#flash mcu with some code at address 0x00000 and execute
telnet localhost 4444
halt
flash write_image erase /tmp/main.bin 0
reset