fill otadata partition to boot from ota_0
Posted: Thu Jan 03, 2019 8:53 pm
I have the following partition table:
nvs, data, nvs, 0x20000, 16k,
otadata, data, ota, , 8k,
phy_init, data, phy, , 4k,
factory, 0, 0, , 650K,
ota_0, 0, ota_0, , 1380K,
ota_1, 0, ota_1, , 1380K,
eeprom, data, 0x99, , 4k,
spiffs, data, spiffs, , 400K,
I will flash the factory part plus the ota_0 each one with different application. I want the ESP32 to boot from the OTA_0 if exists. What should I flash into the otadata part?
nvs, data, nvs, 0x20000, 16k,
otadata, data, ota, , 8k,
phy_init, data, phy, , 4k,
factory, 0, 0, , 650K,
ota_0, 0, ota_0, , 1380K,
ota_1, 0, ota_1, , 1380K,
eeprom, data, 0x99, , 4k,
spiffs, data, spiffs, , 400K,
I will flash the factory part plus the ota_0 each one with different application. I want the ESP32 to boot from the OTA_0 if exists. What should I flash into the otadata part?