Skip to content

OTA LittleFS filesystem updates #1590

Answered by earlephilhower
pietglas asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like I should a) finish at least one coffee and b) read the code before commenting. 😆

Any ATOMIC_FS_UPDATE reference here should be deleted from the code, it's just not supported. On the 8266 there's a separate, unused area of flash for OTA binaries so with this flag you can tell the main app OTA code to stuff a FS image into this spot, instead of overwriting the actual FS region. Then, on the 8266 the eboot will decompress and write from the OTA area into the FS area.

On this core I chose to do something different w/OTA. Because most boards will be stuck w/2MB of flash I didn't want to waste so much area and limit FS and app size. So instead of the bootloader reading an unused regi…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@pietglas
Comment options

@earlephilhower
Comment options

Answer selected by pietglas
@pietglas
Comment options

Comment options

You must be logged in to vote
2 replies
@earlephilhower
Comment options

@pietglas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants