blob: 9adf92305db899cde79fd456b53a40212d4a49cd [file] [log] [blame]
Marco Stornelli11d0dbd2009-04-28 19:04:02 +02001#
2# (C) Copyright 2009 Marco Stornelli <marco.stornelli@gmail.com>
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Marco Stornelli11d0dbd2009-04-28 19:04:02 +02005#
6
7IMLS
8-------------
9
10imls is an implementation of a Linux command line tool to access
11to raw flash partitions and list images made with mkimage command.
12
13For building against older versions of the MTD headers (meaning before
14v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to
15make.
16
17Usage examples
18--------------
19
201) Flash with sectors of 128KiB and 32 sectors:
21
22> imls -c 32 -s 131072 /dev/mtd0
23Searching...
24Image Name: foo
25Created: Fri Apr 10 18:11:30 2009
26Image Type: Intel x86 Linux Standalone Program (uncompressed)
27Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
28Load Address: 00000000
29Entry Point: 00000000
30
312) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
32sector:
33
34> imls -o 1 -c 128 -s 65536 /dev/mtd0
35Searching...
36Image Name: foo
37Created: Fri Apr 10 18:11:30 2009
38Image Type: Intel x86 Linux Standalone Program (uncompressed)
39Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
40Load Address: 00000000
41Entry Point: 00000000