Hi id9502,
Please take a look to the doc
https://docs.espressif.com/projects/esp ... oader-size
If your bootloader has grown up not to fit the actual value of CONFIG_PARTITION_TABLE_OFFSET, you have to perfrom 1 or 2 steps.
1. run idf.py menuconfig and increase the PARTITION_TABLE_OFFSET parameter
2. If you are using partition table with fixed offests, adopt it. For example if CONFIG_PARTITION_TABLE_OFFSET changes from 0x8000 to 0x9000 (to make additional room for the bootloader), then the offset of the first partition which was 0x9000 (please note existing 0x1000 difference which has to be kept) has to be increased to 0xa000. Offsets of the other partition entries has to be increased if they were used. You can also omit the fixed offsets from the partition table at all. See the predefined partition table files in the /components/esp_partition/*.csv. The initial offset then adopts automatically.