Thanks for the early feedback. I've now added a readme to the source which hopefully explains everything
https://github.com/raburton/esp8266/blo ... readme.txt to get you started. The only thing missing is my esptool2 tool to extract the stage2a code from the compiled elf and turn it into a byte array for inclusion in the main code. I'll try and get this uploaded by this evening at the latest - just finished a night shift so need a little rest! I'll probably also upload an exported copy of the compiled stage 2a because most people probably won't want to update this code anyway, you'll only want to be working with the main portion of the loader I imagine.
I've added a readme to the ota code too
https://github.com/raburton/esp8266/blo ... readme.txt but it assumes some familiarity with the existing sdk ota system, particularly around creating the request. I'll hopefully add examples of how to drive it for those that aren't familiar with the current method when I get chance.
Have a look at the readmes and let me know if they make sense, I'm not used to writing documentation.