nrf5340 Using Sysbuild + MCUboot but app_update.bin is generated

Hello,

I am using:
- nrf5340
- ncs SDK v2.5.0

I started a project using sysbuild where I generate an image for the app_core and an image for the net_core and using MCUboot. I am wondering what do I need to enable and where (prj.conf, sysbuild.conf) for it to generate app_update.bin for upgrading the app in the secondary slot when needed? Using the sample provided for testing sysbuild in the sdk v2.5.0 and building with the already enabled MCUboot configuration I can't seem to find the app_update.bin where it normally should be generated. 

Best regards,

Domen

  • Hello Øyvind, by modifying the prj.conf with adding CONFIG_BOOTLOADER_MCUBOOT=y it changes nothing as I think when using the sysbuild functionality you enable the MCUBOOT functions in the sysbuild.conf with SB_CONFIG_BOOTLOADER_MCUBOOT=y and as I understood the app_update.bin step hasn't been implemented yet by your engineering team so I am just wondering how to complete the last step on making the zephyr.bin into app_update.bin with all the bells and whistles so MCUBOOT can read the config in flash.

    Best regards,

    Domen

  • Hello Øyvind, looking into the build folder there is a binary generated besides zephyr.bin and it is zephyr.signed.bin I uploaded it to the secondary slot for the MCUBOOT and it successfully recognized the image. With requesting an update through MCUBOOT it swaped the images. So the app_update.bin is just renamed in the sysbuild to zephyr.signed.hex for anyone else wondering

Related