HW Production Test

    The Sangoma AFT production test (aft_prod) is used to fully test and update any card in the AFT (Advance Flexible Telecommunications) product line. The automated test confirms that all aspects of the card are working properly by passing data or audio from software to the hardware to a physical loop-back, back into hardware and up to software. The test can also be used to automatically updated AFT cards with the latest firmware.

    Aft_prod is a complete test suite including a specific Wanpipe driver version. All the releases of Aft-prod are thoroughly regression test before being released 

    Installation

    Cable Pinouts

    Amfeltec Board Operation.

    Operation-A200
    Operation-A400
    Operation-B600
    Operation-U100
    Operation-A101
    Operation-A102
    Operation-A104
    Operation-A108
    Operation-A500
    Operation-B700
    Operation-A301
    Operation-A56k
    Operation-A14X


    Installation

    Download the latest version of the Aft-prod test and associated Wanpipe drivers: aft_prod.tgz 

    Download the latest ISO version of Aft-prod running on top of Linux From Scratch: Sangoma-Aft-Prod-05-13-09.iso

    NOTE: Aft-prod uses Zaptel for some of the tests...you must have a symbolic link at /usr/src/zaptel that points to your Zaptel source files.
    Sangoma recommends using Zaptel-1.4.11...you can dowload this version from here.

    1. Save the archive to the location of your choice...Sangoma recommends /usr/src/
    2. Un-archive the source files.

      -> tar -xfz aft_prod-<version>.tgz

    3. Enter the newly created directory.
    4. Run the "Setup" script to have Aft-prod and all of it's components (including the Wanpipe drivers) installed automatically

      -> ./Setup

    The Setup script will now install the Wanpipe source files, the Aft_prod utility scripts, the latest firmware files, and finally the Aft_prod application.

    You will notice that the Setup script creates a new folder "/afirmware", this folder contains the test itself, the firmware files, and scipts used by the test.
    Do not delete any files from this folder!

    Aft-prod is run using scripts which are installed to /usr/sbin so that they can be run from anywhere in the linux command line.

     


     

    Amfeltec Board Operation.

     

    When the cards are inserted in the amfeltec board for the first time, make sure you run etsave

    etsave will save the pci express slot information.

    The reason is that so that you do not have to reboot the system everytime you want to test the same type of card.

    Scenario:

    Testing 4 A104 pci express with no hardware echo canceler.

    1. Insert loop back cables in the A104s (http://wiki.sangoma.com/Cablepinouts#t1loopback)
    2. Insert the cards in the amfeltec board.
    3. Switch on the amfeltec board
    4. Run etsave
    5. Run the test:
      a4 4 0 –x
      (card type)(number of cards)(number of echo canceler)(option pci express
    6. When test is completed, switch off the amfeltec board, remove cards, remove cables
    7. Insert new batch of A104s with connectors
    8. Switch on the amfeltec board
    9. Run etload
    10. Run the test :
      a4 4 0 –x

     

    Note:

    When you run etsave, you have to insert the same type of card when you run etload.

    If you put 4 cards at first, then you can later put only 1 card or 2 cards or 3 cards or 4 cards of the same type and run etload.

    However, if you inserted only 1 card or 2 cards or 3 cards at first, then in your second batch, you need to place the card(s) in the same slot as the first run test.

    e.g.

    If you used slot 1 and slot 2 for A104, then in second batch you can test 2 new A104 in slot 1 and slot 2 or you can test only 1 A104 in either slot 1 or slot 2.


    Operation-A200

    REQUIREMENT: To test this card you need to insert an A200 loop back plug in each port.
    REQUIREMENT: To test this card you need to have a A200 test module for each card.
    REQUIREMENT: To test this card you need to have an extra Molex power connector attached to each card.

    1. Insert a loop back connector into each port.
    2. Insert the dual A200 test module into the module sockets of the card.
    3. Insert the card into the test system and connect an extra Molex power connector to the card.
    4. Boot the computer and login as "root" to the linux command line.
    5. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A200 a200 1 0 a200 2 0 a200 3 0 a200 4 0
      A200E a200 1 0 -x a200 2 0 -x a200 3 0 -x a200 4 0 -x
      A200 w/no update a200 1 0 -n a200 2 0 -n a200 3 0 -n a200 4 0 -n
      A200E w/no update a200 1 0 -n a200 2 0 -n a200 3 0 -n a200 4 0 -n
      A200D a200 1 32 a200 2 32 a200 3 32 a200 4 32
      A200DE a200 1 32 -x a200 2 32 -x a200 3 32 -x a200 4 32 -x
      A200D w/no update a200 1 32 -n a200 2 32 -n a200 3 32 -n a200 4 32 -n
      A200DE w/no update a200 1 32 -n a200 2 32 -n a200 3 32 -n a200 4 32 -n

     

     

     

     

     

     

     

     

     

     

     


    Operation-A400

    REQUIREMENT: To test this card you need to insert an A400 loop back plug in each card.
    REQUIREMENT: To test this card you need to have 3x A400 test module for each card.
    REQUIREMENT: To test this card you need to have an extra Molex power connector attached to each card.

    1. Insert a loop back connector into each port.
    2. Insert the adual A400 test module into the module sockets of the card.
    3. Insert the card into the test system and connect an extra Molex power connector to the card.
    4. Boot the computer and login as "root" to the linux command line.
    5. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A400 a400 1 0 a400 2 0 a400 3 0 a400 4 0
      A400E a400 1 0 -x a400 2 0 -x a400 3 0 -x a400 4 0 -x
      A400 w/no update a400 1 0 -n a400 2 0 -n a400 3 0 -n a400 4 0 -n
      A400E w/no update a400 1 0 -n a400 2 0 -n a400 3 0 -n a400 4 0 -n
      A400D a400 1 32 a400 2 32 a400 3 32 a400 4 32
      A400DE a400 1 32 -x a400 2 32 -x a400 3 32 -x a400 4 32 -x
      A400D w/no update a400 1 32 -n a400 2 32 -n a400 3 32 -n a400 4 32 -n
      A400DE w/no update a400 1 32 -n a400 2 32 -n a400 3 32 -n a400 4 32 -n

     

     

     

     

     

     

     

     

     

     

     

     


    Operation-B600

    REQUIREMENT: To test this card you need to insert a B600 loop back plug in each card.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      B600 b600 1 0 b600 2 0 b600 3 0 b600 4 0
      B600E b600 1 0 -x b600 2 0 -x b600 3 0 -x b600 4 0 -x
      B600 w/no update b600 1 0 -n b600 2 0 -n b600 3 0 -n b600 4 0 -n
      B600E w/no update b600 1 0 -n b600 2 0 -n b600 3 0 -n b600 4 0 -n
      B600D b600 1 5 b600 2 5 b600 3 5 b600 4 5
      B600DE b600 1 5 -x b600 2 5 -x b600 3 5 -x b600 4 5 -x
      B600D w/no update b600 1 5 -n b600 2 5 -n b600 3 5 -n b600 4 5 -n
      B600DE w/no update b600 1 5 -n b600 2 5 -n b600 3 5 -n b600 4 5 -n

     

     

     

     

     

     

     

     

     

     

     


    Operation-U100

    1. Boot the computer and login as "root" to the linux command line.
    2. Start the test by using the correct entry from the table:
    1. Device Under Test 1 device to test
      U100 u100
      U100 w/no update u100 -n

     

     

     

     

     


    Operation-A101

    REQUIREMENT: To test this card you need to insert a T1/E1 loop back plug in each card.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A101 a1 1 0 a1 2 0 a1 3 0 a1 4 0
      A101E a1 1 0 -x a1 2 0 -x a1 3 0 -x a1 4 0 -x
      A101 w/no update a1 1 0 -n a1 2 0 -n a1 3 0 -n a1 4 0 -n
      A101E w/no update a1 1 0 -n a1 2 0 -n a1 3 0 -n a1 4 0 -n
      A101D a1 1 32 a1 2 32 a1 3 32 a1 4 32
      A101DE a1 1 32 -x a1 2 32 -x a1 3 32 -x a1 4 32 -x
      A101D w/no update a1 1 32 -n a1 2 32 -n a1 3 32 -n a1 4 32 -n
      A101DE w/no update a1 1 32 -n a1 2 32 -n a1 3 32 -n a1 4 32 -n

     

     

     

     

     

     

     

     

     

     

     


    Operation-A102

     REQUIREMENT: To test this card you need to insert a T1/E1 loop back plug into each port.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A102 a2 1 0 a2 2 0 a2 3 0 a2 4 0
      A102E a2 1 0 -x a2 2 0 -x a2 3 0 -x a2 4 0 -x
      A102 w/no update a2 1 0 -n a2 2 0 -n a2 3 0 -n a2 4 0 -n
      A102E w/no update a2 1 0 -n a2 2 0 -n a2 3 0 -n a2 4 0 -n
      A102D a2 1 64 a2 2 64 a2 3 64 a2 4 64
      A102DE a2 1 64 -x a2 2 64 -x a2 3 64 -x a2 4 64 -x
      A102D w/no update a2 1 64 -n a2 2 64 -n a2 3 64 -n a2 4 64 -n
      A102DE w/no update a2 1 64 -n a2 2 64 -n a2 3 64 -n a2 4 64 -n

     

     

     

     

     

     

     

     

     

     

     


    Operation A104

    REQUIREMENT: To test this card you need to insert a T1/E1 loop back plug into each port.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A104 a4 1 0 a4 2 0 a4 3 0 a4 4 0
      A104E a4 1 0 -x a4 2 0 -x a4 3 0 -x a4 4 0 -x
      A104 w/no update a4 1 0 -n a4 2 0 -n a4 3 0 -n a4 4 0 -n
      A104E w/no update a4 1 0 -n a4 2 0 -n a4 3 0 -n a4 4 0 -n
      A104D a4 1 128 a4 2 128 a4 3 128 a4 4 128
      A104DE a4 1 128 -x a4 2 128 -x a4 3 128 -x a4 4 128 -x
      A104D w/no update a4 1 128 -n a4 2 128 -n a4 3 128 -n a4 4 128 -n
      A104DE w/no update a4 1 128 -n a4 2 128 -n a4 3 128 -n a4 4 128 -n

     

     

     

     

     

     

     

     

     

     

     


    Operation-A108

    REQUIREMENT: To test this card you need to insert a A108 T1/E1 loop back plug into each port.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A108 a8 1 0 a8 2 0 a8 3 0 a8 4 0
      A108E a8 1 0 -x a8 2 0 -x a8 3 0 -x a8 4 0 -x
      A108 w/no update a8 1 0 -n a8 2 0 -n a8 3 0 -n a8 4 0 -n
      A108E w/no update a8 1 0 -n a8 2 0 -n a8 3 0 -n a8 4 0 -n
      A108D a8 1 256 a8 2 256 a8 3 256 a8 4 256
      A108DE a8 1 256 -x a8 2 256 -x a8 3 256 -x a8 4 256 -x
      A108D w/no update a8 1 256 -n a8 2 256 -n a8 3 256 -n a8 4 256 -n
      A101DE w/no update a8 1 256 -n a8 2 256 -n a8 3 256 -n a8 4 256 -n

     

     

     

     

     

     

     

     

     

     


    Operation-A500

    REQUIREMENT: To test this card you need to insert a BRI loop back plug in each card.
    REQUIREMENT: To test this card you need 3x BRI tester module for each card.
    REQUIREMENT: To test this card you need a Line Power loop back plug for each card.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      a500 a500 1 0 a500 2 0 a500 3 0 a500 4 0
      a500E a500 1 0 -x a500 2 0 -x a500 3 0 -x a500 4 0 -x
      a500 w/no update a500 1 0 -n a500 2 0 -n a500 3 0 -n a500 4 0 -n
      a500E w/no update a500 1 0 -n a500 2 0 -n a500 3 0 -n a500 4 0 -n
      a500D a500 1 64 a500 2 64 a500 3 64 a500 4 64
      a500DE a500 1 64 -x a500 2 64 -x a500 3 64 -x a500 4 64 -x
      a500D w/no update a500 1 64 -n a500 2 64 -n a500 3 64 -n a500 4 64 -n
      a500DE w/no update a500 1 64 -n a500 2 64 -n a500 3 64 -n a500 4 64 -n

     

     

     

     

     

     

     

     

     

     


    Operation-B700

    REQUIREMENT: To test this card you need to insert a BRI loop back plug in each card.
    REQUIREMENT: To test this card you need to insert a Analog loop back plug in each card.
    REQUIREMENT: To test this card you need 2x BRI tester module for each card.
    REQUIREMENT: To test this card you need a Analog tester module for each card.
    REQUIREMENT: To test this card you need a Line Power loop back plug for each card.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      b700 b700 1 0 b700 2 0 b700 3 0 b700 4 0
      b700E b700 1 0 -x b700 2 0 -x b700 3 0 -x b700 4 0 -x
      b700 w/no update b700 1 0 -n b700 2 0 -n b700 3 0 -n b700 4 0 -n
      b700E w/no update b700 1 0 -n b700 2 0 -n b700 3 0 -n b700 4 0 -n
      b700D b700 1 16 b700 2 16 b700 3 16 b700 4 16
      b700DE b700 1 16 -x b700 2 16 -x b700 3 16 -x b700 4 16 -x
      b700D w/no update b700 1 16 -n b700 2 16 -n b700 3 16 -n b700 4 16 -n
      b700DE w/no update b700 1 16 -n b700 2 16 -n b700 3 16 -n b700 4 16 -n

     

     

     

     

     

     

     

     

     

     


    Operation-A301

     

    REQUIREMENT: To test this card you need to connect the RX connector to the TX connector on each card.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A301 a301 1  a301 2  a301 3  a301 4
      A301 w/no update a301 1 -n a301 2 -n a301 3 -n a301 4 -n

     

     

     

     


    Operation-A56k

    REQUIREMENT: To test this card you need to insert a 56K DDS loop back plug in each card.

    1. Insert a loop back connector into each card.
    2. Boot the computer and login as "root" to the linux command line.
    3. Start the test using the correct entry from the table:

      Card under test 1 card to test 2 cards to test 3 cards to test 4 cards to test
      A56K a056 1  a056 2  a056 3  a056 4
      A56K w/no update a056 1 -n a056 2 -n a056 3 -n a056 4 -n

     

     

     

     


    Operation-A14X

    Currently Not Supported