<?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>Issues with Building MCUboot for nRF7002DK Using NCS V2.5.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108203/issues-with-building-mcuboot-for-nrf7002dk-using-ncs-v2-5-2</link><description>Hello, 
 I&amp;#39;ve been encountering build issues when trying to include MCUboot as a bootloader for my nRF7002DK project using the Nordic Connect SDK version 2.5.2. Specifically, when CONFIG_BOOTLOADER_MCUBOOT=y is set in my prj.conf , the build process fails</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2024 09:20:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108203/issues-with-building-mcuboot-for-nrf7002dk-using-ncs-v2-5-2" /><item><title>RE: Issues with Building MCUboot for nRF7002DK Using NCS V2.5.2</title><link>https://devzone.nordicsemi.com/thread/490543?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:20:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c84305-4ced-4258-9821-d894b34899a4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Jeon,&lt;/p&gt;
&lt;p&gt;Please try to build the sample I posted in this thread and see if it results in any build errors. The child_image directory is used to apply configuration changes to child images such as MCUBoot, see&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/multi_image.html#permanent_configuration_changes_to_child_images"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/multi_image.html#permanent_configuration_changes_to_child_images&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with Building MCUboot for nRF7002DK Using NCS V2.5.2</title><link>https://devzone.nordicsemi.com/thread/490435?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 23:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db5b2b96-7bf0-4717-86e9-40f8cd2652c4</guid><dc:creator>selfcontrol</dc:creator><description>&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Hello, I am facing the same issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Toolchains: 2.6.1, Python (3.9.13) SDK version: 2.5.2, OS: Windows 10&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I am using the nRF7002dk board and plan to use WiFi (QSPI will be used by 7002).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:inherit;"&gt; Currently, I need BLE OTA, but even the academy sample example without WiFi functionality fails to build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Here is the link to the related question about the sample:&lt;/span&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/111955/dfu-over-bluetooth---modify-the-peripheral-lbs-sample-error"&gt;DFU over Bluetooth - Modify the Peripheral LBS sample error&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;
&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="a694e263-a35f-4f29-9214-ff6231363a99"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;p&gt;Your example appears to be additional setup (child_image) for entering the bootloader.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I extracted the child_image from the smp_svr_7000dk.zip file and added it to the Academy BLE DFU sample, but it still fails to build.&amp;nbsp;(even building the smp_svr_7000dk.zip itself fails).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="0e0671d2-e4ec-4b54-ba01-b00933552d86"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Could you provide more guidance on this?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:inherit;"&gt;BR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:inherit;"&gt;Jeon.&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with Building MCUboot for nRF7002DK Using NCS V2.5.2</title><link>https://devzone.nordicsemi.com/thread/476762?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 07:39:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd9eb982-98ba-4501-9723-e0ac3f14a829</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll respond here, but please create a new thread for future questions.&amp;nbsp;You may&amp;nbsp;reference any related threads that you think may be relevant to your issue. This helps us keep the forum tidy and maintain the Q&amp;amp;A format.&lt;/p&gt;
[quote user="waderq21"]My application is unfortunately too big to place two of them together[/quote]
&lt;p&gt;The secondary slot will be relocated to external flash once you&amp;#39;ve&amp;nbsp;assigned your SPI flash device with the &amp;#39;nordic,pm-ext-flash&amp;#39; property in your device tree. By default, the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY"&gt;CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt; symbol is set to &amp;#39;y&amp;#39; when this property is set. You can verify this by checking the memory report (&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/memory_report.html?h=memory#how-to-generate-a-memory-report"&gt;link&lt;/a&gt;). However, executing the application directly from a secondary slot in external SPI flash is not possible. The bootloader must copy it to the primary slot before it can be run. The main reason for this is that SPI does not support &lt;a title="Execute in place" href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/qspi.html?cp=4_0_0_6_24_4#execute_in_place"&gt;Execute in place&lt;/a&gt;&amp;nbsp;(XiP) like QSPI. XiP would also negatively impact the processing speed and power consumption.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with Building MCUboot for nRF7002DK Using NCS V2.5.2</title><link>https://devzone.nordicsemi.com/thread/476692?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 19:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec259b42-9df3-4849-94d1-42e7461fae1b</guid><dc:creator>waderq21</dc:creator><description>&lt;p&gt;Is it possible to place image-1 into the mx25r64 and boot from it over the SPI interface?&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/delete-node/ &amp;amp;slot0_partition;
/delete-node/ &amp;amp;slot0_ns_partition;
/delete-node/ &amp;amp;slot1_partition;
/delete-node/ &amp;amp;slot1_ns_partition;
/delete-node/ &amp;amp;scratch_partition;
/delete-node/ &amp;amp;storage_partition;

&amp;amp;flash0 {
	partitions {
		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt;0x000000000 0x00010000&amp;gt;;
		};
		slot0_partition: partition@10000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0x00010000 0x000e8000&amp;gt;;
		};
	};
};

&amp;amp;mx25r64 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		slot1_partition: partition@0 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt;0x000000000 0x0000e8000&amp;gt;;
		};
	};
};

/ {
    chosen {
        nordic,pm-ext-flash = &amp;amp;mx25r64;
    };
};
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I was able to use your repo example with the cdc to write an image over to it.&lt;br /&gt;&lt;br /&gt;mcumgr list:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;➜  ~ mcumgr --conntype serial --connstring &amp;quot;&amp;lt;port&amp;gt;,baud=115200&amp;quot; image list
Images:
 image=0 slot=0
    version: 0.0.0
    bootable: true
    flags: active confirmed
    hash: e8c0528e4782d4a95a60bc3235231886731da18af2bd6c15dfe8672c56d0396d
 image=0 slot=1
    version: 0.0.0
    bootable: true
    flags: pending
    hash: 157b9ea327e5418e79b28691967ed22259305b7a600eb707eba0c62b2bd9a299
Split status: N/A (0)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If I try to test it however it gets marked as pending but won&amp;#39;t boot into it.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;➜  ~ mcumgr --conntype serial --connstring &amp;quot;&amp;lt;port&amp;gt;,baud=115200&amp;quot; image test 157b9ea327e5418e79b28691967ed22259305b7a600eb707eba0c62b2bd9a299&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My application is unfortunately too big to place two of them together, and with the QSQI being used for the 7002 the SPI is my last resort.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Waderq21&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with Building MCUboot for nRF7002DK Using NCS V2.5.2</title><link>https://devzone.nordicsemi.com/thread/468382?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 11:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d7f6c25-05a8-4dd0-b7b7-144bb4ebece0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The problem&amp;nbsp;appears to be that &amp;#39;CONFIG_MULTITHREADING&amp;#39; and &amp;#39;CONFIG_SPI_NOR&amp;#39; is not enabled for the MCUBoot build. To fix this, you can create a folder named &amp;#39;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrf/config_and_build/multi_image.html#permanent-configuration-changes-to-child-images"&gt;child_image&lt;/a&gt;&amp;#39; in your project and add the neccessary Kconfig&amp;nbsp;file for the bootloader. Attached is an example which enables these symbols for the bootloader.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/smp_5F00_svr_5F00_7000dk.zip"&gt;devzone.nordicsemi.com/.../smp_5F00_svr_5F00_7000dk.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>