<?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>Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97143/multiimage-build-failed-in-ncs-v2-3-0-rc1</link><description>Hello ! 
 I have own multi-image and it build OK in NCS v2.2.0 
 but in 2.3.0-rc1 I can see some limitations 
 CMake Error at /home/user/ncs/v2.3.0-rc1/nrf/cmake/multi_image.cmake:206 (message): A domain may only have a single child image.Current domain</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Mar 2023 09:16:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97143/multiimage-build-failed-in-ncs-v2-3-0-rc1" /><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/413454?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 09:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f5e0c0-5dea-4dba-bc28-94aa3e8a6a05</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user="Hiihtaja"]for some reason a lot of you samples consist of 2 cores and 2 boot loaders and able to generate updates for 2 cores as well ( and direct DFU recovery ).[/quote]
&lt;p&gt;Well yes you do need a bootloader for both cores, this page gives a nice summary:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340&lt;/a&gt;&lt;/p&gt;
[quote user="Hiihtaja"]May be I should reorganize my multi-image directory structure some how for be able to avoid this patch ?[/quote]
&lt;p&gt;No I don&amp;#39;t think so, if there was another way to do this then this patch wouldn&amp;#39;t be necessary.&lt;/p&gt;
&lt;p&gt;So as long as you&amp;#39;re using NCS v2.3.0-rc1 with a customized netcore you&amp;#39;ll have to use the patch.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s worth noting that you won&amp;#39;t need the patch if you use one of our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/working_with_nrf/nrf53/nrf5340.html#protocols-and-use-cases"&gt;premade netcore images&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/413223?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 11:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a12a95c6-3fe2-42b1-a538-09d2a9c9ef48</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Einar !&lt;/p&gt;
&lt;p&gt;But for some reason a lot of you samples consist of 2 cores and 2 boot loaders and able to generate updates for 2 cores as well ( and direct DFU recovery ).&lt;/p&gt;
&lt;p&gt;May be I should reorganize my multi-image directory structure some how for be able to avoid this patch ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/413212?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 10:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec49e8e-eb5d-43d3-b569-64849e64da93</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;It looks like only&amp;nbsp;CONFIG_NCS_SAMPLE_EMPTY_NET_CORE_CHILD_IMAGE=n is required yes.&lt;/p&gt;
&lt;p&gt;The patch you&amp;#39;re linking to fixes a known issue related to using mcuboot in the multi-image sample. I&amp;#39;m not sure if this is directly related to your issue, but if you&amp;#39;re basing your project on the multi-image sample and you&amp;#39;re including mcuboot then you can avoid this known issue by adding the patch yes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/413152?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 07:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6583c2-b144-46b1-8650-3b842a51f6f8</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Einar !&lt;/p&gt;
&lt;p&gt;Thank you !&lt;/p&gt;
&lt;p&gt;Do I undestand right and&amp;nbsp;&lt;span&gt;CONFIG_BOOT_IMAGE_ACCESS_HOOK_NRF5340=n no need ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Only&amp;nbsp;CONFIG_NCS_SAMPLE_EMPTY_NET_CORE_CHILD_IMAGE=n is required&amp;nbsp; ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What about this fix :&lt;a id="" href="https://github.com/hakonfam/fw-nrfconnect-zephyr/commit/970c4323fba917b88361dd57c47dee2f5f2a009a"&gt;https://github.com/hakonfam/fw-nrfconnect-zephyr/commit/970c4323fba917b88361dd57c47dee2f5f2a009a&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looks like it is still need for build DFU for netcore.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/413051?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 14:07:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd81334c-7c67-4266-8f14-f8b706b91cd0</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It looks like your error is caused by NCS_SAMPLE_EMPTY_NET_CORE_CHILD_IMAGE being set to &amp;quot;y&amp;quot; (by default).&lt;/p&gt;
&lt;p&gt;This option is new in v2.3.0, and doesn&amp;#39;t have a KConfig prompt, but if you define a prompt in a KConfig file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;config NCS_SAMPLE_EMPTY_NET_CORE_CHILD_IMAGE
    bool &amp;quot;test&amp;quot;
    default n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and disable it in prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_NCS_SAMPLE_EMPTY_NET_CORE_CHILD_IMAGE=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;then it seems to compile successfully.&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/412648?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2023 08:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b41a45-6216-4a4c-93e8-c863e8912599</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Einar !&lt;/p&gt;
&lt;p&gt;Can it be another flag also ?&lt;/p&gt;
&lt;p&gt;I have added this flag to mcuboot.conf and it is undefined in .config now.&lt;/p&gt;
&lt;p&gt;But the build system still adds an empty network core to the project.&lt;/p&gt;
&lt;p&gt;I also use direct recovery configuration for app and network cores and in 2.2 have used this patch&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/hakonfam/fw-nrfconnect-zephyr/commit/970c4323fba917b88361dd57c47dee2f5f2a009a"&gt;https://github.com/hakonfam/fw-nrfconnect-zephyr/commit/970c4323fba917b88361dd57c47dee2f5f2a009a&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t applied it yet and tried 2.3.0-rc1 as it is.&lt;/p&gt;
&lt;p&gt;I have attached my multi-build sample for review. With 2.2 it works fine, DFU images are generated.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/multi_2D00_image.zip"&gt;devzone.nordicsemi.com/.../multi_2D00_image.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for nrf5340&amp;nbsp;&lt;/p&gt;
&lt;p&gt;west build -p --board nrf5340dk_nrf5340_cpuapp&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiimage build failed in NCS v2.3.0-rc1</title><link>https://devzone.nordicsemi.com/thread/412517?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 13:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bb8fab-db55-47df-adb9-60fc757a9c02</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Looking through the changelog since v2.2.0, it looks like this could be a likely source of your issue:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases/release-notes-changelog.html#id1"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases/release-notes-changelog.html#id1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Maybe you&amp;#39;ll have to set&amp;nbsp;&lt;code&gt;CONFIG_BOOT_IMAGE_ACCESS_HOOK_NRF5340=n&lt;/code&gt; in order to use your own multi-image build?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>