blob: 97d7e3216fb686f80d26c55f2432d79ca865567f [file] [log] [blame]
Marco Stornellif578a2d2009-04-28 19:04:02 +02001#
2# (C) Copyright 2009 Marco Stornelli <marco.stornelli@gmail.com>
3#
4# See file CREDITS for list of people who contributed to this
5# project.
6#
7# The files in this directory are free software; you can redistribute
8# them and/or modify them under the terms of the GNU General Public
9# License as published by the Free Software Foundation; either
10# version 2 of the License, or (at your option) any later version.
11#
12# These files are distributed in the hope that they will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20# MA 02111-1307 USA
21#
22
23IMLS
24-------------
25
26imls is an implementation of a Linux command line tool to access
27to raw flash partitions and list images made with mkimage command.
28
29For building against older versions of the MTD headers (meaning before
30v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to
31make.
32
33Usage examples
34--------------
35
361) Flash with sectors of 128KiB and 32 sectors:
37
38> imls -c 32 -s 131072 /dev/mtd0
39Searching...
40Image Name: foo
41Created: Fri Apr 10 18:11:30 2009
42Image Type: Intel x86 Linux Standalone Program (uncompressed)
43Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
44Load Address: 00000000
45Entry Point: 00000000
46
472) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
48sector:
49
50> imls -o 1 -c 128 -s 65536 /dev/mtd0
51Searching...
52Image Name: foo
53Created: Fri Apr 10 18:11:30 2009
54Image Type: Intel x86 Linux Standalone Program (uncompressed)
55Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
56Load Address: 00000000
57Entry Point: 00000000