<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Problem with updatable MCUBoot + multi updatable images</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128549/problem-with-updatable-mcuboot-multi-updatable-images</link><description>Hello, 
 I work on a zephyr project with updatable MCUBoot and two updatable images. This configuration ends up with an unbootable image. The reason is that the CONFIG_MCUBOOT_MCUBOOT_IMAGE_NUMBER ends up with value 1 while the SECURE_BOOT_APPCORE is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jun 2026 12:48:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128549/problem-with-updatable-mcuboot-multi-updatable-images" /><item><title>RE: Problem with updatable MCUBoot + multi updatable images</title><link>https://devzone.nordicsemi.com/thread/568481?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2026 12:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a44529f-6d93-4d83-afb7-25390fc56769</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Thanks for the nice sharing. I have forwarded it to the internal team.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with updatable MCUBoot + multi updatable images</title><link>https://devzone.nordicsemi.com/thread/568460?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2026 06:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7929783f-96ed-497e-bc9b-c93e92c1b905</guid><dc:creator>tdfilip</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;To reproduce the issue, you need to build the following architecture:&lt;br /&gt;b0&lt;br /&gt;mcuboot (s0)&lt;br /&gt;mcuboot (s1)&lt;br /&gt;custom app 1 (mcuboot_primary)&lt;br /&gt;custom app 1 (mcuboot_secondary)&lt;br /&gt;custom app 2 (mcuboot_primary_1)&lt;br /&gt;custom app 2 (mcuboot_secondary_1)&lt;/p&gt;
&lt;p&gt;To achieve this, you need the following options:&lt;br /&gt;SB_CONFIG_SECURE_BOOT_APPCORE=y&lt;br /&gt;SB_CONFIG_BOOTLOADER_MCUBOOT=y&lt;br /&gt;SB_CONFIG_MCUBOOT_UPDATEABLE_IMAGES=2&lt;/p&gt;
&lt;p&gt;This log shows that the MCUBoot doesn&amp;#39;t even see image index 2 (only 0 and 1). This ends up with unbootable primary image:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Fprotect disabled. No protection applied.
LCS-awareness disabled.
Attempting to boot slot 0.
Attempting to boot from address 0x7800.
I: Trying to get Firmware version
I: Firmware signature verified.
Firmware version 1
I: Setting monotonic counter (version: 1, slot: 0)
*** Booting MCUboot v2.3.0-dev-b39452e9c7e8 ***
*** Using nRF Connect SDK v3.5.0-preview1-f62d6ecf1b15 ***
*** Using Zephyr OS v4.4.0-b1fd0755fc8e ***
I: Starting bootloader
I: LCS-awareness disabled, skipping LCS check
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Image index: 0, Swap type: none
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Image index: 1, Swap type: none
W: Cannot upgrade: not a compatible amount of sectors
E: Image in the primary slot is not valid!
E: Unable to find bootable image&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here is the log after applying the patch I provided:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Fprotect disabled. No protection applied.
LCS-awareness disabled.
Attempting to boot slot 0.
Attempting to boot from address 0x7800.
I: Trying to get Firmware version
I: Firmware signature verified.
Firmware version 1
I: Setting monotonic counter (version: 1, slot: 0)
*** Booting MCUboot v2.3.0-dev-b39452e9c7e8 ***
*** Using nRF Connect SDK v3.5.0-preview1-f62d6ecf1b15 ***
*** Using Zephyr OS v4.4.0-b1fd0755fc8e ***
I: Starting bootloader
I: LCS-awareness disabled, skipping LCS check
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Image index: 0, Swap type: none
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Image index: 1, Swap type: none
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Image index: 2, Swap type: none
I: Bootloader chainload address offset: 0x23000
I: Image version: v0.0.0
I: Jumping to the first image slot
*** Booting nRF Connect SDK v3.5.0-preview1-f62d6ecf1b15 ***
*** Using Zephyr OS v4.4.0-b1fd0755fc8e ***

==============================
  Recovery App (nRF54L15 POC)
  NCS version: 3.5.0-preview1
==============================

Normal boot - chain-loading main app (image 1)...
Jumping to 0x000e8800 (MSP=0x200166e8, Reset=0x000f30fd)

*** Booting nRF Connect SDK v3.5.0-preview1-f62d6ecf1b15 ***
*** Using Zephyr OS v4.4.0-b1fd0755fc8e ***

==============================
  Main app - nRF54L15
  NCS version: 3.5.0-preview1
==============================

BLE advertising as &amp;quot;Main App&amp;quot;&lt;/pre&gt;&lt;br /&gt;It now sees all 3 images and works fine.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Filip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with updatable MCUBoot + multi updatable images</title><link>https://devzone.nordicsemi.com/thread/568420?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2026 12:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c35dd5c4-dac1-4e42-b8d2-c415e0c0cfd8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Filip,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you elaborate on the details of the&amp;nbsp;&lt;span&gt;reproduction?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>