Building and Deploying a Bootloader

Building U-Boot

U-Boot development is ongoing within the Linaro organization and a lot of Linaro's bootloader work has already been accepted into the main stream u-boot repository at:

Linaro maintains git repositories of several supported platforms at:

Identify a bootloader you want to use and make a clone. I selected u-boot-linaro-stable.

git clone git://
cd u-boot-linaro-stable
  • Configure and build u-boot. For this example, I deployed to the Gumstix Overo COM (see boards.cfg file for list of supported boards).

make CROSS_COMPILE=arm-linux-gnueabi- omap3_overo

Deploying the bootloader

Deploying u-boot to the SD card

This procedure assumes you have already deployed once using linaro-media-create.

  • Insert the SD card and see where it auto-mounts (it usually mounts to /media/)
  • On the host, go to the u-boot build directory and install the u-boot.bin to the SD card using these commands:

cp u-boot.bin /media/boot/

Deploy u-boot using scp

  • Target side (in booted system):

dhclient eth0
ntpdate-debian (optional)
apt-get install ssh
mount /dev/mmcblk0p1 /mnt
cd /mnt
scp <username>@<host ipaddr>:<u-boot-build-dir>u-boot.bin .


Resources/HowTo/BootloaderDeploy (last modified 2011-03-23 19:04:21)