summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-22 22:55:52 -0700
committerTom Rini <trini@konsulko.com>2016-03-14 19:18:29 -0400
commitfb4cce0f98ea0784130ff544d7c85d0841bea2e6 (patch)
treef02ef53bf63df97448e0831b68d4581dad44839f /doc
parent8e35bb07eb68e524804f2ef53dd18c7cec0b06fc (diff)
downloadu-boot-fb4cce0f98ea0784130ff544d7c85d0841bea2e6.tar.gz
u-boot-fb4cce0f98ea0784130ff544d7c85d0841bea2e6.tar.xz
u-boot-fb4cce0f98ea0784130ff544d7c85d0841bea2e6.zip
mkimage: Support adding device tree files to a FIT
To make the auto-FIT feature useful we need to be able to provide a list of device tree files on the command line for mkimage to add into the FIT. Add support for this feature. So far there is no support for hashing or verified boot using this method. For those cases, a .its file must still be provided. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/mkimage.113
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 146c114d9d..036b095c1b 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -97,6 +97,10 @@ Set XIP (execute in place) flag.
.B Create FIT image:
.TP
+.BI "\-b
+Specifies that the following arguments are device tree binary files (.dtb).
+
+.TP
.BI "\-c [" "comment" "]"
Specifies a comment to be added when signing. This is typically a useful
message which describes how the image was signed or some other useful
@@ -191,6 +195,15 @@ is required.
.br
.B -c """Kernel 4.4 image for production devices""" -d vmlinuz kernel.itb
.fi
+.P
+Create a FIT image containing a kernel and some device tree files, using
+automatic mode. No .its file is required.
+.nf
+.B mkimage -f auto -A arm -O linux -T kernel -C none -a 43e00000 -e 0 \\\\
+.br
+.B -c """Kernel 4.4 image for production devices""" -d vmlinuz \\\\
+.B -b /path/to/rk3288-firefly.dtb /path/to/rk3288-jerry.dtb kernel.itb
+.fi
.SH HOMEPAGE
http://www.denx.de/wiki/U-Boot/WebHome