<?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>Static partition manager with Mcuboot and Sysbuild</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118453/static-partition-manager-with-mcuboot-and-sysbuild</link><description>Hello! I am developing an application under the SDK V2.9.0. Now I am trying to set up a simple project with a sysbuild, Mcuboot and a partition manager. Here is the file tree of the project: 
 
 sysbuild.conf has the following lines: 
 
 prj.conf has</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Feb 2025 13:52:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118453/static-partition-manager-with-mcuboot-and-sysbuild" /><item><title>RE: Static partition manager with Mcuboot and Sysbuild</title><link>https://devzone.nordicsemi.com/thread/521957?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 13:52:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd0544cb-b2e2-425d-a1aa-1fd1d1cae598</guid><dc:creator>DmytroSes</dc:creator><description>&lt;p&gt;I have checked the files you had provided and was able to successfully compile and run my code. I have adjusted the pm_static.yml and added the following to my overlay file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;cpuapp_rram {
    reg = &amp;lt; 0x0 DT_SIZE_K(1524) &amp;gt;;
};

&amp;amp;cpuapp_sram { //! Without this the only 188Kb of RAM is available
	reg = &amp;lt;0x20000000 DT_SIZE_K(256)&amp;gt;;
	ranges = &amp;lt;0x0 0x20000000 DT_SIZE_K(256)&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There is also some amount of RAM reserved for the cpuflpr by default (in the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/1f8f3dc291420c70cd39e77a5cdc954561d4a08f/dts/common/nordic/nrf54l15.dtsi#L9" rel="noopener noreferrer" target="_blank"&gt;nrf54l15.dtsi&lt;/a&gt;). So that should be modified to, if you don&amp;#39;t use the co-processor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static partition manager with Mcuboot and Sysbuild</title><link>https://devzone.nordicsemi.com/thread/521812?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2025 20:06:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f772753-f21a-4c3a-8a90-085bf93bbe06</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DmytroSes,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You are right.&amp;nbsp;If I have to guess, the reason is that the&amp;nbsp;Partition Manager was made a while ago, before the need to share RRAM&amp;nbsp;between two cores. This need only&amp;nbsp;arose recently with the release of the nRF54L series.&lt;/p&gt;
&lt;p&gt;I will leave a word with our R&amp;amp;D and documentation team to resolve this conflicting information in the next SDK release.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static partition manager with Mcuboot and Sysbuild</title><link>https://devzone.nordicsemi.com/thread/521525?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 11:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e188f652-f685-4fe5-9d4c-2482477b5465</guid><dc:creator>DmytroSes</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;Thanks for the reply. I will try it later and will tell the result.&lt;/p&gt;
&lt;p&gt;It is a bit confusing, that you need to adjust the DeviceTree as well. In the documentation it is said:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When you build a multi-image application using the Partition Manager, the devicetree source flash partitions are ignored.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So I thought, you do nothing in DeviceTree, when you use the Partition Manager.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static partition manager with Mcuboot and Sysbuild</title><link>https://devzone.nordicsemi.com/thread/521518?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 11:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ae39ab-a7af-4a9a-bbff-0cda418ccab0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DmytroSes,&lt;/p&gt;
&lt;p&gt;Thank you for the patience. Sorry I am a little late. I ended up being unexpectedly&amp;nbsp;out of office.&lt;/p&gt;
&lt;p&gt;The problem with the nRF Desktop pm_static.yml turns out to be that it uses the entire RRAM of the nRF54L15.&amp;nbsp;Meanwhile, by default,&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs2/dts/common/nordic/nrf54l15.dtsi#L27-L29"&gt;a portion of the RRAM is reserved for the FLPR core&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You need to overlay the DeviceTree to give the entire RRAM to cpuapp like done in nRF Desktop:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.0/applications/nrf_desktop/configuration/nrf54l15dk_nrf54l15_cpuapp/app_common.dtsi#L7-L10"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.9.0/applications/nrf_desktop/configuration/nrf54l15dk_nrf54l15_cpuapp/app_common.dtsi#L7-L10&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However, that&amp;nbsp;alone will eventually lead to another build failure. The nRF Desktop application &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.0/applications/nrf_desktop/configuration/nrf54l15dk_nrf54l15_cpuapp/images/mcuboot/prj.conf#L19-L35"&gt;optimizes MCUboot memory footprint&lt;/a&gt; and&amp;nbsp;allocates&amp;nbsp;a smaller region for it. You will have to either make the same optimization or adjust the partitioning to give MCUboot more space.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static partition manager with Mcuboot and Sysbuild</title><link>https://devzone.nordicsemi.com/thread/520787?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 21:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e154ff4-732e-42df-9c9c-86938b8cd7c2</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;DmytroSes,&lt;/p&gt;
&lt;p&gt;I can reproduce your issue. The same pm_static.yml seems to work for the nRF Desktop app, but not the setup I created from the Hello World sample.&lt;/p&gt;
&lt;p&gt;I will look into it and follow-up with you early next week.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>