u-boot/tools/imls
Masahiro Yamada bb02c53660 Makefile: do not create a symbolic link to arch/${ARCH}/include/asm
In-tree build:
  - Do not create a symbolic link
      from include/asm to arch/${ARCH}/include/asm
  - Add ${SRCTREE}/arch/arm/include into the header search path

Out-of-tree build:
  - Do not create a directory ${OBJTREE}/include2
  - Do not create a symbolic link
      from ${OBJTREE}/include2/asm to ${SRCTREE}/arch/${ARCH}/include/asm
  - Add ${SRCTREE}/arch/arm/include into the header search path

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2013-11-08 09:39:14 -05:00
..
imls.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile Makefile: do not create a symbolic link to arch/${ARCH}/include/asm 2013-11-08 09:39:14 -05:00
README Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00

#
# (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