<?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>nRF52840 mcuboot application configuration issues.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112010/nrf52840-mcuboot-application-configuration-issues</link><description>Hello! 
 I am having issues configuring a signed application, is there any way to build a signed application for the mcuboot bootloader without building the mcuboot alongside the application? 
 Building an application takes ages and the build process</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jun 2024 12:59:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112010/nrf52840-mcuboot-application-configuration-issues" /><item><title>RE: nRF52840 mcuboot application configuration issues.</title><link>https://devzone.nordicsemi.com/thread/489971?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 12:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9649019-0e3e-45c4-9c4a-037af4e0e538</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I see. Maybe the most functional would then be to make a script that modifies mcuboots conf file somewhat automatically? Though maybe the easiest would be to&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/b7c6830a6180aeb33d54f4b1d98ae060c3bf9dd2/modules/mcuboot/CMakeLists.txt#L234"&gt;change the path to MCUBoot here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 mcuboot application configuration issues.</title><link>https://devzone.nordicsemi.com/thread/489256?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 10:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aeb1c15-c790-4565-89b6-375796c4dcb1</guid><dc:creator>Lassdi</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m building a custom board that would have to be programmable by other people who are not as comfortable with nRF, the whole process would have to be &amp;quot;plug and play&amp;quot;.&lt;/p&gt;
&lt;p&gt;The issue is that when building programs for the device as it is currently, you have to modify the prj.conf file of mcuboot in &amp;quot;C:\ncs\v2.6.1\bootloader\mcuboot\boot\zephyr&amp;quot; to match the prj.conf file of the current project because mcuboot gets built with the application.&lt;/p&gt;
&lt;p&gt;I need the build process to be as simple as possible so I would like to skip building the mcuboot entirely so you wouldn&amp;#39;t have to modify anything except the current project file.&lt;/p&gt;
&lt;p&gt;Alternatively, the option to specify the mcuboot folder location could be enough as I could have a ready-made mcuboot configuration to use with the project. However, it seems the build process automatically looks for mcuboot in the ncs directory.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Lassdi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 mcuboot application configuration issues.</title><link>https://devzone.nordicsemi.com/thread/489118?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 13:20:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54e2ae6-7ad2-4b16-b46a-4c8c9f05c878</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again, hope you&amp;#39;ve had a good week-end!&lt;/p&gt;
[quote user=""]&lt;p&gt;Building an application takes ages and the build process includes building a version of mcuboot, is there a way to build the application without the bootloader and sign it, or would I have to build the application and use a separate signing process? Or is building the bootloader a mandatory part of building a signed/bootloadable application?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Is the main issue that it takes too long to build everything? In that case have you also considered making an antivirus exception for the folder you are building in. I hear that the antivirus is typically checking every file that is being created there, which means that you can get huge&amp;nbsp;reductions in buildtime if you make an exception for it there.&lt;/p&gt;
&lt;p&gt;Though when it comes to how to build without the bootloader alongside the application, you can do this, though I do not think there is a config for it.&lt;/p&gt;
&lt;p&gt;If you try building a sample with CONFIG_BOOTLOADER_MCUBOOT along with a lot of logging (ie. west -vvv build -p -b nrf52840dk_nrf52840) you&amp;#39;ll find the last steps in the build procedure, related to signing etc. You can have a look at the steps and commands being run, and do that manually instead.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 mcuboot application configuration issues.</title><link>https://devzone.nordicsemi.com/thread/488678?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 12:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e620fd9-cf9c-4944-965d-f836e6ee7984</guid><dc:creator>Lassdi</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;My version is 2.6.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 mcuboot application configuration issues.</title><link>https://devzone.nordicsemi.com/thread/488536?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b874dccf-a99a-4665-a500-bfc28bf75bd5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am looking into it. What NCS version are you using btw?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>