This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF91: questions related to merged image (App , smp & mcuboot)

Hi,

Sorry for putting so many questions in to single thread :)

----

I am looking for information on what all images been integrated to zephyr/merged.hex, can you point to the scripts which does this?

Whenever i choose board = nrf9160_pca10090ns, automatically the smp is been built and merged to zephyr/merged.hex, is there anything else been merged to  the final image?

Can I flash the app and spm separately using jlink?

----

Coming to the sample “http_application_update” there are three images clubbed to merged.hex i.e App + spm + mcuboot, Can you please point to the documentation/scrips which dictates where a particular image needs to be placed?

regards

KK

 

Parents Reply Children
  • Thanks, I think the is no documentation available for whatever we discussed above, it would be great you can add some.

    rom_report when mcuboot is enabled

    More options can be learnt from build.ninja file located in the build folder.

    MCUboot regions can be altered from mcuboot's menuconfig

    <builld dir>\mcuboot>ninja menuconfig

    Can you please help me understand what each of the macros above (highlighted in yellow) stands for?

    regards

    KK

  • MCUBOOT is the mcuboot image. MCUBOOT_SCRATCH is the space dedicated for image swapping. MCUBOOT_STORAGE is for storing images. MCUBOOT_PAD is an optional trailer on the image that indicates that the image should be considered an upgrade. Writing this image in the secondary slot will then cause the bootloader to upgrade to it.

Related