OpenWrt Forum Archive

Topic: old openwrt upgrade to RC4 , is it possible?

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have a wrt54gs v.2.0  with an instalation of openwrt from March - 2005 (BusyBox v1.00 (2005.02.02-09:17+0000) Built-in shell (ash).
Well 

1) I ve backup the existing openwrt install, with  the command:
      dd if=/dev/mtdblock/1 of=/tmp/firmware.trx

2)  "openwrt-brcm-2.4-squashfs.trx"  ....  wget this file into  /tmp/ and run the following command to reflash
      mtd -r write openwrt-brcm-2.4-squashfs.trx linux

error message:
        no valid command given (propably I have old version of mtd)

3) Download   http://downloads.openwrt.org/people/wbx/mtd.static  file into  /tmp/ and run the following command to reflash
      ./mtd.static -r write openwrt-brcm-2.4-squashfs.trx linux

Then starting unpacking linux .... something else I cant remember and finaly tell me that it can not delete mtd.
and then back again in root.  no reboot ...nothing   

manual reboot ... na change to firmware but the files /tmp/firmware.trx and openwrt-brcm-2.4-squashfs.trx had dissapeared

So is any other way to upgrade my openwrt?

Thanks in advance ! 

smile

mnezor wrote:

So is any other way to upgrade my openwrt?

You always can use TFTP as long as boot_wait is on.

Set boot_wait=on (don't forget to commit) and flash the openwrt-wrt54gs-squashfs.bin image with the flash utility from your PC.

(Last edited by olli_04 on 5 Dec 2005, 21:24)

tftp if boot_wait is on.  You can tftp up.

http://wiki.openwrt.org/OpenWrtDocs/Ins … f9e8fd9d19

I just upgraded from RC3 to RC4 doing this.  On a WRT54GS v4.

The only problem with this method is that it deletes everything you have customized on the router.  I keep a script I can run to make my routers exactly the way I want them - so I can reflash my firmware all day and have the router exactly configured in under 5 minutes.

Hopefully someone with more experiance with .trx files will post a reply as well.  I have never used them so all i know is tftp.

Of course there is the TFTP method ...but this is my final option..


as you said this  method will  delete everything I have customized on my the router...configurations , packages ....etc...

So any other idea..?

Thanks for your time. smile

mnezor wrote:

So any other idea..?

No.

Btw. you've to make the customized parts new anyway. Your changes you made the in old version won't work in RC4 since lots of things changed.

(Last edited by olli_04 on 5 Dec 2005, 21:59)

The discussion might have continued from here.