README 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. IMLS
  23. -------------
  24. imls is an implementation of a Linux command line tool to access
  25. to raw flash partitions and list images made with mkimage command.
  26. For building against older versions of the MTD headers (meaning before
  27. v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to
  28. make.
  29. Usage examples
  30. --------------
  31. 1) Flash with sectors of 128KiB and 32 sectors:
  32. > imls -c 32 -s 131072 /dev/mtd0
  33. Searching...
  34. Image Name: foo
  35. Created: Fri Apr 10 18:11:30 2009
  36. Image Type: Intel x86 Linux Standalone Program (uncompressed)
  37. Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
  38. Load Address: 00000000
  39. Entry Point: 00000000
  40. 2) Flash with sectors of 64KiB and 128 sectors and with a search offset of one
  41. sector:
  42. > imls -o 1 -c 128 -s 65536 /dev/mtd0
  43. Searching...
  44. Image Name: foo
  45. Created: Fri Apr 10 18:11:30 2009
  46. Image Type: Intel x86 Linux Standalone Program (uncompressed)
  47. Data Size: 10716 Bytes = 10.46 kB = 0.01 MB
  48. Load Address: 00000000
  49. Entry Point: 00000000