<?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>Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128298/clarification-on-migrating-from-partition-manager-to-devicetree</link><description>Hi, 
 I have a couple of questions on migrating from Partition Manager to Devicetree since a particular example was not provided. Following the procedure in the SDK v3.3.0 release notes, an nrf52840dongle_nrf52840.overlay was created by pm_to_dts.py as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jun 2026 00:16:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128298/clarification-on-migrating-from-partition-manager-to-devicetree" /><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/568276?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2026 00:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d48da2ba-2767-4a9f-937b-ea6ff2cb529b</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Thanks for all your help Simon.&amp;nbsp; I appreciate it very much.&lt;/p&gt;
&lt;p&gt;Have a great day,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/568254?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2026 12:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ed0f6c-77aa-4456-a265-ae14ec1e153e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Sorry Ken, you&amp;#39;re right. Sloppy math on my end.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. All addresses from 0x000E0000-0x00100000 are taken by the USB bootloader (including the bootloader settings page and MBR parameter storage). This is also stated in the Dongle Programming tutorial for reference, so these can not be used as storage.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/568215?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2026 14:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:185f3206-3c49-46c8-82aa-5dc1048e7eb0</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi SImonr,&lt;/p&gt;
&lt;p&gt;On your point 2. above: 1MB of flash = 1024kB which is actually 1048576 bytes of flash ranging from address 0x00000000 to 0x000FFFFF.&amp;nbsp; Therefore, I think there are two flash pages missing from the partitioning&amp;nbsp;and comments in the&amp;nbsp;nrf52840dongle_nrf52840.dts file.&lt;/p&gt;
&lt;table width="319" height="190"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0x00000&lt;/td&gt;
&lt;td&gt;0x00FFF&lt;/td&gt;
&lt;td&gt;MBR&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0x01000&lt;/td&gt;
&lt;td&gt;0x0FFFF&lt;/td&gt;
&lt;td&gt;BOOT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0x10000&lt;/td&gt;
&lt;td&gt;0x75FFF&lt;/td&gt;
&lt;td&gt;SLOT 0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0x76000&lt;/td&gt;
&lt;td&gt;0xDBFFF&lt;/td&gt;
&lt;td&gt;SLOT 1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0xDC000&lt;/td&gt;
&lt;td&gt;0xDFFFF&lt;/td&gt;
&lt;td&gt;STORAGE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0xE0000&lt;/td&gt;
&lt;td&gt;0xFBFFF&lt;/td&gt;
&lt;td&gt;USB BOOTLOADER&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style="background-color:#ffff99;"&gt;0xFC000&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="background-color:#ffff99;"&gt;0xFCFFF&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="background-color:#ffff99;"&gt;?&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style="background-color:#ffff99;"&gt;0xFD000&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="background-color:#ffff99;"&gt;0xFDFFF&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="background-color:#ffff99;"&gt;?&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0xFE000&lt;/td&gt;
&lt;td&gt;0xFEFFF&lt;/td&gt;
&lt;td&gt;SECOND TO LAST PAGE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0xFF000&lt;/td&gt;
&lt;td&gt;0xFFFFF&lt;/td&gt;
&lt;td&gt;LAST PAGE&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;One of your customers might be in need of those 8k bytes of flash.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;nbsp; Maybe those pages are actually in use by the USB boot loader.&amp;nbsp; It is possible I&amp;#39;m missing something or my math is wrong.&amp;nbsp; Perhaps another engineer can check us on this?&lt;/p&gt;
&lt;p&gt;I will try to see if I can get blinky to build without the partition manager and let you know what happens.&amp;nbsp; ...As of nRF Connect for VS Code v2026.6.2060, it will build without error with a sysbuild.conf file with SB_CONFIG_PARTITION_MANAGER=n.&amp;nbsp; I&amp;#39;m happy about that.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/568166?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2026 06:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:225d94d2-a559-4634-8ba8-058de77b9c0d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again Ken&lt;/p&gt;
&lt;p&gt;1. I don&amp;#39;t have a good answer with reasoning for you here, as this is a design choice on our end.&lt;/p&gt;
&lt;p&gt;2. These page addresses are beyond the 1024 kB of data, so I don&amp;#39;t think they are missing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition to following the migration guide, you also need to manually update the flash_layout.h as well. Please refer to this commit:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/e542188ce9c07e89d5d47791ea92a539eb38ab40#diff-a8ef76e5ec93e0a45b8e73ab1aa110c47567fec2bc51166ffb5fb4426e94f7a2R13"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/e542188ce9c07e89d5d47791ea92a539eb38ab40#diff-a8ef76e5ec93e0a45b8e73ab1aa110c47567fec2bc51166ffb5fb4426e94f7a2R13&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/568153?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2026 20:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3997ce76-f74d-499f-81ef-1418029eaf00</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Thanks for getting back to me.&amp;nbsp; It&amp;#39;s summer and many people are on holiday.&amp;nbsp; The remaining questions I have regarding the default nrf52840dongle_nrf52840.dts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Why not list the partitions used for the MBR, USB bootloader, and last and second to last flash pages like the other partitions listed rather than only making this visible in the comments?&amp;nbsp; I think they can be specified as read only if needed.&lt;/li&gt;
&lt;li&gt;There are 2 pages of flash not accounted for in that file, specifically bytes at address 0x000FC000 through 0x000FDFFF.&amp;nbsp; Should this be corrected in the file?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Also, I have not been able to build my application successfully with the Partition Manager disabled within nRF Connect for VS Code.&amp;nbsp; So, taking the Nordic blinky example, which still uses the Partition Manager in V3.3.0, how would I disable it and successfully build?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/567900?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2026 07:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b8c4d93-5d25-492b-b630-23f8cb06c8b9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Just to give you an update. There is no reason to think any big changes will come to the current version of the nrf52840dongle board file. The latest updated version of the file can be found here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840.dts"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840.dts&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t guarantee there won&amp;#39;t be changes in the future, but per now, there are no plans of that at least, and this is the file you should refer to when migrating to a new SDK version.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/567810?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2026 10:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07b6a4a1-d876-460a-bb41-ff4c53fcf5ab</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Kenneth&lt;/p&gt;
&lt;p&gt;If your project is running on the nRF52840 Dongle, I&amp;#39;d recommend you use the default board/.dts file from the SDK version you&amp;#39;re using after a merge. The python script doesn&amp;#39;t seem to have made separate partitions for the MBR, Bootloader, and slot partitions.&lt;/p&gt;
&lt;p&gt;The built in USB bootloader is indeed not part of MCUBoot, please see the Dongle documentation for more information on that.&lt;/p&gt;
&lt;p&gt;We will also be getting back to you on the questions Maria is looking into.&lt;/p&gt;
&lt;p&gt;For your last question, there are no planse to change the Dongle DTS files further AFAIK. Do you see any reason they should be changed?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/567433?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2026 00:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce9b59a-ff82-4ebb-8c9e-7259938f2bd4</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;And also, don&amp;#39;t forget the question regarding default partitioning in the nrf52840dongle_nrf52840.dts.&amp;nbsp; Are these going to change, and if so, to what.&amp;nbsp; The&amp;nbsp; nrf52840 Dongle and DK would be good examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/567302?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2026 21:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55ccbeb6-a56d-407d-b494-196d4359a6c8</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&amp;nbsp; However, regarding my first question on the content of the overlay created by the python script and the default nRF52840 Dongle partitioning.&amp;nbsp; What should I end up with as a merged version of these partitions?&lt;/p&gt;
&lt;p&gt;After more research on the topic, I think that any Zephyr device tree partitioning for a nRF52840 Dongle would have to do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reserve flash address 0x00000000 to 0x00000FFF for the MBR (as shown in the python script output)&lt;/li&gt;
&lt;li&gt;Reserve flash address 0x000E0000 to 0x000FDFFF for the built in USB bootloader.&amp;nbsp; (This assumes that one would want to retain the factory programming of the device)&amp;nbsp; This address range is different in size from what the&amp;nbsp;..\v3.3.0\zephyr\boards\nordic\nrf52840dongle\nrf52840dongle_nrf52840.dts comments indicate.&amp;nbsp; That would be address 0x000E0000 to 0x000FBFFF.&amp;nbsp; Which is correct?&amp;nbsp; Also, what is the &amp;quot;built in USB bootloader&amp;quot;?&amp;nbsp; I don&amp;#39;t think it is a part of MCUboot.&amp;nbsp; I can&amp;#39;t find any specific documentation at Nordic describing it.&amp;nbsp; Is there something you can point to?&lt;/li&gt;
&lt;li&gt;What is going on in the topmost flash addresses:&amp;nbsp; 0x000FE000 or FC000 through 0x000FFFFF?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I hope you can answer these questions.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clarification on migrating from Partition Manager to Devicetree</title><link>https://devzone.nordicsemi.com/thread/567229?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2026 16:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d2bf7b7-cf75-4cfd-a4d4-4a2373989baf</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Ken,&lt;/p&gt;
[quote user=""]Will the default nrf52840dongle_nrf52840.dts in future versions of the SDK be modified for this partitioning?[/quote]
&lt;p&gt;I&amp;#39;ll check this internally and get back to you.&lt;/p&gt;
[quote user=""]How and where should I set&amp;nbsp;&lt;span&gt;CONFIG_PARTITION_MANAGER_ENABLED&lt;/span&gt;&lt;span&gt;=n ?&amp;nbsp; I thought .config.sysbuild is generated by the SDK and should not be directly modified.&lt;/span&gt;[/quote]
&lt;p&gt;You can set it in the sysbuild.conf for you application, or pass it as an extra CMake option like described in step 7 here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_partitions.html#migrate_your_project_to_dts-partitioning"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_partitions.html#migrate_your_project_to_dts-partitioning&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -p \
  -b &amp;lt;board_target&amp;gt; \
  &amp;lt;app_or_test_path&amp;gt; \
  -- \
  -DSB_CONFIG_PARTITION_MANAGER=n
&lt;/pre&gt;&amp;nbsp;&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></channel></rss>