# README # Toolchaini(SDK) genrated by OpenEmbedded, with distribution # KaeilOS for AT91SAM9G45/AT91SAM9263/AT91SAM9261 based boards: # PM9G45, PM9263 and PM9261. # # Ronetix GmbH # www.ronetix.at # Ferbuary, 2011 # Download the two files and extract them in the "/" directory. They could be extracted in any directory, and then the file "/usr/local/kaeilos/arm/environment-setup" have to be edited and prefix the "SDK_PATH" value with the "work directory". The root privileges are required only for installation in the global directories, on installation in the home directory no root access is needed. And also remove the line which sets the CPATH environment. Before compiling execute ". /usr/local/kaeilos/arm/environment-setup". The toolchain prefix is "arm-oe-linux-gnueabi-". On host hachine: $ wget http://download.ronetix.info/toolchains/arm/kaeilos-2010.1/kaeilos-2010.1-20110221-i686-linux-armv5te-linux-gnueabi-toolchain-extras.tar.bz2 $ wget http://download.ronetix.info/toolchains/arm/kaeilos-2010.1/kaeilos-2010.1-20110221-i686-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 $ su - # tar -C / -xjf kaeilos-2010.1-20110221-i686-linux-armv5te-linux-gnueabi-toolchain-extras.tar.bz2 # tar -C / -xjf kaeilos-2010.1-20110221-i686-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 # exit $ . /usr/local/kaeilos/arm/environment-setup $ echo '#include int main(int argc, char** argv) { printf("Hello World!\n"); return 0; } ' > hello.c $ arm-oe-linux-gnueabi-gcc hello.c -o hello $ cp hello tftp_boot_dir/ On target hachine: # udhcpc # tftp -g -r tftp_boot_dir/hello -l hello 192.168.3.1 # chmod u+x hello # ./hello