<?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>How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97315/how-to-reference-pm-generated-partitions-from-device-tree</link><description>I&amp;#39;m trying to set up a FAT FS on external flash on the 5340 DK. It looks like the correct way to do this is to include a &amp;quot;zephyr,flash-disk&amp;quot; compat disk in my device tree, like this: 
 
 
 
 Unfortunately, this doesn&amp;#39;t work as my mutli-image build partitioning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2023 09:59:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97315/how-to-reference-pm-generated-partitions-from-device-tree" /><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/426828?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 09:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31dc55fc-407d-48ff-aeda-73757a0191fa</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;For reference, please have a look at&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#partition-manager"&gt;partition manager&lt;/a&gt;&amp;nbsp;documentation. Partition manager supports partitions in external flash memory using&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#regions"&gt;regions&lt;/a&gt;. For more information about partitions in external flash, please refer to&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions"&gt;external flash memory partitions&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/424976?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 22:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38b1a041-34df-4a54-b87e-942f12c1c9ec</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I don&amp;rsquo;t think so but I&amp;rsquo;ll go back and look when I get a second. I ended up abandoning that feature for now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/424975?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 22:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d039c25-02f7-425a-ab8e-9f0fe3223183</guid><dc:creator>grant.r</dc:creator><description>&lt;p&gt;Hi, we are keen on getting an answer to the same question.&lt;/p&gt;
&lt;p&gt;Did you find a solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/414366?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 12:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af70a3f-d0b7-4761-92e9-13166425c7e1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide your devicetree, prj.conf and overlay files?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/414124?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 12:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd052fb5-7126-49ae-80c1-0fe81854e91c</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I don&amp;rsquo;t want to use a SD card. Are you saying there is no way to reference PM generated partitions from the device tree? &amp;nbsp;If you don&amp;rsquo;t know the answer, please consider reassigning this to someone who may be able to help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/414046?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 09:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66eaae3e-e837-4514-bfa6-61bd8ddf2c8e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can have a look at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/fs/fat_fs/README.html"&gt;FAT File System sample application&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/storage/disk/access.html#disk-access-api"&gt;disk access&lt;/a&gt;. For these samples documentation requires SD card support and microSD card formatted with FAT filesystem. In the build section of FAT filesystem sample application, you can read which boards are supported and that nrf5340 is not one of them.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/413847?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 13:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8debff9f-6a20-4124-a84f-1cbfdfec2e02</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;This is the latest version - 2.3.0.&amp;nbsp; This snippet is present in several different samples, including the Zephyr mass storage sample.&amp;nbsp;&amp;nbsp;As I said in my question, the build target is the 5340 DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/413798?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 11:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc3d34e7-4436-4c12-a0c9-a83378b32a77</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Which NCS version do you use?&lt;br /&gt;&lt;br /&gt;Which sample do you use?&lt;br /&gt;&lt;br /&gt;What is your build target?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/413640?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 20:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e50c048-5b44-4338-954d-53c78f725ca6</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Sorry, it is NOR flash, I just ripped this from the example and that&amp;#39;s just the name.&amp;nbsp; It didn&amp;#39;t occur to me to update it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reference PM generated partitions from device tree?</title><link>https://devzone.nordicsemi.com/thread/413586?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 14:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69502b86-74d2-4cd4-a52d-964be452b696</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Is there any particular reason why you decided to use NAND flash?&lt;br /&gt;&lt;br /&gt;It would be recommended that you replace your flash with NOR flash.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>