-
I really want to know how to modify the default address of the partition table at 0x8000. I want to modify it to 0x10000. If I simply write the partition table to the address at 0x10000, (of course I modified the location where the bootloader reads the partition table), it will appear The arduino loop program will not find the partition table, " initArduino(): Failed to initialize NVS! Error: 261" |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
what did you modify? |
Beta Was this translation helpful? Give feedback.
-
The question i have, why do you want to do this? |
Beta Was this translation helpful? Give feedback.
-
I reduced the size of the bootloader to less than 32KB as much as possible, and the flash has been successfully read and written, but the new problem is that the new firmware cannot be activated using the webupdate sample program OTA |
Beta Was this translation helpful? Give feedback.
-
Have you tried to move the partition table behind the App sections (OTA 1 and 2)? |
Beta Was this translation helpful? Give feedback.
-
@stick88 I modified our (Tasmota) Platformio espressif32 framework to support a different address than 0x10000 for app0 (it is hardcoded in official version). All other bootloader, partition table and boot_app0.bin are still hardcoded https://github.com/espressif/arduino-esp32/blob/master/tools/platformio-build-esp32.py#L330-L333 |
Beta Was this translation helpful? Give feedback.
what did you modify?