u-boot/tools/imls
Wolfgang Denk 93e1459641 Coding Style cleanup: replace leading SPACEs by TABs
Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Drop changes for PEP 4 following python tools]
Signed-off-by: Tom Rini <trini@ti.com>
2013-10-14 16:06:54 -04:00
..
imls.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
README Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00

#
# (C) Copyright 2009 Marco Stornelli <marco.stornelli@gmail.com>
#
# SPDX-License-Identifier:	GPL-2.0+
#

IMLS
-------------

imls is an implementation of a Linux command line tool to access
to raw flash partitions and list images made with mkimage command.

For building against older versions of the MTD headers (meaning before
v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to
make.

Usage examples
--------------

1) Flash with sectors of 128KiB and 32 sectors:

> imls -c 32 -s 131072 /dev/mtd0
Searching...
Image Name:   foo
Created:      Fri Apr 10 18:11:30 2009
Image Type:   Intel x86 Linux Standalone Program (uncompressed)
Data Size:    10716 Bytes = 10.46 kB = 0.01 MB
Load Address: 00000000
Entry Point:  00000000

2) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
sector:

> imls -o 1 -c 128 -s 65536 /dev/mtd0
Searching...
Image Name:   foo
Created:      Fri Apr 10 18:11:30 2009
Image Type:   Intel x86 Linux Standalone Program (uncompressed)
Data Size:    10716 Bytes = 10.46 kB = 0.01 MB
Load Address: 00000000
Entry Point:  00000000