In the CLI you can set which partition to boot from.
Can you also set which to flash?
When you're already running DD-WRT you can check which partition you're currently using by running the following command via Telnet, SSH or via the WEB-GUI (under Administration > Commands)
The following code will show you the partition currently in use:
Code:
ubootenv get boot_part
.
This commands will allow you to switch partitions
Code:
ubootenv set boot_part x
(where x is either 1 or 2 depending on the partition you want to use.)
When you're using stock-firmware you can check which partition is in use by browsing to the following URL
http://192.168.1.1/sysinfo.cgi
To switch to the other partition then the one currently in use you need to login to the web-interface, then choose:
Troubleshooting > Diagnostics > Restore previous firmware