mkimage is used to make image.
you should install uboot-mkimage at first:
sudo apt-get install uboot-mkimage
then you can use the mkimage command, such as:
mkimage -d ~/share/harman/u-boot.bin -a 1000000 -e 1000000 -A arm -O linux -T kernel -C none uboot
the parameters as follow:
$ mkimage
Usage: mkimage -l image
-l ==> list image header information
mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image
-A ==> set architecture to 'arch'
-O ==> set operating system to 'os'
-T ==> set image type to 'type'
-C ==> set compression type 'comp'
-a ==> set load address to 'addr' (hex)
-e ==> set entry point to 'ep' (hex)
-n ==> set image name to 'name'
-d ==> use image data from 'datafile'
-x ==> set XIP (execute in place)