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-3.0.y.git kernel_3.0.1 $ cd kernel_3.0.1 $ 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.

BusyBox
Obtain and build BusyBox. $ wget http://busybox.net/downloads/busybox-1.18.5.tar.bz2 #Or browse $ tar -xvjf busybox-1.18.5.tar.bz2 $ cd busybox-1.18.5 $ make defconfig $ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- This should create a file  in the main busybox directory.

Building the Root File System
This will create a root file system using the Buildroot tool. $ git clone git://git.buildroot.net/buildroot buildroot $ cd buildroot $ make arm_toolchain_defconfig $ sudo apt-get install ncurses-dev #Needed to access menuconfig $ make menuconfig You will now be in the configuration utility. Ensure the following are selected. Toolchain |-- GCC compiler Version |-- gcc 4.4.x |-- Enable large file (files > 2 GB) support |-- Enable IPv6 support Package Selection for the target |-- BusyBox |--