You may follow these instructions to attempt to recover from a failure if you wish, they will still work.
But you can also try to have it done automatically with our recovery tool check this post for details
So you had a power failure during a firmware upgrade or something happened and now your switch will not boot.
Follow these instructions to recover your switch by re-installing the firmware via the console port:
NOTE: In the example below I am using firmware v1.5.12 - PLEASE USE LATEST FIRMWARE VERSION AVAILABLE FOR RECOVERY
Do NOT use an older version of the firmware as some older versions of the firmware are not compatible with all models of switches.
You may use a "newer" version just change the text below regarding the file names.
Even if you had an older version before do NOT use it, USE the latest firmware.
You will need to download the file "recovery.tar.gz" which you can download here:
http://forum.netonix.com/firmware/recovery.tar.gz
Now you need a console connection to the switch that supports XMODEM file transfers.
In this exercise I am using HyperTerminal Private Edition (HTPE) which you can download here:
http://hyperterminal-private-edition-htpe.en.softonic.com/download
You will need to know the com port of your serial port.
You will also need a NULL Modem Serial Cable.
Once you install HTPE configure it to connect to your switch via the console port with the following settings:
Baud: 115200
Data Bits: 8
Stop Bits: 1
Parity: None
Flow Control: XON/XOFF
Once you configure HTPE and connect to the switch console port you should come to a Linux style prompt of the switch or the boot loader prompt "RedBoot >".
If you are at the RedBoot > prompt wrote:< Copy and paste this line >
- Code: Select all
fis load -d linux_recovery
Now type "go" and Press [Enter]
After you see the "i2c_vcoreiii i2c_vcoreiii: i2c bus driver on IRQ 19" message hit ENTER and you should have a Linux prompt.
< Copy and paste these 2 lines in>
- Code: Select all
cd /tmp
rx recovery.tar.gz
< Use X-Modem to send the recovery.tar.gz - THIS TAKES A FEW MINUTES>
Press [Enter]
< Copy and paste this line in>
- Code: Select all
tar -xzf recovery.tar.gz
Press [Enter]
< Copy and paste this line in to tell the switch to receive the firmware via XMODEM >
- Code: Select all
rx wispswitch-1.5.12.bin
< Use XMODEM in HTPE to upload firmware file - THIS TAKES 75+/- MINUTES >
Press [Enter]
< Copy and paste these lines in >
- Code: Select all
tar -xjf wispswitch-1.5.12.bin
FISDIR="FIS directory"
REDUNDANT_FISDIR="Redundant FIS"
REDBOOT_CONFIG="RedBoot config"
if [ -n "`dmesg|grep mt25ql512a`" ]; then
cp fisdir_mt25ql512a fisdir
FISDIR="FIS directory 512"
REDUNDANT_FISDIR="Redundant FIS 512"
REDBOOT_CONFIG="RedBoot config 512"
fi
./mtd -p -F linux write kernel.img linux
./mtd -q write fisdir "$FISDIR"
./mtd -q write fisdir "$REDUNDANT_FISDIR"
./mtd -p write rootfs.img rootfs
./mtd -q write redboot_config "$REDBOOT_CONFIG"
reboot
NOTE: Once you paste this in you will need to wait awhile, do NOT rush it, let it do it's thing.
Press [Enter]
You are done!