int6ktest.1.html 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. int6ktest.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='int6kstat.1.html' title=' int6kstat.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='int6ktone.1.html' title=' int6ktone.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. int6ktest(1) Qualcomm Atheros Open Powerline Toolkit int6ktest(1)
  22. NAME
  23. int6ktest - Qualcomm Atheros Test Applet Loader
  24. SYNOPSIS
  25. int6ktest [options] [file] [file] [...]
  26. DESCRIPTION
  27. Download and execute one or more test applets on the local powerline device. An applet is a small firmware image that
  28. can be started by the bootloader and that returns to the bootloader when done.
  29. An Atheros image file can contain one or more firmware images. Each image is preceded by a header that specifies the
  30. image size, load address and start address. int6ktest sequentially dowloads and executes each image found in each image
  31. file specified as a command line argument. It waits for each image to complete before it will download and execute the
  32. next image. The program terminates once all images in all image files have been executed or some image fails to complete
  33. within 60 seconds.
  34. Most applets return to the Bootloader on successful completion so that another applet can be downloaded and executed.
  35. This allows applet chains to be executed using one command. A chain may consist of one image file containing many
  36. applets or several image files containing one applet each or any combination. The chain will break, after a timeout, if
  37. any applet in the chain fails to return to the Bootloader.
  38. The toolkit contains a set of useful applets in folder applets. Most, if not all, are as single applet image files.
  39. Program chknvm can be used to inspect image files and programs nvmmerge and nvmsplit can be used to assemble and disas‐
  40. semble multi-applet image files. This allows custom applet chains to be created and kept together in one file. The num‐
  41. ber and quality of available applets will probably increase with time.
  42. Users should take the time to understand the applets they attempt to execute or confusion may result. Each applet should
  43. have an associated man page to explain what it does and how it works. Most applets execute and return to the bootloader
  44. within seconds but some loop indefinitely or stop on failure. Newer applets print test progress and outcomes on the con‐
  45. sole but older applets merely flash device LEDs to indicate test progress and outcomes.
  46. This program is part of the Qualcomm Atheros Powerline Toolkit. See the plc man page for an overview and installation
  47. instructions.
  48. COMMENTS
  49. This program is an alternative to program amptest but is deprecated. In the future, applet designers should develop
  50. applets for amptest instead of this program.
  51. OPTIONS
  52. -c count
  53. The number of times the program will poll the device before declaring an event failure. The program will wait a
  54. fixed period of time between each poll attempt. Overall wait time is count/frequency where count can be modified
  55. using option -c. Overall wait time is always approximate since operating system overhead and latency are not
  56. taken into account. The default count is 60.
  57. -e Redirects stderr messages to stdout. By convention status and error messages are printed on stderr while primary
  58. program output is printed on stdout. This option prints all output on stdout in cases where this is desired.
  59. -i interface
  60. Select the host Ethernet interface. All requests are sent via this host interface and only reponses received via
  61. this host interface are recognized. The default interface is eth1 because most people use eth0 as their principle
  62. network connection; however, if environment string &quot;PLC&quot; is defined then it takes precedence over the default
  63. interface. This option then takes precedence over either default.
  64. -l Sequentially execute and re-execute all applets in all files on the command line until the program is terminated
  65. with ^C.
  66. -p frequency
  67. The polling frequency expressed in polls-per-second. For example, 1 means one poll per second and 10 means ten
  68. polls per second. Overall wait time is count/frequency where count may be modified using option -c. Overall wait
  69. time is always approximate since operating system overhead and latency are not taken into account. The default
  70. frequency is 5.
  71. -q Suppresses normal progress and status messages.
  72. -t milliseconds
  73. Read timeout in milliseconds. Values range from 0 through UINT_MAX. This is the maximum time allowed for a
  74. response. The default is shown in brackets on the program menu.
  75. -v Print additional information on stdout. Specifically, this option prints incoming and outgoing frames in hexadec‐
  76. imal format on stdout. Output can be directed to a text file for analysis.
  77. -x Cause the program to exit on the first error instead of moving on to the next applet. Error exits return a non-
  78. zero value to the shell.
  79. -?, --help
  80. Print program help summary on stdout. This option takes precedence over other options on the command line.
  81. -!, --version
  82. Print program version information on stdout. This option takes precedence over other options on the command line.
  83. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  84. the Linux Toolkit you are using.
  85. ARGUMENTS
  86. file The name of an Atheros image file. The image file may contain one or more images. Each image will be downloaded
  87. and executed in turn until all images are executed or an image fails to return the device to the Bootloader within
  88. 1 hour for some reason.
  89. EXAMPLES
  90. The following example sequentially downloads then executes each image in file abc.nvm in turn. Each image must complete
  91. and return to the bootloader before the next one downloads. Observe that no device address is needed because Atheros
  92. powerline devices all use address 00:b0:52:00:00:01 when in bootloader mode.
  93. # int6ktest abc.nvm
  94. The following example will sequentially download and execute the images in each file abc.nvm, def.nvm and ghi.nvm in
  95. turn.
  96. # int6ktest abc.nvm def.nvm ghi.nvm
  97. DISCLAIMER
  98. Atheros image file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public informa‐
  99. tion is not available. Qualcomm Atheros reserves the right to change file structure or content in future firmware
  100. releases without any obligation to notify or compensate users of this program. This program is reserved for use by
  101. Atheros Field Engineers. Use of this program may void some contractual obligations made by Atheros.
  102. SEE ALSO
  103. chknvm(1), chknvm2(1), amptest(1), nvmsplit(1), nvmmerge(1), plctest(1), setnvm(1)
  104. CREDITS
  105. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  106. open-plc-utils-0.0.3 Mar 2014 int6ktest(1)
  107. </pre>
  108. <div class='footerlink'>
  109. [<a href='int6kstat.1.html' title=' int6kstat.1 '>PREV</a>]
  110. [<a href='toolkit.html' title=' Index '>HOME</a>]
  111. [<a href='int6ktone.1.html' title=' int6ktone.1 '>NEXT</a>]
  112. </div>
  113. </body>
  114. </html>