chkpib1.1 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. .TH chkpib1 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. chkpib1 - Qualcomm Atheros PLC Parameter File Inspector
  4. .SH SYNOPSIS
  5. .BR chkpib1
  6. .RI [ options ]
  7. .IR file
  8. .RI [ file ]
  9. [...]
  10. .SH DESCRIPTION
  11. The Qualcomm Atheros Parameter File Validator checks Qualcomm Atheros powerline parameter files for obvious errors, including obsolete format, wrong file size, bad checksums and read errors.
  12. It makes no attempt to check any 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 disk and so it is slower than program \fBchkpib2\fR but needs less 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.
  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. # chkpib1 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. # chkpib1 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. Ov course, program output could be piped to a file and used for documentation purposes.
  68. .PP
  69. # chkpib1 -v INT6400.pib AR7400.pib AR7420.pib
  70. ------- INT6400.pib -------
  71. PIB 4-2 10888 bytes
  72. MAC 00:B0:52:BA:BE:00
  73. DAK 68:9F:07:4B:8B:02:75:A2:71:0B:0B:57:79:AD:16:30 (HomePlugAV)
  74. NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
  75. NID B0:F2:E6:95:66:6B:03
  76. NET Intellon Enabled Network
  77. MFG Intellon HomePlug AV Device
  78. USR Intellon Enabled Product
  79. CCo Auto
  80. MDU N/A
  81. ------- AR7400.pib -------
  82. PIB 7-1 16352 bytes
  83. MAC 00:B0:52:00:00:08
  84. DAK F0:84:B4:E8:F6:06:9F:F1:30:0C:9B:DB:81:23:67:FF (HomePlugAV0123)
  85. NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
  86. NID B0:F2:E6:95:66:6B:03
  87. NET Atheros Enabled Network
  88. MFG Atheros HomePlug AV Device
  89. USR Intergalactic Software Pirates
  90. CCo Never
  91. MDU Slave
  92. ------- AR7420.pib -------
  93. PIB 0-2 10904 bytes
  94. MAC 00:B0:52:00:00:01
  95. DAK 68:9F:07:4B:8B:02:75:A2:71:0B:0B:57:79:AD:16:30 (HomePlugAV)
  96. NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
  97. NID B0:F2:E6:95:66:6B:03
  98. NET Atheros Enabled Network
  99. MFG Atheros HomePlug AV Device
  100. USR Atheros Enabled Product
  101. CCo Auto
  102. MDU N/A
  103. .PP
  104. This example prints the manifest found inside newer parameter files.
  105. This can be used to distinguish parameter files from firmware files, determine exact firmware or parameter file revisions and so forth.
  106. Observe that we specified several files on the command line but only one file, \fBAR7420.pib\fR, contained a manifest.
  107. .PP
  108. # chkpib1 -m INT6400.pib AR7400.pib AR7420.pib
  109. ------- AR7420.pib (0) -------
  110. Signature: 1234ABCD
  111. Hardware Compatibility: AR74200
  112. Chain Major Version: 0
  113. Chain Minor Version: 1
  114. Chain Type: Parameter Block
  115. Build Major Version: 0
  116. Build Minor Version: 0
  117. Build Type: Special
  118. Manifest Version: 1
  119. Build Number: 0
  120. Build Date: 20110811
  121. Build Time: 203853
  122. Device Type: 29728
  123. Build Hostname: TOR-SW-SIM04
  124. Build Username: buildbot
  125. Build Description: Custom
  126. Build Version String: AR-7420-FW-0_0-0_2-20110811:203853-buildbot:TOR-SW-SIM04-1-0_1
  127. .SH SEE ALSO
  128. .BR getpib (7 ),
  129. .BR modpib ( 1 ),
  130. .BR pib2xml ( 1 ),
  131. .BR pibcomp ( 1 ),
  132. .BR pibdump ( 1 ),
  133. .BR setpib ( 1 ),
  134. .BR xml2pib ( 1 )
  135. .SH CREDITS
  136. Charles Maier <cmaier@qca.qualcomm.com>
  137. Nathaniel Houghton <nhoughto@qca.qualcomm.com>