Expand description
Snapshots of the card’s flash, and restoring the configuration from one.
flash snapshot saves the primary bank and the golden bank; flash restore
puts the .rcvbp configuration (and with it the screen-size record) back.
Firmware is not restored here: the firmware guards blocks from the host
path (config/cards/*.toml, memory.guarded), so a firmware image goes
in through firmware install plus firmware write (provision --firmware does both).
Structs§
- Snapshot
- A saved copy of everything we know how to put back.
Functions§
- all
- Put the configuration and screen record back from a snapshot.
- load_
snapshot - Load whatever a snapshot directory holds. The bank image’s size is
checked by
flash_firmwarewhen it is used as the recovery copy. - snapshot
- Capture everything we know how to restore into a directory.