Hi,
TLDR: Tried the new BLINFO feature on an existing app, upgrading to 2.6.1 SDK (Zephyr 3.5.99). App does not boot after merged.hex flashed.
So we are updating our project to NRF SDK 2.6.1. I saw that this version of the sdk use a version of Zephyr around 3.5.0. So I saw this new feature that they added in Zephyr 3.5.0 for blinfo (bootloader info). I followed this tutorial https://docs.zephyrproject.org/latest/services/retention/blinfo.html
So I followed all the steps, I added the following data in the device trees of mcuboot and for my app as mentionned in the tutorial. We use NRF9160DK for your information.
/ { sram0@2003F000 { compatible = "zephyr,memory-region", "mmio-sram"; reg = <0x2003F000 DT_SIZE_K(1)>; zephyr,memory-region = "RetainedMem"; status = "okay"; retainedmem { compatible = "zephyr,retained-ram"; status = "okay"; #address-cells = <1>; #size-cells = <1>; boot_info0: boot_info@0 { compatible = "zephyr,retention"; status = "okay"; reg = <0x0 0x100>; }; }; }; chosen { zephyr,bootloader-info = &boot_info0; }; }; &sram0 { reg = <0x20000000 DT_SIZE_K(255)>; };
CONFIG_RETAINED_MEM=y CONFIG_RETENTION=y CONFIG_BOOT_SHARE_DATA=y CONFIG_BOOT_SHARE_DATA_BOOTINFO=y CONFIG_BOOT_SHARE_BACKEND_RETENTION=y CONFIG_RETENTION_BOOTLOADER_INFO_OUTPUT_FUNCTION=y
CONFIG_RETAINED_MEM=y CONFIG_RETENTION=y CONFIG_RETENTION_BOOTLOADER_INFO=y CONFIG_RETENTION_BOOTLOADER_INFO_TYPE_MCUBOOT=y
