Just beginning to work with SAM9-L9260

About week ago I bought evaluation kit Olimex sam9-L9260

After unsuccessful attempts to run a simple project “hello” the manner specified in the PDF on the CD, I have done the following:

  • I build the kernel with support for EABI

  • connect $HOME/bin/codesourcery-armgcc-2008q1/arm-none-linux-gnueabi/libc to olimex board file system via nfs

  • Compiled the project in such a way that connected the library with nfs

Anyway, after running, I see the error:

“Illegal instruction”

(By the way. The resulting code contains “ELF 32 bit LSB executable, ARM, version 1 (SYSV)” phrase. So compiler is correct)

Where can I find a real working example of compiling source code in C using the tools that are on CD, shipped with the board?