I don't even know how to compile for a bare bones system, i.e. I would like the bootloader to fit in 4k. How relocatable are user's code? Can we do something that will work with all the environments (arduino included)?
Does the bootloader have to do all the crazy setting up FLASHCHIP, etc?
Can the program reside, starting at 4k then the bootloader somehow maps it into IRAM? If so, that's even more confusing since the bootloader would be running FROM IRAM!
So many questions, such little understanding.