<?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>Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85564/unable-to-find-bootable-image---mcuboot---again</link><description>Hi again, 
 The previous issue is closed - but I never got any suggestions or answers to my problem. 
 I still have this problem - if I do a prestine build the mcuboot doesn&amp;#39;t work - if I just touch the makefile and build again - then it works. 
 Below</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Apr 2022 08:33:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85564/unable-to-find-bootable-image---mcuboot---again" /><item><title>RE: Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/thread/365121?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 08:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3675d3c9-3070-4c6b-9b83-d75b0b3b19e6</guid><dc:creator>rpasichnyk</dc:creator><description>&lt;p&gt;My solution is a bit different. I removed&amp;nbsp;mcuboot overlay completely (not mentioned in previous workaround). Good to know your 2-times-build workaround also works!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/thread/365120?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 08:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed46e15c-7a92-49be-b334-402e3d0c1d2b</guid><dc:creator>ecsfang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The suggestion to use child_image was found in the following issue:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84564/unable-to-find-bootable-image---mcuboot"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/84564/unable-to-find-bootable-image---mcuboot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I tried the solution given there, but without any success.&lt;br /&gt;For time being, I have just updated the build-script to build two times - crude but works ...&lt;br /&gt;&lt;br /&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/thread/365116?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 08:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1be3d6c0-4538-4fa5-a090-3d99acd19194</guid><dc:creator>rpasichnyk</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also experience this issue with nRF SDK 1.9.1. I don&amp;#39;t really know the reason, but it seems to me there is something wrong with CMake + west + zephyr magic build system. I noticed when I remove MCUboot overlay, the problem goes away.&lt;/p&gt;
&lt;p&gt;I have found a workaround. Instead of using MCUboot overlay, I am using child image. The disadvantage of this is that I have to completely duplicate MCUboot configuration since it is not merged with default.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Steps to perform a workaround:&lt;/p&gt;
&lt;p&gt;1. Crete a folder in the root of your project child_images/mcuboot/&lt;/p&gt;
&lt;p&gt;2. Copy zephyr/bootloader/mcuboot/boot/zephyr/prj.conf to that folder&lt;/p&gt;
&lt;p&gt;3. Make required modifications to prj.conf according to your mcuboot-overlay.conf&lt;/p&gt;
&lt;p&gt;4. Delete your mcuboot-overlay.conf and reference to it from CMakeLists.txt&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: I just noticed you mention child_image in on of your comments, unfortunately the link to your previous ticket does not work for me, so I can&amp;#39;t verify if suggested workaround was the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/thread/357177?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 13:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea2499f0-ed63-49c8-8dba-6fff43311a8a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3286.hello_5F00_world_5F00_with_5F00_mcuboot_5F00_v2.zip"&gt;hello_world_with_mcuboot_v2.zip&lt;/a&gt;&amp;nbsp;provided by Simon, I run the command with nRF52DK as:&lt;/p&gt;
&lt;p&gt;west build -b nrf52dk_nrf52832 -p &amp;amp;&amp;amp; west flash --recover&lt;/p&gt;
&lt;p&gt;And get:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.6.99-ncs1  ***

I: Starting bootloader

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: Swap type: none

I: Bootloader chainload address offset: 0xc000

I: Jumping to the first image slot
▒*** Booting Zephyr OS build v2.6.99-ncs1  ***

Hello World! nrf52dk_nrf52832
&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/thread/357086?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 09:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56feca76-7dc5-4ae7-a896-ce12cd52805e</guid><dc:creator>ecsfang</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;As described in the original ticket (the same thread you pointed to), I use west to build:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; $ rm -rf build&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; $ west build --build-dir build/ncs src/ncs&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; $ nrfjprog -f NRF52 --sectorerase --verify --program build/ncs/mcuboot/zephyr/zephyr.hex&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; $ nrfjprog -f NRF52 --sectorerase --verify --program build/ncs/zephyr/app_signed.hex&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; $ nrfjprog -f NRF52 --reset&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And yes, I tried the suggestion with the child_image, but it didn&amp;#39;t help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to find bootable image - MCUBoot - again</title><link>https://devzone.nordicsemi.com/thread/357085?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 09:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b25e06-2269-4fbc-9eef-74f4398abde2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you&lt;span&gt;&amp;nbsp;doing pristine builds in VS code? Could you try to use west build? Also, test&amp;nbsp;west build with the example provided by Simon in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84564/unable-to-find-bootable-image---mcuboot/352906#352906"&gt;thread&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>