1 .TH MKIMAGE 1 "2010-05-16"
4 mkimage \- Generate image for U-Boot
11 command is used to create images for use with the U-Boot boot loader.
12 Thes eimages can contain the linux kernel, device tree blob, root file
13 system image, firmware images etc., either separate or combined.
16 supports two different formats:
20 format concatenates the individual parts (for example, kernel image,
21 device tree blob and ramdisk image) and adds a 64 bytes header
22 containing information about target architecture, operating system,
23 image type, compression method, entry points, time stamp, checksums,
27 .I FIT (Flattened Image Tree) format
28 allows for more flexibility in handling images of various and also
29 enhances integrity protection of images with stronger checksums.
33 .B List image information:
36 .BI "\-l [" "uimage file name" "]"
37 mkimage lists the information contained in the header of an existing U-Boot image.
40 .B Create old legacy image:
43 .BI "\-A [" "architecture" "]"
44 Set architecture. Pass \-h as the architecture to see the list of supported architectures.
48 Set operating system. bootm command of u-boot changes boot method by os type.
49 Pass \-h as the OS to see the list of supported OS.
52 .BI "\-T [" "image type" "]"
54 Pass \-h as the image to see the list of supported image type.
57 .BI "\-C [" "compression type" "]"
59 Pass \-h as the compression to see the list of supported compression type.
62 .BI "\-a [" "load addess" "]"
63 Set load address with a hex number.
66 .BI "\-e [" "entry point" "]"
67 Set entry point with a hex number.
70 .BI "\-n [" "image name" "]"
71 Set image name to 'image name'.
74 .BI "\-d [" "image data file" "]"
75 Use image data from 'image data file'.
79 Set XIP (execute in place) flag.
86 Provide special options to the device tree compiler that is used to
90 .BI "\-f "fit-image.its"
91 Image tree source fine that descbres the structure and contents of the
96 List image information:
101 Create legacy image with compressed PowerPC Linux kernel:
103 .B mkimage -A powerpc -O linux -T kernel -C gzip \\\\
105 .B -a 0 -e 0 -n Linux -d vmlinux.gz uImage
108 Create FIT image with compressed PowerPC Linux kernel:
110 .B mkimage -f kernel.its kernel.itb
114 http://www.denx.de/wiki/U-Boot/WebHome
117 This manual page was written by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
118 and Wolfgang Denk <wd@denx.de>