Page 1 of 2

Won't boot after firmware upgrade

Posted: Thu Jul 02, 2015 9:05 pm
by KeesH
New WS 12 -250B Attempted to upgrade firmware. It did not finish.
Using the serial port, I get

Platform: VCore-III (MIPS32 24KEc) LUTON26
RAM: 0x80000000-0x88000000 [0x80021b68-0x87fafffc available]
FLASH: 0x40000000-0x40ffffff, 64 x 0x40000 blocks
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load -d linux
** Warning - checksum failure. stored: 0xa9ae88d4, computed: 0xdcb6be26
** Use -f to force decompress despite CRC error.
decompression error: CRC failure
RedBoot> go
No entry point known - aborted

Can I recover this???

Re: Won't boot after firmware upgrade

Posted: Thu Jul 02, 2015 9:27 pm
by sirhc
Eric is off line but I sent him a skype.

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 9:45 am
by Eric Stern
You can try "fis load -d -f linux".

If that doesn't work try "fis load -d linux_recovery". If the recovery image boots then I can give you instructions on how to recover it.

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 10:41 am
by KeesH
It loaded the linux_recovery

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 10:43 am
by sirhc
Eric will be back after lunch, he had to run over to the location where we assemble our PCBs (boards)

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 3:53 pm
by Eric Stern
Download this file: firmware/recovery.tar.gz

You will need a terminal program that can send files with Xmodem. I use SecureCRT, which you can download as a 30 day demo.

The commands below get the latest stable firmware from the Netonix server. If your switch cannot access the internet you will have to get this file and put it on a web server the switch can get to and change the URL in the "wget" command accordingly.

If you are at the RedBoot prompt enter "fis load -d linux_recovery", and then "go".

After you see the "i2c_vcoreiii i2c_vcoreiii: i2c bus driver on IRQ 19" message hit ENTER and you should have a command prompt.

Enter these commands:
Code: Select all
 
cd /tmp
rx recovery.tar.gz
<now use your terminal program to send the recovery.tar.gz file using Xmodem>
tar -xzf recovery.tar.gz
for i in `cat /proc/switch/status | grep -v Down | cut -b 1-2`; do ./switch -t $i; done
wget http://forum.netonix.com/firmware/wispswitch-1.2.2.bin
tar -xjf wispswitch-1.2.2.bin
./mtd -p -F linux write kernel.img linux
./mtd -q write fisdir "FIS directory"
./mtd -q write redundant_fisdir "Redundant FIS"
./mtd -p write rootfs.img rootfs
./mtd -q write redboot_config "RedBoot config"
reboot


The switch should now be up and running.

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 4:06 pm
by KeesH
The ethernet ports of the switch are not enabled. Can I use xmodem to upload?

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 4:25 pm
by Eric Stern
Yep. Instead of the wget command use "rx wispswitch-1.2.2.bin". Unfortunately it will take about 25 minutes.

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 5:12 pm
by KeesH
Yup at ~4000 cps = `25 minutes, you must have done it before :-)

Up and running - Thank you very much.

Re: Won't boot after firmware upgrade

Posted: Fri Jul 03, 2015 5:13 pm
by KeesH
Had the console still open. Do I need to be concerned about this?

mini_fo_lookup: ERROR, meta data corruption detected.
mini_fo_d_delete: negative dentry passed.
mini_fo_d_release: no private data.