chknvm(7)                           Atheros Powerline Toolkit                           chknvm(7)

NAME
       chknvm - Atheros Firmware File Validator

SYNOPSIS
       chknvm [options] file [file] [...]

DESCRIPTION
       The  Atheros Firmware File Validator checks Atheros HomePlug AV firmware files for obvious
       errors, including obsolete format, incorrect file size, bad checksums and read errors.  It
       makes  no  attempt to check any internal information other than firmware header checksums,
       image lengths and image checksums.

       This program is part of the Atheros Powerline  Toolkit.  See  the  AMP  man  page  for  an
       overview and installation instructions.

OPTIONS
       -r     Print  firmware revision string on stdout. This option automatically suppresses the
              summary ’looks good’ message.

       -s     Print SDRAM configuration block on stdout. This option automatically suppresses the
              summary ’looks good’ message.

       -q     Suppresses  printing  of  routine messages. Specifically, it suppresses the summary
              ’looks good’ message.

       -v     Print additional information such as the image header  for  each  image  processed.
              This  information can be used to distinguish one firmware file from another, if you
              know what to look for.

       -?,--help
              Print program help summary on stdout.  This  option  takes  precedence  over  other
              options on the command line.

       -!,--version
              Print  program  version  information  on  stdout. This option takes precedence over
              other options on the command line. Usethis option  when  sending  screen  dumps  to
              Atheros  Technical  Support  so  that  they know exactly which version of the Linux
              Toolkit you are using.

ARGUMENTS
       file   The name of an Atheros image file. By convention, Atheros Image files have  a  .nvm
              file extension but this program does not enforce this convention.

EXAMPLES
       The  following  example  reads  file abc.nvm and validates it. The message shown indicates
       that the file is the correct length, image headers and images have the correct length  and
       checksum and there are no read errors.

           # chknvm abc.nvm
           chknvm: abc.nvm looks good

       The  following  example  reads  three files in succession and reports on each one. You can
       suppress good news with the -q option.

           # chknvm abc.nvm def.nvm ghi.nvm
           chknvm: abc.nvm looks good
           chknvm: def.nvm is corrupt
           chknvm: ghi.nvm looks good

       The following example displays the SDRAM image found in firmware files having  names  that
       match  the  wildcard  pattern int6000-v3.0.2-*.nvm. We can see that type A is for 32mb ram
       devices and type B is for 16mb ram devices. Program output could have been sent to a  file
       and saved for later reference.

           # chknvm -s int6000-v3.0.2-*.nvm
           ------- int6000-v3.0.2-0-2-A-FINAL.nvm -------
                   SIZE=0x02000000 (32mb)
                   CONF=0x00143188
                   TIM0=0x01E1D491
                   TIM1=0x000883D6
                   CNTRL=0x00003089
                   REF=0x00000366
                   CLOCK=0x00000001
           ------- int6000-v3.0.2-0-2-B-FINAL.nvm -------
                   SIZE=0x01000000 (16mb)
                   CONF=0x00142F68
                   TIM0=0x0115124E
                   TIM1=0x000883D6
                   CNTRL=0x00003089
                   REF=0x00000493
                   CLOCK=0x00000001

       The following example prints the internal firmware revision string from the firmware image
       block. The can be used to identify the actual firmware image contained in the file.

           # chknvm -r abc.nvm
           INT6000-MAC-3-1-3183-1713-20071222-FINAL

DISCLAIMER
       Firmware file structure and content is proprietary to  Atheros  Communications,  Ocala  FL
       USA.  Consequently,  public  information is not available. Atheros Communications reserves
       the right to change file structure or content in  future  firmware  releases  without  any
       obligation to notify or compensate users of this program.

SEE ALSO
       chknvm2(7), chkpib(7), int6kf(7), int6ktest(7), nvmmerge(7), nvmsplit(7), setnvm(7)

CREDITS
        Charles Maier <charles.maier@atheros.com>

int6000-utils-linux            Atheros Communications, Ocala FL USA                     chknvm(7)