[U-Boot] [PATCH] Add mkimage manual

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Fri Oct 16 05:01:18 CEST 2009


As for some distribution, a mkimage command is made a package.
However, there was not manual of mkimage. This provides manual of
mkimage.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 tools/mkimage.1 |  124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 124 insertions(+), 0 deletions(-)
 create mode 100644 tools/mkimage.1

diff --git a/tools/mkimage.1 b/tools/mkimage.1
new file mode 100644
index 0000000..7b540c0
--- /dev/null
+++ b/tools/mkimage.1
@@ -0,0 +1,124 @@
+.TH MKIMAGE 1 "2009-02-06"
+
+.SH NAME
+mkimage \- generate kernel image for U-Boot
+.SH SYNOPSIS
+.B mkimage
+.RB [\fIoptions\fP]
+.SH "DESCRIPTION"
+.B mkimage
+can also be used to create ramdisk images for use with U-Boot, either
+separated from the Linux kernel image, or combined into one file.
+mkimage encapsulates the images with a 64 byte header containing information
+about target architecture, operating system, image type, compression method,
+entry points, time stamp, CRC32 checksums, etc.
+
+.SH "MKIMAGE OPTIONS"
+
+.TP
+.BI "\-l [" "uimage file name" "]"
+mkimage lists the information contained in the header of an existing
U-Boot image.
+
+.TP
+.BI "\-A [" "architecture" "]"
+Set architecture.
+You can set the following architecture.
+.br
+\fBalpha\fR,
+\fBarm\fR,
+\fBx86\fR,
+\fBia64\fR,
+\fBm68k\fR,
+\fBmicroblaze\fR,
+\fBmips\fR,
+\fBmips64\fR,
+\fBppc\fR,
+\fBs390\fR,
+\fBsh\fR,
+\fBsparc\fR,
+\fBsparc64\fR.
+
+.TP
+.BI "\-O [" "os" "]"
+Set operating system. bootm command of u-boot changes boot method by os type.
+.br
+You can set the following OS.
+.br
+\fB4_4bsd\fR,
+\fBartos\fR,
+\fBdell\fR,
+\fBesix\fR,
+\fBfreebsd\fR,
+\fBirix\fR,
+\fBlinux\fR,
+\fBlynxos\fR,
+\fBncr\fR,
+\fBnetbsd\fR,
+\fBopenbsd\fR,
+\fBpsos\fR,
+\fBqnx\fR,
+\fBrtems\fR,
+\fBsco\fR,
+\fBsolaris\fR,
+\fBsvr4\fR,
+\fBu­boot\fR,
+\fBvxworks\fR.
+.br
+
+.TP
+.BI "\-T [" "image type" "]"
+Set image type.
+.br
+You can set the following type.
+.br
+bootm and autoscr command of u-boot check this type.
+.br
+\fBfilesystem\fR,
+\fBfirmware\fR,
+\fBkernel\fR,
+\fBmulti\fR,
+\fBramdisk\fR,
+\fBscript\fR,
+\fBstandalone\fR.
+.br
+
+.TP
+.BI "\-C [" "compression type" "]"
+Set compression type.
+.br
+You can set the following type.
+.br
+\fBnone\fR,
+\fBbzip2\fR,
+\fBgzip\fR.
+
+.TP
+.BI "\-a [" "load addess" "]"
+Set load address by hex digit.
+
+.TP
+.BI "\-e [" "entry point" "]"
+Set entry point by hex digit.
+
+.TP
+.BI "\-n [" "image name" "]"
+Set image name.
+
+.TP
+.BI "\-d [" "image data file" "]"
+See image data file.
+
+.TP
+.BI "\-x"
+Set XIP (execute in place) flag.
+
+.SH HOMEPAGE
+http://www.denx.de/wiki/U-Boot/WebHome
+.PP
+.SH AUTHOR
+This manual page was written by Nobuhiro Iwamatsu <iwamatsu at nigauri.org>,
+for the Debian GNU/Linux system (but may be used by others).
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU General Public License, Version 2 any later
+version published by the Free Software Foundation.
-- 
1.6.4.3


More information about the U-Boot mailing list