I'm using the nrf/tests/modules/mcuboot/external_flash as a template to use the external flash to OTA my Pinnacle 100 module. By allowing automatic generation of the partitions, it creates the primary and secondary partitions in internal flash and OTA works fine. But, when I add the child_image directory, pretty much straight from the test directory (except that I get rid of the uart update option) and the attached pm_static.yml.
It builds and uses the bulk of the internal flash for my application now, but OTA is broken. When I try to OTA, it now immediately resets my unit and after reatttaching, I get the following output;
[00:00:09.145,568] <inf> main: Updated MTU: TX: 23 RX: 23 bytes
[00:00:09.147,064] <inf> main: Connected
[00:00:10.808,807] <inf> main: Updated MTU: TX: 498 RX: 498 bytes
[00:00:11.172,119] <inf> mcuboot_util: Swap type: test
[00:00:11.172,607] <inf> mcuboot_util: Swap type: test
[00:00:11.172,637] <err> mcumgr_img_grp: Image upload inspect failed: 5
app: address: 0x18200 end_address: 0xf8000 region: flash_primary size: 0xDFE00 mcuboot: address: 0x0 end_address: 0x18000 placement: before: - mcuboot_primary region: flash_primary size: 0x18000 mcuboot_pad: address: 0x18000 end_address: 0x18200 placement: align: start: 0x1000 before: - mcuboot_primary_app region: flash_primary size: 0x200 mcuboot_primary: address: 0x18000 end_address: 0xf8000 orig_span: &id001 - mcuboot_pad - app region: flash_primary sharers: 0x1 size: 0xE0000 span: *id001 mcuboot_primary_app: address: 0x18200 end_address: 0xf8000 orig_span: &id002 - app region: flash_primary size: 0xDFE00 span: *id002 mcuboot_primary_1: address: 0x0 size: 0x40000 device: flash_ctrl region: ram_flash mcuboot_secondary: address: 0x0000000 end_address: 0x000E0000 device: MX25R64 region: external_flash size: 0x000E0000 mcuboot_secondary_1: address: 0xe0000 size: 0x40000 device: MX25R64 region: external_flash external_flash: address: 0x120000 size: 0x6e0000 device: MX25R64 region: external_flash settings_storage: address: 0xf8000 end_address: 0x100000 placement: align: start: 0x1000 before: - end region: flash_primary size: 0x8000 sram_primary: address: 0x20000000 end_address: 0x20040000 region: sram_primary size: 0x40000