espressif / esp-bootloader-plus

An enhanced bootloader to support compression upgrade and diff compression upgrade.
Other
24 stars 7 forks source link

Support for Factory Reset planned? #9

Open kohait00 opened 11 months ago

kohait00 commented 11 months ago

What about support for Factory Reset? the standard boorloader component supports it..

WangYuxin-esp commented 11 months ago

This completely depends on the partitioning of the partition table. If there is firmware in the partition table that can be used for Factory Reset, Factory Reset can still be achieved. The implementation logic of this bootloader is relatively simple. If a compressed firmware is found in the decompression partition, it is decompressed and the decompressed data is written to the specified partition. It is worth mentioning that we are currently considering the compatibility of this solution with the original full update. For the compression OTA, we have a new version bootloader support plus. The differential update function has not been added to the new version yet.