User:Carlsojs

Joel Carlson

Rose-Hulman Institute of Technology, Class of 2011
 * Bachelor's of Computer Engineering, 2011
 * Master's of Electrical and Computer Engineering, 2011

Development Environment Setup
I am using Ubuntu 10.04 64-bit. You may have to download different tools if using a different environment (e.g. - 32-bit vs 64-bit). Assume most instructions are taking place in the location, unless otherwise indicated.

Some of these steps were taken from BeagleBoard and other locations.

Git
Git is an excellent tool for maintaining version control. It is also needed to download some of the necessary source code. To install git, run the command  .

Cross-Compiler
Download the Angstrom toolchain at http://www.angstrom-distribution.org/toolchains/ Extract the contents to a location: $ cd [download location] $ tar -C /home/user/tools -xjvf angstrom-2011.03-x84_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2 Optional: Add the location of this toolchain to your PATH so you don't have to enter it in the future. I am using zsh, so I added the line   to the file  (it is necessary to close and re-open the terminal after modifying .zshrc).
 * My version: angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

Linux Kernel
Obtain and build the Linux kernel. $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.39.y.git kernel_2.6.39 $ cd kernel_2.6.39 $ make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- mrproper $ make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap2plus_defconfig $ sudo apt-get install uboot-mkimage #Necessary for building a u-boot wrapped image $ make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage This should create a file  in.

X-Loader
Obtain and build the X-Loader source. $ git clone git://gitorious.org/x-loader/x-loader.git x-loader $ cd x-loader $ make distclean $ make omap3530beagle_config $ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- This should create a file  in the main x-loader directory.

U-Boot
Obtain and build the U-Boot source. $ git clone git://git.denx.de/u-boot.git u-boot $ cd u-boot $ git checkout --track -b omap3 origin/master $ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- mrproper $ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_config $ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- This should create a file  in the main u-boot directory.