chknvm.1.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. chknvm.1
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='ampwait.1.html' title=' ampwait.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='chknvm2.1.html' title=' chknvm2.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. chknvm(1) Qualcomm Atheros Open Powerline Toolkit chknvm(1)
  22. NAME
  23. chknvm - Qualcomm Atheros PLC Image File Validator
  24. SYNOPSIS
  25. chknvm [options] file [file] [...]
  26. DESCRIPTION
  27. Validate the image chain found inside a Qualcomm Atheros PLC firmware or parameter file by checking file structure, file
  28. size, image header sizes and checksums and image sizes and checksums. Optionally, display internal image header informa‐
  29. tion or information extracted from selected image types, when present. Use this program to detect corrupted firmware or
  30. parameter files or inspect image files to determine content.
  31. This program handles both the older Thunderbolt and Lightning and the newer Panther and Lynx firmware file formats. It
  32. validates files directly from disk and so it is slower than program chknvm2 but needs less memory at runtime.
  33. This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and installation
  34. instructions.
  35. OPTIONS
  36. -i Print revision string identity fields in fixed-width columns. This option is useful when searching .nvm folders
  37. for a specific build.
  38. -m Display manifest content, if present. The manifest is a special module, included in some image chains, that con‐
  39. tains useful information about the chain. This option suppresses the summary 'looks good' message.
  40. -r Print firmware revision string on stdout. This option suppresses the summary 'looks good' message.
  41. -s Print SDRAM configuration block on stdout. This option automatically suppresses the summary 'looks good' message.
  42. -q Suppresses printing of routine messages. Specifically, it suppresses the summary 'looks good' message.
  43. -v Print additional information such as the image header for each image processed. This information can be used to
  44. distinguish one firmware file from another, if you know what to look for.
  45. -?,--help
  46. Print program help summary on stdout. This option takes precedence over other options on the command line.
  47. -!,--version
  48. Print program version information on stdout. This option takes precedence over other options on the command line.
  49. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  50. the Linux Toolkit you are using.
  51. ARGUMENTS
  52. file The name of an Atheros image file. By convention, Atheros Image files have a .nvm file extension but this program
  53. does not enforce this convention.
  54. DISCLAIMER
  55. Qualcomm Atheros firmware file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently,
  56. public information is not available. Qualcomm Atheros reserves the right to change firmware file structure or content or
  57. change the name or behavior of any program that inspects or changes firmware files, in future software releases without
  58. any obligation to notify or compensate users of such programs.
  59. EXAMPLES
  60. This example reads file abc.nvm and validates it. The message shown indicates that the file is the correct length, image
  61. headers and images have the correct length and checksum and there are no read errors. The file can be have either the
  62. newer or older format.
  63. # chknvm abc.nvm
  64. abc.nvm looks good
  65. The following example reads three files in succession and reports on each one. You can suppress good news with the -q
  66. option.
  67. # chknvm INT6400.nvm AR7400.nvm AR7420.nvm
  68. INT6400.nvm looks good
  69. AR7400.nvm looks good
  70. AR7420.nvm looks good
  71. This next example displays the SDRAM parameter block found in the named files. SDRAM parameter blocks are a legacy fea‐
  72. ture. They were to configure memory. Powerline device now run a configuration applet, instead. Observe that file
  73. AR6400.nvm us the only one that contains SDRAM parameters.
  74. # chknvm -s INT6400.nvm AR7400.nvm AR7420.nvm
  75. ------- INT6400.nvm (0) -------
  76. SIZE=0x04000000 (64mb)
  77. CONF=0x00143188
  78. TIM0=0x01E1D491
  79. TIM1=0x000883D6
  80. CNTRL=0x00003089
  81. REF=0x00000366
  82. CLOCK=0x00000001
  83. This next example prints the firmware revision string found inside older image files. The option can be used to identify
  84. the actual firmware image present when the filename has been changed. Newer image files have a manifest, instead.
  85. Observe that file AR7420.nvm shows no firmware revision string because it has the newer image file format.
  86. # chknvm -r INT6400.nvm AR7400.nvm AR7420.nvm
  87. INT6400.nvm (3) INT6000-MAC-4-1-4122-01-4020-20100219-FINAL
  88. AR7400.nvm (5) INT7400-MAC-7-0-7011-01-52-20110811-FINAL
  89. This example prints the manifest found inside newer firmware files. This can be used to distinguish firmware files from
  90. parameter files, determine exact firmware or parameter file revisions and so forth. Observe that we specified several
  91. files on the command line but only one file, AR7420.nvm, contained a mainfest.
  92. # chknvm -m INT6400.nvm AR7400.nvm AR7420.nvm
  93. ------- AR7420.nvm (0) -------
  94. Signature: 1234ABCD
  95. Hardware Compatibility: AR74200
  96. Chain Major Version: 0
  97. Chain Minor Version: 1
  98. Chain Type: Firmware
  99. Build Major Version: 0
  100. Build Minor Version: 0
  101. Build Type: Special
  102. Manifest Version: 1
  103. Build Number: 0
  104. Build Date: 20110811
  105. Build Time: 203853
  106. Device Type: 29728
  107. Build Hostname: TOR-SW-SIM04
  108. Build Username: buildbot
  109. Build Description: Custom
  110. Build Version String: AR-7420-FW-0_0-0_2-20110811:203853-buildbot:TOR-SW-SIM04-1-0_1
  111. SEE ALSO
  112. chknvm2(1), chkpib(1), chkpib2(1), int6ktest(7), nvmmerge(1), nvmsplit(1), plctest(1)
  113. CREDITS
  114. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  115. open-plc-utils-0.0.3 Mar 2014 chknvm(1)
  116. </pre>
  117. <div class='footerlink'>
  118. [<a href='ampwait.1.html' title=' ampwait.1 '>PREV</a>]
  119. [<a href='toolkit.html' title=' Index '>HOME</a>]
  120. [<a href='chknvm2.1.html' title=' chknvm2.1 '>NEXT</a>]
  121. </div>
  122. </body>
  123. </html>