You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MabezDev
changed the title
Improve flash speed by skipping bootloader and partition tables
Improve flash speed by skipping bootloader and partition tables when possible
Sep 20, 2023
If it is possible to read the hash of a particular flash region, it should also be possible I believe to implement selective reflashing: for each flash block, read the hash, compare, and only reflash if differs.
Also, cc #259 as this issue is basically the meat of flash content verification.
Started to look into ESP_FLASH_VERIFY_MD5 ... as mentioned, we don't have it supported by the Rust esp-flasherstub which is not that good
Tried without a flasher stub and it needs quite a few changes to espflash internals because of the way we currently parse responses into CommandResponse (and how we currently cannot return something that is not u32)
Additionally, there are at least two different response formats for that command
See: esp-rs/esp-hal#803 (comment)
But essentially, we could make espflash smart enough to flash the things that have changed, which is usually just the main app.
The text was updated successfully, but these errors were encountered: