<?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>Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106762/building-only-the-app-in-a-multi-image-project</link><description>Hi! 
 I&amp;#39;m new to Zephyr and the nRFConnect SDK and I&amp;#39;m still trying to figure out how things work. 
 We have added a bootloader and secure boot to our project, which I think it makes it multi-image. Builds take a considerable amount of time (a pristine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Mar 2024 14:45:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106762/building-only-the-app-in-a-multi-image-project" /><item><title>RE: Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/thread/471844?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 14:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f890c70a-4e0f-4203-b08d-dc8d498d5da1</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="jsantosrico"]Hi Maria, sorry but I totally missed your comment, and noticed only now that &lt;a href="https://devzone.nordicsemi.com/members/burt"&gt;Burt&lt;/a&gt;&amp;nbsp;has replied to it.[/quote]
&lt;p&gt;No worries about missing my reply.&lt;/p&gt;
[quote user="Burt"]There are a couple of additional steps required; Hakon Alseth from Nordic showed me in ticket Case ID 319394,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/106709/asset_tracker_v2--application-description--configuration-in-nrf-connect-sdk-document"&gt;(+) Asset_tracker_v2-&amp;gt;Application description-&amp;gt;Configuration in nRF Connect SDK document - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;.[/quote]
&lt;p&gt;Thank you, Burt for sharing the ticket with additional steps! Does the ticket help you, jsantosrico, to solve your current build error?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/thread/471586?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 14:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6423f37-661a-46e9-9f90-520ec66b63de</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;There are a couple of additional steps required; Hakon Alseth from Nordic showed me in ticket Case ID 319394,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/106709/asset_tracker_v2--application-description--configuration-in-nrf-connect-sdk-document"&gt;(+) Asset_tracker_v2-&amp;gt;Application description-&amp;gt;Configuration in nRF Connect SDK document - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/thread/471577?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 14:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70875e6f-bee3-47a6-89ba-db59929d61a7</guid><dc:creator>jsantosrico</dc:creator><description>&lt;p&gt;Hi Maria, sorry but I totally missed your comment, and noticed only now that &lt;a href="https://devzone.nordicsemi.com/members/burt"&gt;Burt&lt;/a&gt;&amp;nbsp;has replied to it.&lt;/p&gt;
&lt;p&gt;I followed your steps, built pristine, renamed my own &amp;quot;pm_static.yml&amp;quot; to &amp;quot;pm_static.old&amp;quot;, and moved &amp;quot;pm.config&amp;quot; from build to root and renamed to &amp;quot;pm_static.yml&amp;quot;, added &amp;quot;&lt;span&gt;CONFIG_MCUBOOT_BUILD_STRATEGY_SKIP_BUILD&lt;/span&gt;&lt;span&gt;=y&amp;quot; to my &amp;quot;proj.conf&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Built pristine again.&lt;/p&gt;
&lt;p&gt;1. First phase, &amp;quot;build of child image b0&amp;quot;, takes the same amount of time (~8s), same log output.&lt;/p&gt;
&lt;p&gt;2. Next step, after &amp;quot;=== child image b0 - &amp;nbsp;end ===&amp;quot; in &amp;quot;my build&amp;quot;, is the building of the bootloader (~8s) too, but with your changes, I get &amp;quot;Skipping building of mcuboot&amp;quot;. So that seems to work as expected&lt;/p&gt;
&lt;p&gt;3. Next Step &amp;quot;Child image s1_image - begin&amp;quot; fails with&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;=== child image s1_image - &amp;nbsp;begin ===&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CMake Error at C:/Users/joel.santos/Workspace/NordicWorkspace/nrf/cmake/multi_image.cmake:248 (get_property):&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; get_property could not find TARGET mcuboot_subimage. &amp;nbsp;Perhaps it has not&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; yet been created.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/thread/470913?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 04:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57e4816f-c6e6-4242-8c5d-59819a5edb92</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Actually, neither build strategy will bulid.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/thread/470911?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 04:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ae2319d-b0a8-4ac2-b59f-967e10938ef5</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Hello Maria, Burt Silverman here. I have tried this procedure with CONFIG_MCUBOOT_BUILD_STRATEGY_SKIP_BUILD=y in v2.5.0, nrf9160dk_nrf9160_ns, asset_tracker_v2. It does not build. I have tried multiple methods: copying/not copying pm.config, and pristine/not pristine builds. No go. Please help. Thanks.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building only the app in a multi-image project</title><link>https://devzone.nordicsemi.com/thread/461047?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 12:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8474b02-9c3a-467f-bc07-6a169d4812a0</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.5.0/modules/mcuboot/Kconfig#L37"&gt;specify the *_BUILD_STRATEGY for MCUboot&lt;/a&gt; to be *_SKIP_BUILD or *_USE_HEX_FILE. SKIP_BUILD is useful for DFU cases where the application is the only firmware to be updated. USE_HEX_FILE is useful when you will flash the device. In your case it looks like CONFIG_MCUBOOT_BUILD_STRATEGY_USE_HEX_FILE is the suitable option.&lt;/p&gt;
&lt;p&gt;The full steps needed are as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure and build the application as before (as multi image). &lt;/li&gt;
&lt;li&gt;Copy the generated &lt;code&gt;pm.config&lt;/code&gt; from the build directory to the project directory and rename it to &lt;code&gt;pm_static.yml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In prj.conf: set the build strategy to the option most suitable for you.&lt;/li&gt;
&lt;li&gt;Make the changes you want in the application and rebuild with the new build strategy set.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>