2 # (C) Copyright 2009 Marco Stornelli <marco.stornelli@gmail.com>
4 # SPDX-License-Identifier: GPL-2.0+
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.
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
20 1) Flash with sectors of 128KiB and 32 sectors:
22 > imls -c 32 -s 131072 /dev/mtd0
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
31 2) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
34 > imls -o 1 -c 128 -s 65536 /dev/mtd0
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