This section explains the building process of U-Boot, which is used as second bootloader as bc10 starts booting up. This
building process is originally created for BeagleBoard. Since bc10 is a clone of BeagleBoard, the original building method
can be used for bc10's U-Boot. The boot process of bc10 and the installation of U-Boot are discussed at bc10/booting.
- Make ready toolchain for bc10.
- Test whether the toolchains are already built or not.
- OpenEmbedded Linux toolchain (arm-angstrom-linux-gnueabi-), which is wildly used for the development
environment of BeagleBoard.- rowboat toolchain (arm-eabi-), which is employed at rowboat, Android project for OMAP35x.
- CodeSourcery arm GNU/Linux toolchain (arm-none-linux-gnueabi-), which is developed at CodeSourcery.
Make sure that the development environment is already installed into the host environment before toolchain of
OpenEmbedded Linux is used. The information of setting of the OpenEmbedded development environment is available
at bc10/OpenEmbedded Linux.
To use the toolchain, configure the environment variable.export PATH=${WORK_DIR}/OE/angstrom-dev/cross/armv7a/bin:${PATH} export ARCH=arm export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
Please install the rowboat development environment before rowboat's toolchain s is used. For more information about
setting the development environment for rowboat, please look at bc10/rowboat. To use the toolchain, set up the
environment variable.export PATH=${WORK_DIR}/rowboat-eclair-dsp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin:${PATH} export ARCH=arm export CROSS_COMPILE=arm-eabi-
Obtain the source code for bc10 specific U-Boot from git repository.
git clone git://gitorious.org/bc10/u-boot-bc10.git u-boot-bc10 cd u-boot-bc10 git checkout -t -b build origin/build
Get the source code from the proper git repository.git clone git://git.denx.de/u-boot.git u-boot-main cd u-boot-main git checkout --track -b omap3 origin/master
To use OpenEmbedded toolchain, cross-build U-Boot, which is specifically modified for bc10.
make mrproper make omap3_bc10_config make
To apply OpenEmbedded toolchain, cross-build U-Boot for OMAP3 devices in general.make mrproper make omap3_beagle_config makeAs the build process is successfully completed, u-boot.bin is produced.
For more information about placing U-Boot into SD Card, please visit at bc10/booting.
2010/07/23 Initial release
2010/09/16 Add bc10 specific source code repository and build process