Installing U-Boot On The Host

There are a number of RPMs for U-Boot: a source RPM; a set of pre-built binary RPMs; and a host tools' RPM. The details of these are as follows:

There is a source RPM:

stlinux23-host-u-boot-source-sh4-1.3.1_stm23_nnnn-nn.noarch.rpm
stlinux22-host-u-boot-source-1.1.2_stm22_nnnn-nn.noarch.rpm

Where "nn" and "nnnn" are the release numbers (higher is newer).

There is a set of pre-built binary RPMs - one for each target board (per environment):

stlinux23-sh4-u-boot-board-1.3.1_stm23_nnnn-nn.sh4.rpm
stlinux22-sh4-u-boot-board-1.1.2_stm22_nnnn-nn.sh4.rpm

Where "nn" and "nnnn" are the release numbers, and "board" is the board name (higher is newer).

There is a host tools' RPM:

stlinux23-host-u-boot-tools-1.3.1_stm23-nn.i386.rpm
stlinux22-host-u-boot-tools-1.1.2_st2.0-nn.i386.rpm

Where "nn" are the release numbers (higher is newer).

After installing the RPMs the U-Boot source tree can be found in:

/opt/STM/STLinux-2.3/devkit/sources/u-boot/u-boot-sh4-1.3.1_stm23_nnnn
/opt/STM/STLinux-2.2/devkit/sources/u-boot/u-boot-1.1.2_stm22_nnnn

Where "nnnn" are the release numbers (higher is newer).

A set of pre-compiled U-Boot files - one for each target can be found in the following directories:

/opt/STM/STLinux-2.3/devkit/sh4/target/boot/u-boot-1.3.1_stm23_nnnn-board
/opt/STM/STLinux-2.2/devkit/sh4/target/boot/u-boot-1.1.2_stm22_nnnn-board

Where "nnnn" is the release number, and "board" is the board name.

And the host tool "mkimage" for creating U-Boot images is:

/opt/STM/STLinux-2.3/host/bin/mkimage
/opt/STM/STLinux-2.2/host/bin/mkimage

Each of the pre-built binary directories contains the following files:

u-boot		- compiled u-boot Elf binary
u-boot.bin	- compiled u-boot raw binary image
u-boot.map	- compiled u-boot map file
u-boot.srec	- compiled u-boot srec image

After installing U-Boot, please add the following directory to your "PATH" shell variable, to ensure you have the aforementioned host tool mkimage application on your path.

/opt/STM/STLinux-2.3/host/bin
/opt/STM/STLinux-2.2/host/bin