]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - tools/imls/README
Add imls utility command
[karo-tx-uboot.git] / tools / imls / README
1 #
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
23 IMLS
24 -------------
25
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.
28
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
31 make.
32
33 Usage examples
34 --------------
35
36 1) Flash with sectors of 128KiB and 32 sectors:
37
38 > imls -c 32 -s 131072 /dev/mtd0
39 Searching...
40 Image Name:   foo
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
45 Entry Point:  00000000
46
47 2) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
48 sector:
49
50 > imls -o 1 -c 128 -s 65536 /dev/mtd0
51 Searching...
52 Image Name:   foo
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
57 Entry Point:  00000000