Wanpipe Linux AFT Firmware Update Instructions


    Netborder Express Gateway NOTICE: the wanpipe directory is located in the sangoma/ directory inside your setup.tar.gz. Also, since Netborder express does not use the wanpipe configuration files to start the drivers (uses pstn-config.xml file) in order to manually stop all devices before proceeding with the firmware update you may need to execute: "wanrouter stop force", that will stop all devices even if there is no wanpipex.conf in /etc/wanpipe 


     

    The Firmware Update utility is located in: /etc/wanpipe/util/wan_aftup
    directory which was created by untaring the wanpipe release. 

    Note* If you are using Trixbox/Elastix/AsteriskNow, this utility is located in: /etc/wanpipe/firmware/wan_aftup

     

    1. Determine your current firmware version by typing the following:
      wanrouter hwprobe

      The firmware version will be the number at the very end of the output following 'V' 
      i.e.  AFT-XXXX : SLOT=0 : BUS=5 : IRQ=10 : CPU=A : PORT=1 : HWEC=128 : V=37
      -
    2.  Below are the latest BIN files for your Sangoma Card that should be available to you from the firmware update utility.  If you notice that the utility does provide an update to the latest BIN, then following Chart and save into /etc/wanpipe/util/wan_aftup (Trixbox: /etc/wanpipe/firmware/wan_aftup)

      AFT Card Model Bin File Download Change Log Release Date
      T116 v01
      v01-base
      More Info (2012-12-31)
      A116 v44 More Info (2012-05-14)
      A108 v44 More info (2010-08-24)
      A104 v44 More info (2011-06-29)
      A102 v39 More info (2012-09-28)
      A101 v39 More info  (2012-09-28)
      A200 v13 More info (2009-12-10)
      A400 v11 More info  (2008-07-10)
      A104(pmc framer) v26 More info  (2007-07-10)
      A301 v11 More info (2007-07-10)
      A14X v07 More info (2008-10-28)
      A500 v35 More info (2009-04-30)
      B600  v03 More Info (2009-05-08)
      B601 v04 More info   (2009-05-08)
      B500 v44 More Info (2012-09-07)
      B700 v35 More Info (2009-07-03)
      U100 v21 More Info (2009-09-11)

       


      Archived firmware files: ftp.sangoma.com/firmware
      -
    3.  Make sure Wanpipe modules are unloaded, type:
      -> wanrouter stop
      -> wanrouter modules #Check for loaded wanpipe modules
      -
    4. Start update program
      -> ./update_aft_firm.sh

      => specify interface name that corresponds to your AFT card, based on the hw probe list displayed.  (you must write the actual interface name, and not just press enter)
      => Specify the desired firmware version from the list displayed
      => At this point firmware update will begin...
      => Once the flashing is done, select Y to reload firmware.
      (This step only reloads flash, not your machine!)

             IMPORTANT: If you select N for this step, you will have to reboot the machine for the new firmware to take effect.

      => End of firmware update

    AFT Firmware Recovery

    All AFT cards contain DUAL Firmware flash devices.  The primary flash device, is used to bootstart the AFT card on boot up.  During AFT card flashing, the new firmware is stored into the primary flash device.

    If a machine crashed during card flashing or for some reason flashing failes that causes primary flash device to become corrupted, the card would be rendered useless.  In this scenario the secondary flash device can be selected to boot the card, which would allow a user to re-flash the primary device again.

    In order to select the secondary flash device, one must boot the AFT card with firmware recovery jumpers set.  Please refer to sections below for firmware jumper settings of each AFT card.

    1. Shutdown the machine and take out the AFT card
    2. Set the Firmware recover jumper.  Refer to here for each AFT card.
    3. Restart the machine with firmware recover jumpers set.
    4. Proceed to re-flash the card, as described above.
    5. Once re-flashing is completed, shutdown the machine and remove flash recover jumpers.
    6. Restart the machine with new card firmware.



    IMPORTANT:

    If you have a A101/2 (single-port or dual-port T1/E1 card) read this !