Post by artvandelay on Jan 22, 2011 19:04:23 GMT -5
I set out to install a GNU toolchaim with an ARM cross-compiler for compiling and loading code to the Evalbot. You can flash code over the ICDI interface using OpenOCD. I found these two helpful blog posts that give a pretty complete walk-through of the process.
www.synthetos.com/blog/setup-arm-toolchain-in-ubuntu/
www.synthetos.com/blog/setup-arm-an-toolchain-in-ubuntu-part-2/
Note that if you're on OS X instead of Linux (which was my situation), you'll have to build the Code Sourcery cross-compiler from source.
I ran into a few issues, mainly involving the build for OpenOCD. I'm running fink, and it turns out my install is targeted for i386 while my OpenOCD build was targeting x86-64. I built a fresh libusb and libftdi from source, bypassing fink, and everything worked great after that.
I didn't thoroughly document my process like Riley did in the blog posts above, but if anyone is trying to set this up on OS X and you get stuck, post here and perhaps I can help out.
I was able to build the StellarisWare example project "blinky" and flash it to the board using OpenOCD, so everything is working great at this point.
I'll add that I had to modify the "blinky" project per the instructions by senatorpenguin in this thread.
A last thought: it was pointed out that running this in a VM would be a good idea, to avoid "polluting" your system with cross-compilers. Since the toolchain setup is kind of a pain, I wonder if someone is interested in building a nice VMWare VM image of Ubuntu with everything set up so folks could just pull it down and start playing with code for the Evalbot? I pulled down an Ubuntu image but I'm not sure if/when I'll get around to setting all that up.
www.synthetos.com/blog/setup-arm-toolchain-in-ubuntu/
www.synthetos.com/blog/setup-arm-an-toolchain-in-ubuntu-part-2/
Note that if you're on OS X instead of Linux (which was my situation), you'll have to build the Code Sourcery cross-compiler from source.
I ran into a few issues, mainly involving the build for OpenOCD. I'm running fink, and it turns out my install is targeted for i386 while my OpenOCD build was targeting x86-64. I built a fresh libusb and libftdi from source, bypassing fink, and everything worked great after that.
I didn't thoroughly document my process like Riley did in the blog posts above, but if anyone is trying to set this up on OS X and you get stuck, post here and perhaps I can help out.
I was able to build the StellarisWare example project "blinky" and flash it to the board using OpenOCD, so everything is working great at this point.
I'll add that I had to modify the "blinky" project per the instructions by senatorpenguin in this thread.
A last thought: it was pointed out that running this in a VM would be a good idea, to avoid "polluting" your system with cross-compilers. Since the toolchain setup is kind of a pain, I wonder if someone is interested in building a nice VMWare VM image of Ubuntu with everything set up so folks could just pull it down and start playing with code for the Evalbot? I pulled down an Ubuntu image but I'm not sure if/when I'll get around to setting all that up.