From fb4cce0f98ea0784130ff544d7c85d0841bea2e6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 22 Feb 2016 22:55:52 -0700 Subject: 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 --- doc/mkimage.1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/mkimage.1') diff --git a/doc/mkimage.1 b/doc/mkimage.1 index 146c114d9d6..036b095c1b6 100644 --- a/doc/mkimage.1 +++ b/doc/mkimage.1 @@ -96,6 +96,10 @@ Set XIP (execute in place) flag. .P .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 @@ -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 -- cgit v1.2.3