Which external flash partition is used for a full modem update?

I am using SDK v2.5.0 on custom board.

The board has an external 4MB flash chip.

I am wondering though which paritition will be used for the update process, and how that would play with other partitions on the external flash.

Does the modem update use the default external_flash partition, and do I need to ensure that default partition is large enough to hold the full update?

With my current board configuration, parition manager is reporting the following:

external_flash (0x400000 - 4096kB):
+--------------------------------------------------------+
| 0x0: ext_flash_partition (0x100000 - 1024kB) |
| 0x100000: ext_flash_logs_partition (0x100000 - 1024kB) |
| 0x200000: mcuboot_secondary (0xe8000 - 928kB) |
| 0x2e8000: external_flash (0x118000 - 1120kB) |
+--------------------------------------------------------+

The external_flash partition has been reduced to 1120KB which is too small for the update.
I can however, remove the ext_flash_partition and ext_flash_logs_partition if required.

Related