| # |
| # (C) Copyright 2009 Marco Stornelli <marco.stornelli@gmail.com> |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| |
| IMLS |
| ------------- |
| |
| imls is an implementation of a Linux command line tool to access |
| to raw flash partitions and list images made with mkimage command. |
| |
| For building against older versions of the MTD headers (meaning before |
| v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to |
| make. |
| |
| Usage examples |
| -------------- |
| |
| 1) Flash with sectors of 128KiB and 32 sectors: |
| |
| > imls -c 32 -s 131072 /dev/mtd0 |
| Searching... |
| Image Name: foo |
| Created: Fri Apr 10 18:11:30 2009 |
| Image Type: Intel x86 Linux Standalone Program (uncompressed) |
| Data Size: 10716 Bytes = 10.46 kB = 0.01 MB |
| Load Address: 00000000 |
| Entry Point: 00000000 |
| |
| 2) Flash with sectors of 64KiB and 128 sectors and with a search offset of one |
| sector: |
| |
| > imls -o 1 -c 128 -s 65536 /dev/mtd0 |
| Searching... |
| Image Name: foo |
| Created: Fri Apr 10 18:11:30 2009 |
| Image Type: Intel x86 Linux Standalone Program (uncompressed) |
| Data Size: 10716 Bytes = 10.46 kB = 0.01 MB |
| Load Address: 00000000 |
| Entry Point: 00000000 |