EBC Exercise 25 Configuring U-boot

This follows the approach taken in ECE597 Configuring the Kernel. We'll use bitbake to get the source files for U-boot and then we'll edit them.

bitbake
When you did ECE497 Lab02 Installing The Angstrom Distribution u-boot was downloaded and compiled. If you used the default configure, the source code was removed once it was done. Check and see: $ cd ~/BeagleBoard/oe/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/ $ ls You should see a directory starting with. The rest of the name tells what version you have. Change to that directory and see what's there: $ cd u-boot-* $ ls If you see a git directory, you are in luck. If you see just a temp directory you need to go back to ECE497 Lab02 Installing The Angstrom Distribution and get it installed.

Once you have the git directory, cd to it and look around.

Compiling U-boot
You can now compile U-boot. Save the file and enter: $ cd ~/BeagleBoard/oe/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/u-boot-*/git $ source ~/BeagleBoard/oe/crossCompileEnv.sh $ make

Assignment: Modify u-boot to include your initials in the prompt.

Hint: Look for the omap3_beagle.h file.