- Sat Mar 28, 2015 4:05 pm
#12869
dpwhittaker wrote:prozac wrote:I have modded this code to use the OTA flashable memory offsets.
Is this mod available in a repo anywhere? I want to create a cgi that takes a posted user1/2.bin, writes it to flash, and does an OTA reboot, plus a other cgi to write the espfs into the other location... This should give me a fully OTA upgradable system. Has anyone done anything similar?
Exactly what I'm doing
I'll try to get the code in presentable for an post it later. We had some mods commited to Sprite's repo in suport of posting large files and flashing the espfs, which works now without mod (I think). The next step is flashing the new user app, setting the upgrade flag, then after sucessful boot, flashing the espfs (since it would otherwise overwrite the current running app).
@sprite. Any interest in moving the default app to use the the OTA offsets (0x01000 and 0x41000 instead of the current non-ota. If we made that move it would prefent a ton of forking. Your call.