chkpib.1 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. .TH chkpib 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. chkpib - Qualcomm Atheros PLC Parameter File Inspector
  4. .SH SYNOPSIS
  5. .BR chkpib
  6. .RI [ options ]
  7. .IR file
  8. .RI [ file ]
  9. [...]
  10. .SH DESCRIPTION
  11. This program checks Atheros HomePlug AV parameter files for obvious errors, including obsolete format, wrong file size, bad checksums and read errors.
  12. It makes no attempt to check internal information other than file length and checksum.
  13. .PP
  14. This program handles both the older \fBThunderbolt\fR and \fBLightning\fR and the newer \fBPanther\fR and \fBLynx\fR parameter file formats.
  15. It validates files directly from memory and so it is faster than program \fBchkpib\fR but needs more memory at runtime.
  16. .PP
  17. This program is part of the Qualcomm Atheros Powerline Toolkit.
  18. See the \fBAMP\fR man page for an overview and installation instructions.
  19. .SH OPTIONS
  20. .TP
  21. .RB - m
  22. Display manifest content, if present.
  23. The manifest is a special module, included in some image chains, that contains useful information about the chain.
  24. This option suppresses the summary 'looks good' message.
  25. .TP
  26. .RB - q
  27. Suppresses printing of progress messages.
  28. .TP
  29. .RB - v
  30. Print additional information such as the PIB header for each file processed.
  31. This information can be used to confirm pib version and distinguish one PIB file from another.
  32. .TP
  33. .RB - ? ,-- help
  34. Print program help summary on stdout.
  35. This option takes precedence over other options on the command line.
  36. .TP
  37. .RB - ! ,-- version
  38. Print program version information on stdout.
  39. This option takes precedence over other options on the command line.
  40. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.
  41. .SH ARGUMENTS
  42. .TP
  43. .IR file
  44. The name of a runtime parameter file.
  45. By convention, runtime parameter files have a \fB.pib\fR extention but this program does not enforce that convention.
  46. .SH DISCLAIMER
  47. Qualcomm Atheros parameter file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA.
  48. Consequently, public information is not available.
  49. Qualcomm Atheros reserves the right to change parameter file structure or content or change the name or behavior of any program that inspects or changes parameter files, in future software releases without any obligation to notify or compensate users of such programs.
  50. .SH EXAMPLES
  51. The next example reads file \fBabc.pib\fR and validates it.
  52. The message shown indicates that the PIB version is recent, the file is the correct size, the checksum is valid computes and there are no read errors.
  53. .PP
  54. # chkpib abc.pib
  55. abc.pib looks good
  56. .PP
  57. The next example reads three files and reports on each one.
  58. You can suppress good news with the \fB-q\fR option.
  59. Remember that "\fBlooking good\fR" does not mean "\fBis good\fR".
  60. .PP
  61. # chkpib INT6400.pib AR7400.pib AR7420.pib
  62. INT6400.pib looks good
  63. AR7400.pib looks good
  64. AR7420.pib looks good
  65. .PP
  66. The next example reads three files and displays selected information about each one because option \fB-v\fR is present.
  67. .PP
  68. # chkpib -v INT6400.pib AR7400.pib AR7420.pib
  69. ------- INT6400.pib -------
  70. PIB 4-2 10888 bytes
  71. MAC 00:B0:52:BA:BE:00
  72. DAK 68:9F:07:4B:8B:02:75:A2:71:0B:0B:57:79:AD:16:30 (HomePlugAV)
  73. NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
  74. NID B0:F2:E6:95:66:6B:03
  75. NET Intellon Enabled Network
  76. MFG Intellon HomePlug AV Device
  77. USR Intellon Enabled Product
  78. CCo Auto
  79. MDU N/A
  80. ------- AR7400.pib -------
  81. PIB 7-1 16352 bytes
  82. MAC 00:B0:52:00:00:08
  83. DAK F0:84:B4:E8:F6:06:9F:F1:30:0C:9B:DB:81:23:67:FF (HomePlugAV0123)
  84. NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
  85. NID B0:F2:E6:95:66:6B:03
  86. NET Atheros Enabled Network
  87. MFG Atheros HomePlug AV Device
  88. USR Intergalactic Software Pirates
  89. CCo Never
  90. MDU Slave
  91. ------- AR7420.pib -------
  92. PIB 0-2 10904 bytes
  93. MAC 00:B0:52:00:00:01
  94. DAK 68:9F:07:4B:8B:02:75:A2:71:0B:0B:57:79:AD:16:30 (HomePlugAV)
  95. NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
  96. NID B0:F2:E6:95:66:6B:03
  97. NET Atheros Enabled Network
  98. MFG Atheros HomePlug AV Device
  99. USR Atheros Enabled Product
  100. CCo Auto
  101. MDU N/A
  102. .PP
  103. This example prints the manifest found inside newer parameter files.
  104. This can be used to distinguish parameter files from firmware files, determine exact firmware or parameter file revisions and so forth.
  105. Observe that we specified several files on the command line but only one file, \fBAR7420.pib\fR, contained a manifest.
  106. .PP
  107. # chkpib -m INT6400.pib AR7400.pib AR7420.pib
  108. ------- AR7420.pib (0) -------
  109. Signature: 1234ABCD
  110. Hardware Compatibility: AR74200
  111. Chain Major Version: 0
  112. Chain Minor Version: 1
  113. Chain Type: Parameter Block
  114. Build Major Version: 0
  115. Build Minor Version: 0
  116. Build Type: Special
  117. Manifest Version: 1
  118. Build Number: 0
  119. Build Date: 20110811
  120. Build Time: 203853
  121. Device Type: 29728
  122. Build Hostname: TOR-SW-SIM04
  123. Build Username: buildbot
  124. Build Description: Custom
  125. Build Version String: AR-7420-FW-0_0-0_2-20110811:203853-buildbot:TOR-SW-SIM04-1-0_1
  126. .SH SEE ALSO
  127. .BR getpib (7 ),
  128. .BR modpib ( 1 ),
  129. .BR pib2xml ( 1 ),
  130. .BR pibcomp ( 1 ),
  131. .BR pibdump ( 1 ),
  132. .BR setpib ( 1 ),
  133. .BR xml2pib ( 1 )
  134. .SH CREDITS
  135. Charles Maier <cmaier@qca.qualcomm.com>
  136. Nathaniel Houghton <nhoughto@qca.qualcomm.com>