U-Boot uses a special image format when loading the Linux kernel or
ramdisk or other images. This image contains (among other things)
information about the time of creation, operating system, compression
type, image type, image name and CRC32 checksums.
The tool
mkimage is used to create such images or
to display the information they contain.
When using the
ELDK, the
mkimage command is
already included with the other
ELDK tools.
If you don't use the
ELDK then you should install
mkimage in some directory that is in your command
search
PATH, for instance:
$ cp tools/mkimage /usr/local/bin/
The Ubuntu distribution makes
mkimage available as part of the
u-boot-tools package, so all you would need to do under Ubuntu is:
$ apt-get install u-boot-tools