summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorGuilherme Maciel Ferreira <guilherme.maciel@datacom.ind.br>2015-01-15 02:54:40 -0200
committerTom Rini <trini@ti.com>2015-01-29 13:38:41 -0500
commitf41f5b7c055865bae32129d005fed073315d589a (patch)
tree3007a1ca725fca00197299b6a04ff8abab8d563a /README
parenta93648d197df48fa46dd55f925ff70468bd81c71 (diff)
downloadu-boot-imx-f41f5b7c055865bae32129d005fed073315d589a.zip
u-boot-imx-f41f5b7c055865bae32129d005fed073315d589a.tar.gz
u-boot-imx-f41f5b7c055865bae32129d005fed073315d589a.tar.bz2
dumpimage: add 'T' option to explicitly set the image type
Some image types, like "KeyStone GP", do not have magic numbers to distinguish them from other image types. Thus, the automatic image type discovery does not work correctly. This patch also fix some integer type mismatches. Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
diff --git a/README b/README
index fefa71c..a11e74a 100644
--- a/README
+++ b/README
@@ -5899,9 +5899,10 @@ option performs the converse operation of the mkimage's second form (the "-d"
option). Given an image built by mkimage, the dumpimage extracts a "data file"
from the image:
- tools/dumpimage -i image -p position data_file
- -i ==> extract from the 'image' a specific 'data_file', \
- indexed by 'position'
+ tools/dumpimage -i image -T type -p position data_file
+ -i ==> extract from the 'image' a specific 'data_file'
+ -T ==> set image type to 'type'
+ -p ==> 'position' (starting at 0) of the 'data_file' inside the 'image'
Installing a Linux Image: