<?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>Partition Manager and device tree partitions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112101/partition-manager-and-device-tree-partitions</link><description>This is a continuation of this question . It may be necessary reading to understand the context. 
 
 I &amp;#39;m confused by this topic too, however I think the error about &amp;quot;boot_partition&amp;quot; may have gone away? In Nov 2022, shortly before the OP, there were a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2024 08:59:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112101/partition-manager-and-device-tree-partitions" /><item><title>RE: Partition Manager and device tree partitions</title><link>https://devzone.nordicsemi.com/thread/503373?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 08:59:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3bd9600-5524-451b-9823-fbfcfc96598a</guid><dc:creator>Udi Vahaba</dc:creator><description>&lt;p&gt;Hello, i&amp;#39;m facing the same issue.&lt;br /&gt;when using the&amp;nbsp;CONFIG_PARTITION_MANAGER_ENABLED=y i can see that the partitions are generated dynamically.&lt;br /&gt;so i tried to remove from my dts the fixed partitions:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;flash0 {

	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt; 0x0 0xc000 &amp;gt;;
		};
		slot0_partition: partition@c000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt; 0xc000 0x76000 &amp;gt;;
		};
		slot1_partition: partition@82000 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt; 0x82000 0x76000 &amp;gt;;
		};
		storage_partition: partition@f8000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt; 0xf8000 0x8000 &amp;gt;;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I tried to delete the whole node, and also the&amp;nbsp;partitions sub-node. both ways make the build to fail.&lt;/p&gt;
&lt;p&gt;It is not making sense to keep them in the DTS if they are generated with the partition manager..&lt;br /&gt;so is there a way to remove them from the dts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager and device tree partitions</title><link>https://devzone.nordicsemi.com/thread/488936?ContentTypeID=1</link><pubDate>Sat, 15 Jun 2024 01:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f64470-1268-4c2a-b295-8bd068d7b39d</guid><dc:creator>liteyear</dc:creator><description>&lt;p&gt;Okay thanks. I still get occasional build errors complaining about missing partitions like &amp;quot;slot0_partition&amp;quot;, now that I&amp;#39;ve stripped out fixed-partitions, but they always turn out to be a KConfig issue, not DT. So I suppose it makes sense the references will remain, even in the scenarios where the DT definitions aren&amp;#39;t required.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager and device tree partitions</title><link>https://devzone.nordicsemi.com/thread/488881?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 13:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b6bb4cf-5393-426c-9377-d0edad577386</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I understand the confusion. I hope this is something we will be able to address in the not too distant future by aligning on a common solution for upstream Zephyr and our nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;In the nRF Connect SDK, the multi-image build feature requires the use of the partition manager, but the multi-image support with parent/child images is currently being replaced by the Sysbuild feature from upstream. The partition manager allows the memory layout to be controlled dynamically based on what is enabled by the parent image (bootloader, settings storage, etc.). Before Sysbuild (a multi-image build equivalent) was introduced in Zephyr upstream, you would have to build firmware images such as MCUBoot separately.&lt;/p&gt;
[quote user=""]&lt;span&gt;As far as I can tell now (at least since ncs v2.5.2), if MCUBoot is enabled with&amp;nbsp;CONFIG_BOOTLOADER_MCUBOOT, the build becomes a &amp;quot;Multi-image build&amp;quot;. That&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#partition-manager"&gt;enables&lt;/a&gt;&lt;span&gt;&amp;nbsp;Partition Manager, which makes fixed-partitions in the DTS&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/97256/mcuboot-zephyr-and-static-partition-manager/413520"&gt;irrelevant&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;[/quote]
&lt;p&gt;This is correct. The project will become a multi-image project when enabling child images. For instance, when you enable MCUBoot, or Bluetooth. With Bluetooth enabled, the Bluetooth controller FW for the network core will also be automatically included as a child-image.&lt;/p&gt;
[quote user=""]incorrect. So which is it? Does MCUBoot make fixed-partitions necessary, or unnecessary?[/quote]
&lt;p&gt;The DT would still be relevant if you built the MCUBoot project separetly instead of building it as a child-image to your parent applicaiton.&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>