4 # See file CREDITS for list of people who contributed to this
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.
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.
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,
26 imls is an implementation of a Linux command line tool to access
27 to raw flash partitions and list images made with mkimage command.
29 For building against older versions of the MTD headers (meaning before
30 v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to
36 1) Flash with sectors of 128KiB and 32 sectors:
38 > imls -c 32 -s 131072 /dev/mtd0
41 Created: Fri Apr 10 18:11:30 2009
42 Image Type: Intel x86 Linux Standalone Program (uncompressed)
43 Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
44 Load Address: 00000000
47 2) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
50 > imls -o 1 -c 128 -s 65536 /dev/mtd0
53 Created: Fri Apr 10 18:11:30 2009
54 Image Type: Intel x86 Linux Standalone Program (uncompressed)
55 Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
56 Load Address: 00000000