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