Bluegiga Access Server FAQ


Recovery

Q: How do I reflash the system using TFTP?

Access Server does not boot up properly. I can't get to command prompt and I can't reflash it using WWW interface or USB memory dongle. Can I boot it up or reflash using TFTP to fix it?

A: Yes, in most cases you can use TFTP to fix it:

You can reflash the system using TFTP, if you can still get to bootloader prompt:
  1. Power on Access Server with terminal application connected to RS232 port
  2. Activate console with pressing b key in 5 seconds after the power on
  3. Press another key (not b) at Uboot boot to abort autoboot
    Hit any key to stop autoboot:0
    Uboot>
Choose correct TFTP instructions:
  1. AS with serial number smaller than 0607240000, running SW 2.2
  2. AS with serial number smaller than 0607240000, running SW 3.1 or later
  3. AS with serial number bigger than 0607240000, running SW 3.0 or later
For Access Servers running SW 2.1.0 or older, please contact Bluegiga Support

TFTP instructions for AS running SW 2.2, serial number smaller than 0607240000

  1. Install a TFTP server to a host in the same network where Access Server is connected. A nice TFTP server for windows is Solarwinds TFTP (Default setting "Received only" must be changed to "Receive and transmit")
  2. Get Access Server software release 2.2, available from Bluegiga Techforum
  3. From the zip file, extract reflash.wpk. Rename it to reflash.tgz, and extract files uImage and fs8.jffs2 from there (use tar or WinZip)
  4. Copy files uImage and fs8.jffs2 to the TFTP server's root directory. (c:\TFTP-Root or c:\ in Solarwinds TFTP)
  5. Power on Access Server with terminal application connected to RS232 port and also Ethernet cable connected. Activate console with pressing b key in 5 seconds after the power on
  6. Press another key (not b) at UBoot boot to abort autoboot:
    Hit any key to stop autoboot: 0
    WRAP Uboot>
    
  7. Give following commands: (fill your own IP addresses)
    WRAP Uboot> set bootargs console=ttySA0,115200 root=mtdblock/2 rw; save 
    WRAP Uboot> set serverip <your TFTP server's ip address> 
    WRAP Uboot> set ipaddr <valid, free IP address in your network>
    WRAP Uboot> tftp 21000000 uImage ; cp.b 21000000 c0021000 $filesize
    WRAP Uboot> tftp 21000000 fs8.jffs2 ; cp.b 21000000 c0103e00 $filesize
    WRAP Uboot> boot
    
  8. You are done

TFTP instructions for AS running SW 3.1 or later and serial number smaller than 0607240000)

  1. Install a TFTP server to a host in the same network where Access Server is connected. A nice TFTP server for windows is Solarwinds TFTP (Default setting "Received only" must be changed to "Receive and transmit")
  2. Get the latest Access Server software upgrade WPK for Access Servers with serial number smaller than 0607240000 in file reflash-df-x.y-z.wpk, available from SDK page (requires SDK download username and password) or Bluegiga Techforum
  3. Rename the file to reflash-df.tgz, and extract files uImage and root.df from directory dev/shm/phantom
  4. Copy files uImage and root.df to the TFTP server's root directory. (c:\TFTP-Root or c:\ in Solarwinds TFTP)
  5. Power on Access Server with terminal application connected to RS232 port and also Ethernet cable connected. Activate console with pressing b key in 5 seconds after the power on
  6. Press another key (not b) at UBoot boot to abort autoboot:
    Hit any key to stop autoboot: 0
    WRAP Uboot>
    
  7. Give following commands: (fill your own IP addresses)
    WRAP Uboot> set serverip <your TFTP server's ip address> 
    WRAP Uboot> set ipaddr <valid, free IP address in your network>
    WRAP Uboot> tftp 21000000 uImage;  cp.b 21000000 c0042000 $filesize
    WRAP Uboot> tftp 21000000 root.df; cp.b 21000000 c0210000 $filesize
    WRAP Uboot> boot
    
  8. You are done

TFTP instructions for AS running SW 3.0 or later, serial number bigger than 0607240000

  1. Install a TFTP server to a host in the same network where Access Server is connected. A nice TFTP server for windows is Solarwinds TFTP (Default setting "Received only" must be changed to "Receive and transmit")
  2. Get the latest Access Server software upgrade WPK for Access Servers with serial number bigger than 0607240000 in file reflash-if-x.y-z.wpk, available from SDK page (requires SDK download username and password) or Bluegiga Techforum
  3. Rename the file to reflash-if.tgz, and extract files uImage and root.if from directory dev/shm/phantom
  4. Copy files uImage and root.if to the TFTP server's root directory. (c:\TFTP-Root or c:\ in Solarwinds TFTP)
  5. Power on Access Server with terminal application connected to RS232 port and also Ethernet cable connected. Activate console with pressing b key in 5 seconds after the power on
  6. Press another key (not b) at UBoot boot to abort autoboot:
    Hit any key to stop autoboot: 0
    WRAP Uboot>
    
  7. Give following commands: (fill your own IP addresses)
    Uboot> set serverip <your TFTP server's ip address> 
    Uboot> set ipaddr <valid, free IP address in your network>
    Uboot> tftp 21000000 uImage; erase 10040000 101fffff;cp.b 21000000 10040000 ${filesize}
    Uboot> tftp 21000000 root.if;erase 10200000 107fffff;cp.b 21000000 10200000 ${filesize}
    Uboot> boot
    
  8. If you are recovering AS with SW 3.0, use reflash-if-x.y-z.wpk to upgrade it to the latest version (SW 3.0 bootloader has a bug related to booting, which is fixed in 3.1 and newer versions)
  9. You are done

Other Resoures


Copyright © Bluegiga Technologies Inc, 2001-2007