Question:
What configuration should be added for MCUboot to become aware of the size of external flash the hardware provides?
Is there documentation of the mcu kconfig options?
I am in the process of integrating the Zigbee fota example to run on our custom hardware.
During initial development we worked with the nrf5340-development kit in order to perform initial application testing including the Zigbee FOTA example while the hardware development took place.
Our custom hardware implementation employs the NORA-B126 and replaced the external flash with the MX25R1635FZUIL0.
However the bootloader appaars unable to find a valid application image to jump to as shown by the message shown via the debug log
*** Booting Zephyr OS build v3.1.99-ncs1 ***
I: Starting bootloader
I: Swap type: none
I: Swap type: none
E: Unable to find bootable image
From our investigation we learned that mcuboot (in addition to the application) need their own configuration and overlay files. Therefore we have included the following config changes for project_app/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf