Sysupgrade not flashing (WRT3200)

Hello,

I'm trying to flash my WRT3200 from an old snapshot firmware to a new one.
I got no errors during flashing, however after the reboot I still found the old firmware.
The firmware partition is correctly switched (WRT3200 has a dual firmware architecture), so is not an issue related to reboot.

Any idea for fixing this issue?

see commit

2 Likes

Thanks, however I'm on last commit, so I already have this fix.
I also checked manually the file and it's ok.

What is the version you are trying to flash away from?

1 Like

From a snapshot release built last August, commit dd1bfbe971

I assume by this you mean you manually edited the fix into the file of the image currently running, as an image at that commit would contain the issue which manifested in July..

1 Like

Yes, I had already tried to manually fix the file.
However, after manually fixing the file and performing a sysupgrade the system did not reboot.
So, I had to fallback to the partition containing the current firmware

i had to get over this step last summer by forcing the new 'factory' image to both partitions, then sysupgrading twice to get a sysupgrade image on both partions. since then, subsequent flashes have been fine.
if you ssh into the router, copy the openwrtxxx.img to /tmp, and make sure it's the correct version for your hardware. then get your courage up and mtd write it to both kernel1 and kernel2.

or tftp an image if you have a serial

Hi, I was finally able to fix the issue :smiley:
I had to fix two files:

  • package/base-files/files/lib/upgrade/nand.sh as already suggested by @anomeome
  • package/base-files/files/lib/upgrade/platform.sh according to this fix

Thanks to everyone

1 Like

Hi all,

Sorry to jump on another's thread, but I'm having the same issue with my WRT32X, which I'm pretty sure is almost identical to the WRT3200.

When I flash with the latest snapshot the router fails to boot so I end up having to switch back to the previous partition.

Do I just need to edit the two files suggested before compiling?

Thanks

Hi daithi,

Can you explain exactly which files to.edit and what edits need to be made? Or share your copies with me?

Just had read through the second, and, maybe it's too early in the morning (pre-coffee), but I'm not confident I'll get it right.

Any help on my voyage of OpenWRT discovery would be greatly appreciated.

Cheers

Just checked both files and they both have the latest commits which include these fixes.

I'll open a new thread.

Hi,

Fixes are:
nand.sh
platform.sh
You have to modify the files also on the current firmware on your router

There be a new issue

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.