<?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>Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73028/immutable-bootloader-minimal-config-does-not-fit</link><description>I noticed the minimal b0 immutable bootloader build does not fit anymore. 
 I used the example here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bootloader/README.html 
 And the same one is here, btw: https://developer.nordicsemi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 May 2021 11:55:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73028/immutable-bootloader-minimal-config-does-not-fit" /><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/312352?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 11:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0677ce0f-a822-411e-8901-69814a3d61f1</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Here is a PR adressing this issue:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/4662/commits"&gt;https://github.com/nrfconnect/sdk-nrf/pull/4662/commits&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/302710?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 11:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e980f113-6cf0-47a9-a810-36b69f12191b</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Thanks, much appreciated!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/302565?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 11:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c2397f7-e578-46f4-8160-c9685ec2ed7d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Thanks for reporting it, and sorry for being too quick to answer initially. An internal ticket is created and hopefully a fix will get applied soon. It&amp;#39;s currently easter vacation in Norway, so it may be not be until after easter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/302551?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 11:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cfdf1e2-e8b2-4dcf-96ae-094f9567e828</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;yes, that&amp;#39;s what I did over here. But I though it would be nice if the example compiled as expected, which is why I reported the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/302444?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 16:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10671ed9-079c-46f0-844d-a44bb6ab8f3d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got told that the solution was to give b0 more space. Hopefully a fix will get merged into NCS master soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/302436?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 15:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8221ce75-b163-453b-8466-696b1bb6a19b</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Thanks, that is exactly the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/302380?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 13:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc690a71-d64e-46b0-bd23-b11b58fdb0ba</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;ve forwarded this internally. I&amp;#39;ll keep you updated.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;&lt;span&gt;CONFIG_B0_MIN_PARTITION_SIZE is set to &amp;#39;n&amp;#39; in &lt;em&gt;nrf/samples/bootloader/prj_minimal.conf&amp;nbsp;&lt;/em&gt;the sample builds with the following command:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf52840dk_nrf52840 zephyr/samples/hello_world --  DCONFIG_SECURE_BOOT=y -Db0_CONF_FILE=prj_minimal.conf&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I set&amp;nbsp;CONFIG_B0_MIN_PARTITION_SIZE back to &amp;#39;y&amp;#39;, the sample fails with the above command.&lt;/span&gt;&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: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/301430?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 13:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b089dacd-dbdc-42b8-925a-2528cf00a62d</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;That shrinks the bootloader using&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;prj.conf&lt;/span&gt; a bit indeed, but when using &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;prj_minimal.conf&lt;/span&gt;, (which my question is about)&lt;br /&gt; the partition size is not 0x7000 at all, but 12kB (0x3000), since it sets&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_B0_MIN_PARTITION_SIZE=y.&lt;/span&gt;&lt;br /&gt;Also,&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_TIMEOUT_64BIT=n&lt;/span&gt;&amp;nbsp;is already configured that way when using&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;prj_minimal.conf&lt;/span&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Immutable bootloader minimal config does not fit</title><link>https://devzone.nordicsemi.com/thread/301427?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 12:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dc32f76-d1aa-43df-8e5e-2d241bad028a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;There seems to be some problems regarding the secure bootloader and the nrf52840 particurlarly, check out this commit:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/2c2d619e69ceeb5db52606df12215c5fcd48993f"&gt;https://github.com/nrfconnect/sdk-nrf/commit/2c2d619e69ceeb5db52606df12215c5fcd48993f&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I was able to bulid using this command however:&amp;nbsp;&lt;code&gt;&lt;span&gt;west build -b nrf52840dk_nrf52840 zephyr/samples/hello_world -- -DCONFIG_SECURE_BOOT=y&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>