This post is a complete step-by-step guide to restore original firmware on the GigaNAS after a failed update.
Useful article, forum & blog:
- WinRAR – Used to extract files from TGZ archive
- PuTTY – Used to connect via serial port (COM1)
- TFTPD32 – Used to send firmware files via TFTP
- Original MRT firmware – G5S52256202 – Used to restore the firmware
After you have downloaded all required software, follow these steps to restore the firmware on your GigaNAS:
- First you need to connect the GigaNAS to the PC using the serial port adapter RS232 TTL It’s importat to check the output Voltage of the adapter: only 3.3Volt will work, if you use a 5volt converter, you will burn out your NAS!
The photo below is an example of the electronics circuit:
On the GigaNAS motherboard, there is a JP1 connector with 4 pins (left to right): Vcc (3.3 Volt) – TX (Trasmission Data Line)- RX (Receiver Data Line) – Not Present – GND (Signal Ground):
The electronic circuit of the serial port adapter could be as follow: ATTENTION: Connect only TX, RX & GND lines because the Vcc line is a source on both circuit and you will shortcut this line on the NAS!
- When you have connected all circuits: PC –> COM1 –> Adapter RS232\TTL –> JP1 –> NAS, you can test the connection using PuTTY.
Start PuTTY, click “Connection” –> “Serial” and set all parameters as below:
Then click on “Session”, select “Serial”, set “COM1” & “19200” as below:
Click “Open” button.
- Now, turn on the NAS and if all cable are connected correctly, you should see something like this:
Storlink SL351x Boot Loader [Linux], version
Built by linux,
15:50:42, Jul 6 2007
CPU Rate: 300000000
1 Address: 00:50:C2:11:11:11
MAC 2 Address:
Set LED 4 as
End of set LED!!
Set LED 5 as on!!
End of set LED!!
enter ^C to abort
booting within 3 seconds ……
If you don’t see this screen, you need to check the cable connection because it’s the main cause for problems. Check TX, RX and GND connection cables and application settings.
- When you are able to see the information above, you need to press Ctrl + C when you turn on the NAS.
- Install or Extract the TFTPD32 program into C:\NAS
- Use WinRAR to extract the original MRT firmware into C:\NAS to have: zImage, rd.gz and hddapp.tgz files. Now you should have c:\NAS folder with these files:
- Click on TFTPD32, set the “Current Directory” to C:\NAS and select the “Server Interfaces” you will use to send the firmware files via Ethernet:
- Connect the PC and NAS to a router via Ethernet cable to be able to send firmware files via TFTP server.
- Turn on the NAS and press Ctrl+C to enter in the boot loader menu.
- Press “Y” on the boot loader menu, then press “2”, enter your tftp server IP (it’s the IP address of the PC which TFTPD32 runs), press “Enter”, type “zImage” and press “Enter”.
- Press “R” on the boot loader menu, then press “2”, enter your tftp server IP, press “Enter”, type “rd.gz” and press “Enter”.
- Press “A” on the boot loader menu, then press “2”, enter your tftp server IP, press “Enter”, type “hddapp.tgz” and press “Enter”.
- Press “1” on the boot loader menu or manually shutdown/restart the NAS.
- Now you should see your NAS booting normally.
If you need help, please ask on the Forum