I have the peculiar problem that OpenWrt is unable to perform any firmware upgrade on a Linksys WRT32X and was wondering if someone has an idea what the cause could be.
Details:
I started out installing OpenWrt on a new WRT32X. The WRT32X uses a dual partition layout, leaving the stock firmware on the other partition. OpenWrt works as expected, but when I try to sysupgrade (no matter which firmware image, with or without saving config files, via web interface or cli), it fails in the following way:
The router immediately becomes unreachable via web interface and ssh (connection attempts are refused, they do not time out)
The router responds to pings and continues to otherwise behave as configured, including things like SQM
The heartbeat LED trigger indicates high load
The router stays in this state indefinitely
Turning the router off and on again boots into the OpenWrt partition and restores normal operation. The stock firmware partition appears to be untouched and is also bootable. OpenWrt can be flashed from the stock firmware without issue, but every OpenWrt version I have tried, including 23.05.2, exhibits the above-mentioned behaviour.
Pure guess, but it is possible that the dual-boot variables in u-boot env are somehow mixed, causing the router to try to write into the currently-in-use partition.
What does fw_printenv say?
You might test with the Luci alternative reboot app and try booting the Linksys firmware. (Similarly the Linksys OEM firmware offer a button to boot the "alternative firmware", "previous firmware" or something like that...
However, the problem seems to be somewhere in this area, because while Advanced Reboot shows OpenWrt and the Linksys firmware in partition 1 and 2 respectively (in line with fw_printenv output), I can't actually boot the Linksys firmware via Luci. After clicking the "Proceed" button, nothing happens, trying to access the Advanced Reboot app again leads to a time-out (all other Luci pages work fine), and running fw_printenv via ssh now also hangs. All of this is resolved by a reboot.
I never noticed this before - I think I previously always used the 3x power-off method to boot the Linksys firmware.