Feature request: Firmware update to partition 1 ,2, or both

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
kosmos
DD-WRT Novice


Joined: 31 Jan 2013
Posts: 29

PostPosted: Thu Aug 19, 2021 12:46    Post subject: Feature request: Firmware update to partition 1 ,2, or both Reply with quote
I would like the following option for future releases. Since it is recommended to install the same release on both partitions. See image
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 3910

PostPosted: Thu Aug 19, 2021 13:10    Post subject: Reply with quote
This is only to prevent user error, in case you reboot into a much older build on the alternate partition.

Otherwise know what you are doing to simply keep nvram space "clean" after nvram erase && reboot.

DD-WRT flashes a build to the inactive partition; it is alternating each update. Flashing both is overkill.

It also defeats the fallback purpose in case of problems, increases chances needing a serial recovery.

Create a clean configuration, then make a backup for that specific build for whatever may occur later.
iVitor
DD-WRT User


Joined: 10 Jul 2009
Posts: 105

PostPosted: Thu Aug 19, 2021 14:21    Post subject: Reply with quote
Quote:
I would like the following option for future releases. Since it is recommended to install the same release on both partitions.

It most definitely is not recommended to flash both partions at the same time, especially with an untested build. The whole point of the A/B partition scheme is avoiding a soft brick and the more cumbersome recovery methods should one of those builds be faulty -- the router will "automagically" revert to the last working firmware.

If you really must have both partitions with the exact same built then it is very easy: flash once, reboot, flash once again.
Done, both partitions now have the same build, and you are sure that build actually boots.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12497
Location: Texas, USA

PostPosted: Thu Aug 19, 2021 16:00    Post subject: Reply with quote
The only recommendation would be to keep previous and current versions flashed so that the nvram variables match; you must be referring to the discussion on Apple products. Going to leave this topic open for now, but if stupidity starts chiming in, I will lock it.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329286

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329003

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329358

_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum