You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i wonder if some of the people that knows the build process of nodemcu have seen rboot bootloader, if so, it sounds like a good option to achieve OTA upgrades, a simple wrapper of the OTA api exposed by rboot will allow us to upgrade the esp's easily.
I read in another issue that the problem was that the nodemcu image is bigger than the rom boundary (512kb if i recall correctly). The thing with this bootloader is that it allows roms to have arbitrary sizes, from the readme of rboot:
It has the following advantages over the Espressif loader:
- Open source (written in C).
- Supports up to 256 roms.
- Roms can be variable size.
- Able to test multiple roms to find a valid backup (without resetting).
- Flash layout can be changed on the fly (with care and appropriately linked
rom images).
- GPIO support for rom selection.
- Reserves less ram (16 bytes vs. 144 bytes for the SDK loader).
- Documented config structure to allow easy editing from user code.
[...]
You can can then write your two roms to flash
addresses 0x2000 and (half chip size + 0x2000). E.g. for 8Mbit flash:
esptool.py -fs 8m 0x0000 rboot.bin 0x2000 user1.bin 0x82000 user2.bin
is this a possibility? is it possible to support a 'multi-bootloader' makefile or something like that?
if so, i would gladly write the lua wrapper for rboot OTA. unfortunately, im not that familiar with the esp build chain to be sure on the makefile front.
The text was updated successfully, but these errors were encountered:
Hi, i wonder if some of the people that knows the build process of nodemcu have seen rboot bootloader, if so, it sounds like a good option to achieve OTA upgrades, a simple wrapper of the OTA api exposed by rboot will allow us to upgrade the esp's easily.
I read in another issue that the problem was that the nodemcu image is bigger than the rom boundary (512kb if i recall correctly). The thing with this bootloader is that it allows roms to have arbitrary sizes, from the readme of rboot:
is this a possibility? is it possible to support a 'multi-bootloader' makefile or something like that?
if so, i would gladly write the lua wrapper for rboot OTA. unfortunately, im not that familiar with the esp build chain to be sure on the makefile front.
The text was updated successfully, but these errors were encountered: